chalk-interner
БесплатноБез исполняемых скриптовНе проверенChalk Interner pattern: Ty<I>(I::InternedTy) is the HANDLE; TyKind<I> is the OPEN form; the Interner trait bridges them.
от elasticdotventures★ 15 звёзд на GitHubОб этом скилле
What
The Chalk Interner pattern separates a type handle from its open form using a trait. Ty<I>(I::InternedTy) is the handle; TyKind<I> is the open enum with all variants. The Interner trait bridges them with intern_ty() and ty_data() — consumers only see Ty<I> and call .data(), never choosing the storage strategy. The embedder (rustc or tests) picks arena-interned integers, Box<TyKind>, or Arc.
Mapping to b00t: Ty<I> → Datum<S: DatumStore> handle, TyKind<I> → BootDatum, Interner → DatumStore trait, arena-interned → future irontology graph store, Box strategy → current HashMap<String, BootDatum> (eager), integer index → future SQLite rowid + lazy-load. A Chalk-style abstraction would let future stores be lazy (SQLite, Qdrant) without changing callers. The FOL/Horn clause connection: Chalk compiles Rust trait goals into Prolog-style Horn clauses; b00t's compile_datum_triples → graph_rules::derive → find_adjacent follows the same pattern.
When to Use
Use the Chalk Interner pattern when designing a trait-based abstraction layer over multiple storage backends. Load this skill when working on the DatumStore trait, adding SQLite/Qdrant backends, or understanding how b00t's triple graph relates to type theory.
How
- Define a trait with associated types:
InternedTy(opaque storage) and methodsintern_ty()/ty_data(). - Consumers use the handle type only — they never pick the storage strategy.
- Implement the trait for each storage backend (eager HashMap, lazy SQLite, graph-based).
- The abstraction ensures storage changes do not affect consumers.
Установить chalk-interner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл chalk-interner?
Chalk Interner pattern: Ty<I>(I::InternedTy) is the HANDLE; TyKind<I> is the OPEN form; the Interner trait bridges them.
Как установить скилл chalk-interner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл chalk-interner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic