docs: optimize skill files — dedup prose, add TOCs, sync SPEC mirrors#440
Merged
Conversation
Batch /internal-skill-optimize pass over src/kit/skills/: - Content trims on 16 skills (>=80 lines): replace re-explanation of partial-owned concepts with references, collapse duplicated restatements, dedup error/arg rows. Behavior-preserving. - Add ## Contents TOC to all 23 skill files + 8 partials over 100 lines (incl. git-branch and single-section _intake per the mechanical rule). - SPEC mirrors (verify-then-touch): dated (260620-skop) prose-optimization annotation on each edited skill's SPEC; TOCs added to the 5 SPEC files over 100 lines. No behavioral SPEC sections changed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Batch
/internal-skill-optimizepass oversrc/kit/skills/— condenses skill files by removing prose that re-explains concepts already owned by the shared_*.mdpartials, adds table-of-contents blocks to long files, and keeps everydocs/specs/skills/SPEC-*.mdmirror in sync per the constitution's SPEC-mirror rule. All edits are behavior-preserving: every behavioral step, error case, command invocation, and STOP string survives — fewer words for the same logic.Changes
## Contentsblock to every skill and partial over 100 lines (placement: H1 →_preambleblockquote →## Contents→ first section; headings listed verbatim). Includesgit-branchand the single-section_intakeper the mechanical >100-line rule. All 33 TOCs verified (fence-aware) to match their real##headings.SPEC-*.mdreceived a dated(260620-skop)prose-optimization annotation; the 5 SPEC files over 100 lines also received## Contentsblocks. No SPEC behavior sections (Summary/Flow/Tools/Sub-agents) changed — the edits are behavior-preserving.Notes
src/kit/skills/_cli-fab.mdand_cli-external.mdhave no SPEC mirror (SPEC-_cli-fab.md/SPEC-_cli-external.mddon't exist). TOCs were added to those two partials with no SPEC to update — a pre-existing gap, not introduced here.🤖 Generated with Claude Code