capability-map
Draft a capability map for a repository, a single page that maps the client's domain. It lists every capability with what it owns, the words it uses, its…
от Codeminer42★ 32 звезды на GitHub
Установить capability-map в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Capability map
Drafts docs/capability-map.md, a single page that maps the domain of a project. It lists every capability the system has, what each one owns, which words it uses, and what it is not. People and agents read it to answer "what lives here, and what do we call it?" before opening the code.
An agent doesn't know the client's words. It fills the gap with the most common name it has seen, such as Cart, Asset or User, and that name spreads through the code, the API and the screens. The map gives every session the client's words, and the boundaries between the parts of the system.
This skill drafts; people decide
The two most important things in a capability map come from people, not from the code:
- the language: the words the client uses for its own business;
- the "Is not" lines: where one capability ends and the next begins, as the team understands it.
So the skill does not hand over a finished map. It hands over a draft and a list of questions. Every word the code and the documents disagree on, and every boundary the code doesn't make clear, goes into the questions instead of being settled by the agent.
The skill also:
- fixes nothing. Gaps found while mapping (permissions nobody checks, wrong glossary entries) are recorded, not fixed;
- doesn't commit.
Conventions the map follows
- One page, with a short intro that says what it is and where words and decisions are defined.
- Contexts are
#headings: the large areas of the business, such as Tenancy & access, Fleet or Sales, each with one sentence under it. Three to six is typical. - Capabilities are
##headings with a lowercase-kebab id (access-control,manual-review). The id is also the anchor agents link to. - Every entry has the same fields, in the same order, one line each:
| Field | What it says |
|---|---|
| One line | What the capability is, in one sentence a client would recognize. |
| Language | The words it uses, in the client's terms. Name the states a thing moves through. |
| Owns | The data it owns and the rules it enforces on that data. |
| Contracts | What others use: routes, events, emails, jobs. |
| Who acts | Who can use it, by role or permission, and what checks it. Say when a permission is declared but not checked. |
| Is not | What it doesn't do, and which capability does, by id. |
| Lives in | Where its code is, across every app. |
| Decisions | The ADRs in effect that a change here must respect, by ID, each with a few words. The most binding ten at most; the ADR index holds the rest. |
| State | Built, partial or planned, and the gaps found while mapping it. |
- A capability spans apps. The map follows the domain, not the folders. One capability's entry lists its backend, frontend and admin code together.
- Closing sections, in this order: Declared, not built (permissions, flags or concepts that exist and nothing implements), Where the words still disagree (synonyms and overloaded terms), Seams worth knowing (one rule split across capabilities), and a short How to keep this page true footer.
- The glossary defines words. The map says which capability speaks them. If the project has a glossary, don't copy definitions into the map.
If the project needs different fields (a team restructuring its architecture may want Ports and Today → target), change them, keep them fixed across the page, and change FIELDS in the check to match.
Flow
Track progress with these steps, in order.
1. Detect an existing map
Look before creating anything (skip node_modules, vendor and other dependency folders):
- files:
docs/capability-map.md,*capabilit*,CONTEXT.md,CONTEXT-MAP.md,docs/domain*,UBIQUITOUS_LANGUAGE.md,docs/glossary*; - a glossary or domain section in
AGENTS.md,CLAUDE.md,README.mdorPRODUCT.md; - per-module domain docs (
*/knowledge/spec.md,*/README.mddescribing a bounded context).
What counts as a map: a markdown file whose entries carry the map's fields (**One line:**, **Is not:** or similar). A checker script, an ADR or an agent-instructions section that mentions a map with no such file means the map was intended or lost: continue, carry what they say into the draft, and don't install a second checker in step 9.
A capability map already there: don't replace it. Tell the user where it is and stop, unless they asked to update it. Then follow [Updatin
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/agent-instructions.md
- assets/capability-map.md
- assets/capability-map.sh
- references/subagent-brief.md
FAQ
Что делает скилл capability-map?
Draft a capability map for a repository, a single page that maps the client's domain. It lists every capability with what it owns, the words it uses, its contracts, who acts on it, what it is NOT, where its code lives, the ADRs that bind it and its state, grouped by context. Builds the draft from the client's documents, meeting notes and glossary as well as the code. Keeps the client's words over the code's, records disagreements instead of settling them, and ends with a list of questions for the team and the client. Adds a section with a generated capability table to AGENTS.md or CLAUDE.md, so agents read an entry before changing its code. Offers a check (one bash script) that fails CI on a stale table, a broken entry, or a glossary term no capability speaks. Commits nothing. Use when asked to map the domain, write a capability map, define the ubiquitous language or bounded contexts for agents, or stop agents inventing names for the client's concepts.
Как установить скилл capability-map?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл capability-map запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop 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…
internal-comms
AnthropicA 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…
skill-development
AnthropicThis 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…