/keel:keel-as-built [area names to review, or 'all']from KEEL
Documents existing code via feature inventory, area map in ARCHITECTURE.md, and SPEC acceptance criteria inferred from code as PROPOSED blocks. Generates a differences and health report. For KEEL projects only.
Ships in KEEL. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Document what the code does now, under KEEL version 2.2.1 (November 12, 2026), https://github.com/rickflashman/keel. Change no code. Do not run tests unless the developer asks.
If the developer gave instructions with the command, such as the areas to review, follow them: $ARGUMENTS
AGENTS.md has an Aligned to KEEL stamp and docs/ARCHITECTURE.md and docs/SPEC.md exist. If not, stop and tell the developer to run keel first.templates/; the standard, including the rules on PROPOSED blocks and the area map, is in references/standard.md.As-built review: A review of existing code, offered after the path for a project with code (see After the path). The developer may decline or choose only some areas. On approval, follow these steps in order:
ARCHITECTURE.md for the confirmed areas: code, entry points, tests, command, dependencies (from imports). Set Confidence to Inferred on every row, and mark the table "Inferred from code, needs developer review".ARCHITECTURE.md content (stack, folders, commands, data model, operations), then stop and report before the next. Use a subagent per area where the tool allows, so the main context stays small. If an area exceeds the budget, set its Confidence to Low and record where reading stopped.SPEC.md is empty or holds only the template, seed it and mark the content "Inferred from code, needs developer review". If SPEC.md has content, write the differences as PROPOSED blocks (see Proposed changes to SPEC and DESIGN). The same applies to DESIGN.md. Never change accepted SPEC or DESIGN text from code.RESEARCH.md; questions go to HANDOFF.md under Waiting. Set the Verified date in ARCHITECTURE.md, and in SPEC.md once the developer has reviewed it.references/reviews.md). Inferred docs are where most conflicts come from. Run the review only if the developer asks for it.Proposed changes to SPEC and DESIGN: The AI never edits accepted text in SPEC.md or DESIGN.md (rule 1). It writes each proposal in the file, next to the text it changes, as a PROPOSED block, never only in chat:
> PROPOSED 2026-10-31 (Claude Code): change AC-3 to allow an empty email.
> Reason: the form now has a guest path. Code: src/forms/signup.js.
A PROPOSED block is not a requirement and not a design. The developer accepts it by applying the edit and deleting the marker, rejects it by deleting the block, or tells the AI to do either. The developer may decide on several blocks at once, for example "accept all PROPOSED blocks in SPEC.md". The developer may also accept the blocks of a ready card together with the card, but only by saying so; approval of the card alone does not accept its blocks. A block is named by its file and the AC ID or heading it changes (SPEC.md AC-3). The AI lists pending blocks in its task summary and, at the next close, in HANDOFF.md under Waiting. No block may remain at a release (rule 6).
This skill is generated from KEEL.md in https://github.com/rickflashman/keel. Do not edit it by hand; change KEEL.md and run python3 build/build.py.
references/migration.md (opens in a new tab)references/reviews.md (opens in a new tab)references/standard.md (opens in a new tab)templates/README.md (opens in a new tab)templates/docs/ARCHITECTURE.template.md (opens in a new tab)templates/docs/HANDOFF.template.md (opens in a new tab)templates/docs/RESEARCH.template.md (opens in a new tab)templates/docs/SPEC.template.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rickflashman/keel --plugin keel6 skills in this plugin
/keelKEEL 2.2.1, the documentation and working standard for AI-developed projects. Sets up, migrates, or upgrades a project's docs (README, SPEC, ARCHITECTURE, PLAN, RELEASE-CHECKLIST, AGENTS.md) and chooses the right path on its own. Use when the developer runs the keel skill (/keel:keel or /keel), says 'apply KEEL', 'set up KEEL', or 'upgrade to the latest KEEL', or is not sure which KEEL task they need. Task skills: keel-init, keel-upgrade, keel-check, keel-as-built, keel-interview./keel-checkKEEL 2.2.1 docs check, drift report, and on-request reviews. Writes or runs the project's docs check script (AGENTS.md size and stamp, handoff size and carried bullets, AC coverage in the release checklist, broken paths and links, unlisted docs, headers, stray doc versions, stale PROPOSED blocks, secrets) and writes the read-only drift report (SPEC with no code, code with no SPEC, ACs with no test, stale doc sections). Only when the developer asks: a cross-compare review of all docs and the code, or a docs cleanup. Use in a KEEL project when the developer runs keel-check (/keel:keel-check or /keel-check), says 'run the docs check', 'run a drift report', 'run a cross-compare review', 'run a docs cleanup', or before a release./keel-initKEEL 2.2.1 new setup: creates the baseline docs for a project that has no documentation yet (README, docs/SPEC, ARCHITECTURE, PLAN, RELEASE-CHECKLIST, AGENTS.md, CLAUDE.md, copilot-instructions) from the KEEL templates, then runs the initialization checklist. Use when the developer runs keel-init (/keel:keel-init or /keel-init) or asks to initialize a new project with KEEL. For a project that already has docs, use keel-upgrade./keel-interviewKEEL 2.2.1 SPEC interview: asks the developer a few questions at a time about the gaps in docs/SPEC.md (edge cases, non-goals, trade-offs, constraints, glossary terms, acceptance criteria) and writes the answers as PROPOSED blocks for acceptance. Use in a KEEL project when the developer runs keel-interview (/keel:keel-interview or /keel-interview), asks to interview them about the spec, or wants to fill the gaps in SPEC.md./keel-upgradeKEEL 2.2.1 migration and upgrade: brings an existing project's documentation up to the KEEL standard (inventory, currency, mapping, approval, migrate, archive), upgrades a project on an older KEEL or AI-PROJECT-DOCS-STANDARD version, or switches a project from the KEEL.md file to this skill. Use when the developer runs keel-upgrade (/keel:keel-upgrade or /keel-upgrade), says 'migrate the docs to KEEL', 'upgrade KEEL', or 'switch to the KEEL skill'.Other plugins' skills for the same job