kb
БесплатноБез исполняемых скриптовНе проверенManages the Morphir knowledge base under kb/ — OKF bundles and concept documents. Use when adding content to a bundle, creating a new bundle, checking the…
от finos★ 221 звезда на GitHubОб этом скилле
kb — Morphir Knowledge Base Assistant
Manages kb/, the Open Knowledge Format knowledge base. Bundles live under kb/bundles/, optionally grouped a level
deeper. kb/AGENTS.md is the source of truth for the conventions; this skill automates the
mechanical parts of following them.
The morphir-dev kb command
Everything runs through the kb subcommand of morphir-dev, this repository's internal development tool
(ecosystem/morphir-rust/umbrella-tools/crates/morphir-dev-tools, in the finos/morphir-rust submodule). It was morphir kb in the Rust CLI, which was deleted; the commands are unchanged.
Run it from the repository root as mise run kb -- <subcommand> ... or
cargo run --locked -q --manifest-path ecosystem/morphir-rust/umbrella-tools/Cargo.toml -p morphir-dev-tools -- kb <subcommand> ...;
the examples below write morphir-dev kb for
short. It takes the same subcommands, flags, defaults,
JSON shapes and exit codes as the Scala kb tool from morphir-scala, so a playbook written against that tool runs
here. Where the reference implementation was wrong it is corrected rather than reproduced — a filter you pass is a
filter that applies, and --json means JSON.
morphir-dev kb list
morphir-dev kb check --verbose
Every command accepts --json. Progress output goes to stderr, so --json on stdout is clean and pipeable —
prefer it when you need to consume the result rather than read it.
Full flag reference: → references/commands.md
| Command | Does |
|---|---|
list |
Bundles and their concept counts; --bundle X lists that bundle's concepts |
show --path /x.md |
One document: frontmatter, outbound links, heading outline |
search --query X |
Search titles, descriptions, tags and paths; --body to include prose |
check |
Conformance and provenance findings; non-zero exit on errors |
index |
Builds the SQLite index; --status reports its freshness |
refresh |
Both kinds of derived state; narrow with refresh markdown / refresh db |
query --sql |
Read-only SQL over that index |
sync … |
Mirroring an upstream repository into a bundle — status, pull, push, diff |
intent … |
Intent lifecycle — new, list, show, the transition verbs, check |
decision … |
Decision Records — list, show |
new-bundle |
Scaffolds a bundle with index.md and log.md |
add-concept |
Scaffolds a concept and wires it into the index and log |
When to use what
Adding content to an existing bundle. Run add-concept to create the file and wire it up, then write the body
yourself. The scaffold deliberately leaves a TODO comment rather than plausible-looking prose.
→ references/authoring.md before writing the body.
Writing or reviewing prose. Every concept body is written in one of three registers, chosen by its type:.
The style cards are tool-neutral and live at styles/; voice.md there applies to all registers and
includes the banned-pattern list (no em-dashes, no AI filler), diagrams.md says when a Mermaid diagram or SVG
should replace prose narration of a flow or structure, and altitude.md sizes documents to capability stories:
one narrative-home Design Note per capability in flight, with every fine-grained concept reachable from it.
type: |
Register | Card |
|---|---|---|
| Playbook, tutorial, orientation, guidance | article | styles/article.md |
| Design Note, Decision Record, Intent, synthesis | white-paper | styles/whitepaper.md |
| Reference, Specification Section, Glossary, Data Dictionary, version-pinned notes | reference | styles/reference.md |
Delegate drafting to the kb-writer subagent and review to the kb-reviewer subagent
(.claude/agents/kb-writer.md, kb-reviewer.md), naming the target file and register in the dispatch. Writing
inline is fine for small edits; still apply the cards. Style applies to new and touched content only; do not
sweep existing prose.
Creating a bundle. Run new-bundle, then add it to the Bundles table in kb/README.md and to the group's
README.md if it is in a group. The command reminds you; it does not edit those files, because their wording is a
judgement call.
Checking the knowledge base. Run check. It reports structural problems (missing type, broken links,
unindexed concepts, frontmatter that does not parse) and provenance drift (commit-pinned sources whose reference
checkout has moved on). Nothing here touches the network.
→ references/checks.md for the catalogue and how to fix each finding.
Searching and locating. search scans the markdown and is always current. For anything heavier — full-text
search over bodies, "what links here", orphaned concepts, tag or provenance distributions — build the SQLite index
once and query it.
morphir-dev kb index
morph
Установить kb в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(morphir-dev kb *)Bash(mise run kb *)Bash(cargo run --locked -q --manifest-path ecosystem/morphir-rust/umbrella-tools/Cargo.toml -p morphir-dev-tools -- kb *)Bash(cat *)Bash(ls *)Bash(find *)Bash(git *)ReadEditWriteВложенные файлы
FAQ
Что делает скилл kb?
Manages the Morphir knowledge base under kb/ — OKF bundles and concept documents. Use when adding content to a bundle, creating a new bundle, checking the knowledge base for conformance or provenance drift, building or querying its SQLite index, managing intent through its lifecycle, recording or reading architectural decisions as Decision Records, or navigating, searching and listing its bundles, concepts and links.
Как установить скилл kb?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kb запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic