reconcile
БесплатноБез исполняемых скриптовНе проверенReconcile the OKF knowledge bundle (knowledge/) with what a completed code change built, over that change's diff. Use once a change has finished landing — the…
от evist0★ 18 звёзд на GitHubОб этом скилле
Reconcile
A change landed: the code moved, but the OKF bundle (knowledge/) may not have. Reconcile them — bring durable knowledge back into agreement with what was actually built, so the next session starts from a consistent bundle.
This is the writing discipline of the build phase — the mirror of /domain-modeling, which writes the bundle during design. It runs last in the /implement closeout, over the same diff /vet judged, so code and knowledge land in one commit.
Scope
Reconcile against the diff, never the whole bundle. Fixed point is the one /vet used, or one the user supplies: git diff <fixed-point>...HEAD.
Durable knowledge is everything under knowledge/ — the canonical categories glossary/, adr/, and spec/, plus any project-specific concept category registered in knowledge/index.md. Touch a concept only when the diff gives you a reason to.
Process
Reconcile runs in two phases: a sub-agent analyses the diff and applies the mechanical fixes, then the main context does the judgement writes. The split keeps the heavy bundle-searching out of the main context — as /vet does — while leaving the consequential writes where the implementation reasoning lives.
Phase 1 — Analysis (sub-agent)
First write a build-rationale brief for the sub-agent — this is what keeps its classification from being blind. Keep it to a few hundred words:
- Pointers, not copies — the spec/issue reference and the commit list (
git log <fixed-point>..HEAD --oneline). The sub-agent reads these itself; don't paste them. - The unwritten "why" — a short synthesis of the non-obvious decisions made while implementing: the "chose X over Y because…" that lives in no file. This is the only input the sub-agent cannot obtain on its own, and the thing its judgement of unrecorded/violated decisions depends on.
Then spawn one general-purpose sub-agent, passing it: the diff command git diff <fixed-point>...HEAD, the brief, and the Classes table below. Its brief:
Gather candidates — two nets over the diff:
- Referenced — every concept whose
implements:frontmatter or## Implementation mappingpaths intersect a changed file. Grep the bundle for the changed paths. - Unrecorded ground — code built in the diff that no concept references at all. This is where a new decision hides. (Detection is diff-derived and does not depend on the brief; the brief only informs whether the ground is consequential.)
The candidate set is the union. A referenced concept the diff didn't actually affect drops out here.
- Referenced — every concept whose
Classify each candidate against the diff and the brief, using the Classes table. Where you cannot confidently pick one class, do not guess — flag the candidate as ambiguous, carrying both readings. Classifying by guess is the one way this skill does harm: a mislabelled violation gets laundered into the record.
Apply referential fixes itself — fix each reference inline and log them (see Log). This is the only class the sub-agent writes.
Return a proposal — for every contentious candidate (stale / unrecorded / violated): the class, the changed hunk(s), the relevant concept, and the evidence for the class. Do not write these.
Classes
Each candidate's class fixes who is authoritative and what may be written:
| Class | Authoritative | Why |
|---|---|---|
Referential — a mapped path was renamed/moved/deleted, a depends-on link no longer resolves, a lifecycle flag lags reality |
code | the record points at code that no longer exists as written |
| Stale description — the concept's prose describes behaviour the diff legitimately changed | code | the model evolved; the record is behind |
| Unrecorded decision — the diff commits to something hard to reverse, non-obvious, and consequential that no concept holds | the gap | a real decision was made and never written down |
| Violated decision — the diff contradicts an accepted ADR or architecture concept | knowledge | the record is a guard; the code, not the record, is the suspect |
Act on each class:
- Referential → fixed in Phase 1 by the sub-agent (above).
- Stale description → Phase 2: show the rewritten prose for that concept, one concept at a time; write on the user's confirmation.
- Unrecorded decision → Phase 2: propose an ADR or concept, sparingly — only when the decision clears all three of hard-to-reverse, non-obvious, consequential. Write on confirmation. Most changes clear none and record nothing. If the unrecorded ground is a new kind of entity that fits no existing category (
glossary,adr,spec, or a registered one), the extensibility rule applies: propose a new category, get the user's sanction, and register it inknowledge/index.mdbefore writing. Default to the existing categories. - Violated decision → Phase 2: leave the recorded decision exactly as written and surface it as a finding. A live contra
Установить reconcile в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл reconcile?
Reconcile the OKF knowledge bundle (knowledge/) with what a completed code change built, over that change's diff. Use once a change has finished landing — the build closeout, just before committing — or when the user asks to reconcile knowledge against code.
Как установить скилл reconcile?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reconcile запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic