Логотип Capability Map

Capability Map

Організація
Codeminer42
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.

Огляд

ВидавецьCodeminer42
Репозиторійskills
Назва навичкиcapability-map
Зірки
33
Форки
2
Файли в пакеті
5
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 5

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем Codeminer42. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Capability Map у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до Плагіни → Навички.
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/Codeminer42/skills/tree/main/capability-map
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Codeminer42/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/capability-map .claude/skills/capability-map
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Capability Map в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Capability Map, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Capability Map не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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:
FieldWhat it says
One lineWhat the capability is, in one sentence a client would recognize.
LanguageThe words it uses, in the client's terms. Name the states a thing moves through.
OwnsThe data it owns and the rules it enforces on that data.
ContractsWhat others use: routes, events, emails, jobs.
Who actsWho can use it, by role or permission, and what checks it. Say when a permission is declared but not checked.
Is notWhat it doesn't do, and which capability does, by id.
Lives inWhere its code is, across every app.
DecisionsThe 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.
StateBuilt, 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.md or PRODUCT.md;
  • per-module domain docs (*/knowledge/spec.md, */README.md describing 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 Updating a map.

A glossary or domain doc, but no map: that is the start of the map's language. Continue, and read it in step 3.

2. Ask for the client's sources

The code says what was built and what developers called it. The client's words live elsewhere. Ask the user, with the structured question tool (AskUserQuestion in Claude Code) or in chat, for:

  • the client's documents: product descriptions, proposals, specs, the client's own manuals or site;
  • meeting notes and transcripts from discovery or planning;
  • the people to ask when a word is in dispute.

Accept what the user has. A draft from code and a glossary alone is still useful, but say in the report that its language is the developers', not yet the client's.

Don't send these documents anywhere outside the session. They are the client's.

3. Read the language first

Before reading code, read the sources from step 2, the glossary, PRODUCT.md or equivalent, and the ADRs. Write down:

  • every domain noun and verb the client uses, with the source;
  • the states a thing moves through, in the client's words;
  • the roles and who does what;
  • where the documents use two words for one thing, or one word for two things.

This list is the first draft of every Language line, and of Where the words still disagree.

4. Propose the contexts and capabilities

From the language and a first look at the code (routes, top-level modules, models, permission lists), propose:

  • the contexts, three to six;
  • the capabilities in each, with an id and a one-line description.

Show the list to the user and let them correct it before mapping. If nobody can answer (a run without a user), decide, and put each cut you are unsure of in the questions. A wrong cut here costs every later step. A capability is a part of the business someone could own, not a folder: "membership" and "access-control" can live in the same module and still be two capabilities.

5. Map each capability

When the agent can run subagents, give each one a context, and the brief in references/subagent-brief.md with the language list and the capability list filled in. Each returns one draft entry per capability, with citations.

For every entry:

  • Language uses the client's word. If the code uses another, the client's word goes in the entry, and the pair goes under Where the words still disagree. If the project glossary already settled a word and a client document uses another, keep the glossary's word, which the team agreed, and ask the client.
  • Owns names the tables or stores, and the rules on them: what must always hold, who can change what, the states and their transitions.
  • Who acts checks the server. A permission checked only in the UI protects nothing; say so. A permission declared and seeded but checked nowhere goes under Declared, not built.
  • Is not names the neighbouring capabilities by id. Write it from what the code does, then mark every Is not you are unsure of for the questions list.
  • Decisions cites ADRs that are in effect. A superseded ADR doesn't go in.
  • State says what is missing, as found. Don't fix it.

Check what comes back. Subagents return confident claims, and some are wrong. Before writing the map, open the cited code yourself for:

  • every claim that a check is missing: a permission checked only in the UI, a key checked nowhere, a rule the server doesn't enforce;
  • every gap in State;
  • one Owns rule per capability, picked at random.

Check every path in Lives in and every ADR ID in Decisions with a script: they are cheap to check and embarrassing to get wrong.

6. Write the map

Copy assets/capability-map.md to docs/capability-map.md (or doc/ if the repo has doc/ and no docs/) and fill it in. Keep each field on one line: the check reads them line by line. Subagents tend to return bulleted fields anyway; fold them back into one line.

Keep each line short enough to review in a diff, about 300 characters. In Lives in, name folders, and files only where a capability shares a folder. In Contracts, group routes by prefix.

Write the closing sections from what the mapping found. They are often the most useful part of the page. They show the team where the domain and the code have drifted apart.

If the project has a glossary, every glossary term must appear in some Language line or under Declared, not built. A term that names an app or a surface ("Operator portal", "Admin Portal") goes in the Language line of the capability that owns sign-in to it. Any other term no capability speaks is a sign the glossary or the map is wrong. Put it in the questions.

7. Write the questions

End the report with the questions the draft leaves open. They belong in the description of the pull request that brings the map, so reviewers answer them there:

  • every word in dispute: the code's word, the documents' word, where each appears;
  • every Is not line marked as unsure;
  • every glossary entry the code contradicts (a role that doesn't exist, a concept that works differently);
  • every capability whose boundary you guessed.

Group them by who should answer: the team, or the client.

8. Add the agent-instructions section

Pick the target file:

Repo hasEdit
CLAUDE.md that imports @AGENTS.mdAGENTS.md
only AGENTS.mdAGENTS.md
only CLAUDE.mdCLAUDE.md
both, no import between themask the user which one (or both)
neitherask the user which file to create

Use the file at the repository root. Add assets/agent-instructions.md, replacing the placeholders. If the file ends in blocks a tool generates, insert the section before them.

The section holds a table of every capability with its context and one line, between two markers. Every agent session then knows what exists without loading the whole map. Fill the table by hand now, or let the check generate it in step 9.

9. Offer the check

If the repository already has a checker for the map (step 1), don't add this one. Report the existing one and stop this step.

Otherwise, ask with the question tool whether to add the check. Without a user to ask, add it and say so. Offer:

  • Add the check (Recommended). Name where it would go and run in this project, such as "scripts/capability-map.sh, run as a step in your lint job".
  • Skip it.

Say in one line what it does: it fails CI when the capability table is stale, an entry is missing a field or has them out of order, a heading isn't a capability id, or (with a glossary) a glossary term is spoken by no capability.

If the user wants it:

  1. Copy assets/capability-map.sh to scripts/capability-map.sh (or the repo's script/ or bin/), and chmod +x it.
  2. Set MAP and AGENT_FILE. If the project has a glossary in the - **Term** — definition format, set GLOSSARY_FILE and GLOSSARY_HEADING. If its glossary has another format, leave GLOSSARY_FILE empty and say so in the report. If you changed the fields, change FIELDS.
  3. In a Node project, add "capability-map:check": "bash scripts/capability-map.sh" and "capability-map:fix": "bash scripts/capability-map.sh --fix" to package.json, without overwriting existing keys.
  4. Run it with --fix, then without. It must pass on what this skill wrote. A glossary term it flags goes to the questions, not into a made-up Language line.
  5. Wire it into the project's CI. Find the CI system (.github/workflows/, .gitlab-ci.yml, bitbucket-pipelines.yml, .circleci/config.yml and so on). Read the pipeline and add one step that runs bash scripts/capability-map.sh where its lint-type checks run, in its own style. Watch for paths: filters that skip docs-only changes: the map is a doc, so the check must run on them. Show the user the exact change and confirm it before writing. The check needs only bash and awk, so it needs no setup step.

10. Report

  • every file created or changed;
  • the contexts and capabilities, one line each;
  • what the mapping found: Declared, not built, words in dispute, seams, and gaps in State;
  • the questions from step 7, grouped by who should answer;
  • the sources the language came from, and whether the client's documents were among them;
  • if the check was installed, how to run it and where it runs in CI.

Do not commit.

Updating a map

  • A change that adds a capability, moves code between capabilities, or changes what one owns updates the entry in the same pull request. Check the Is not line first.
  • A new word goes into the glossary first, then into a Language line.
  • A superseded ADR comes off the Decisions line, replaced by the one that superseded it if it still binds.
  • Something declared becomes built: move it from Declared, not built into an entry.
  • Don't rename a capability id casually. Agents and docs link to it. If a rename is right, update every link to it in the same pull request.
  • Run the check with --fix after changing a One line.

Gotchas

  • The code's words are not the client's words. A model named Asset in a business that rents "pods" is a disagreement to record, not the word to use. Customer-facing copy that uses the code's word is worth a question.
  • A folder is not a capability. One module can hold two capabilities, and one capability can span three apps. Map the business, then say where its code lives.
  • Permission lists lie. A permission that is declared, seeded on a role and shown in the UI may be checked nowhere on the server. Mapping one real project found most of its declared permission keys unchecked. Check the server for every Who acts claim.
  • Glossaries drift too. Mapping can show glossary entries for roles that don't exist, or a concept that works differently in the code. Don't fix the glossary silently; put each case in the questions.
  • Overloaded words are the costly ones. One word for two things ("admin" as a panel and as a separate app, "transaction" as a sale and a database transaction) misleads more than two words for one thing. List every one under Where the words still disagree.
  • Keep each field on one line. The check reads fields line by line, and a field that wraps to a second line loses its continuation.
  • Don't put client confidential data in the map. It is about the domain, not the data: no customer names, credentials, internal hostnames or partner names that the client hasn't cleared. "An external manufacturer" says enough.
  • The glossary check proves a term appears, not that it's used right. It matches substrings, ignoring case, so a short term like "Pod" or "Role" passes almost anywhere. Read the Language lines yourself.
  • capability-map.sh must stay portable: bash 3.2 (macOS), POSIX awk (BSD awk on macOS, mawk on Ubuntu), no gawk or GNU-only flags. After changing it, run node --test capability-map/tests/capability-map.test.mjs, once with CAPABILITY_MAP_TEST_BASH=/bin/bash on macOS and once on Linux. Node is only the test runner.
  • CI checks the shape, not the truth. An entry can go stale while CI stays green. Reviewers keep it true, which is why the agent-instructions section asks every boundary-moving change to update its entry.

Further reading

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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...

Навіщо використовувати Capability Map у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Capability Map — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Capability Map у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/Codeminer42/skills/tree/main/capability-map. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Capability Map?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Capability Map?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Capability Map — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Capability Map?

Так. Навичку опубліковано на GitHub: Codeminer42, за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇