Skip to content

docs: backfill SPEC mirrors for the two CLI partials#441

Merged
sahil-noon merged 1 commit into
mainfrom
docs-cli-partial-specs
Jun 20, 2026
Merged

docs: backfill SPEC mirrors for the two CLI partials#441
sahil-noon merged 1 commit into
mainfrom
docs-cli-partial-specs

Conversation

@sahil-noon

Copy link
Copy Markdown
Collaborator

Summary

Backfills the two missing CLI-partial SPEC mirrors. Every src/kit/skills/*.md file had a docs/specs/skills/SPEC-*.md twin except the two CLI reference partials (_cli-fab.md, _cli-external.md). This adds SPEC-_cli-fab.md and SPEC-_cli-external.md so the constitution's SPEC-mirror rule holds across the whole skills tree. The gap surfaced during the #440 optimization pass, which added ## Contents TOCs to both partials with no mirror to update.

Changes

  • SPEC-_cli-fab.md (new) — mirrors the fab CLI reference partial. Summary frames it as the exhaustive companion to _preamble.md § Common fab Commands; a Command Inventory table mirrors all 23 ## sections (Calling Convention through Common Error Messages); Tools used / Sub-agents are None (a reference catalog, looked up not executed).
  • SPEC-_cli-external.md (new) — mirrors the external-tool reference partial. Command Inventory mirrors all 7 ## sections (Reference Model, wt, idea, hop, tmux, rk, /loop); notes it is operator-only and that _preamble.md § Run-Kit forwards its rk body here.

Both SPECs follow the existing partial-SPEC shape, use a reference-catalog framing instead of a procedural Flow, and are under 100 lines (no TOC needed). The Command Inventory tables were verified to mirror each partial's ## section list exactly.

🤖 Generated with Claude Code

Every src/kit/skills/*.md had a docs/specs/skills/SPEC-*.md twin except
the two CLI reference partials. Backfill SPEC-_cli-fab.md and
SPEC-_cli-external.md so the constitution's SPEC-mirror rule holds across
the whole skills tree (the gap surfaced during the #440 optimization pass,
which added TOCs to both partials with no mirror to update).

Each SPEC follows the partial-SPEC shape (Summary + Command Inventory +
Tools/Sub-agents) with a reference-catalog framing instead of a procedural
Flow. The Command Inventory tables mirror each partial's ## section list
exactly (23 rows for _cli-fab, 7 for _cli-external).
@sahil-noon sahil-noon marked this pull request as ready for review June 20, 2026 13:59
@sahil-noon sahil-noon merged commit 5d0548e into main Jun 20, 2026
3 checks passed
@sahil-noon sahil-noon deleted the docs-cli-partial-specs branch June 20, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants