← ClaudeAtlas

reorganizelisted

SPEC.md §V cluster + renumber + cite-DAG sweep. Operator-triggered manual clarity-shape pass — distinct from /sdd:compact (token reduction). Triggers when operator invokes `/sdd:reorganize` ∨ asks to renumber §V, regroup invariants by topic, ∨ tidy §V order. Phrasings: "/sdd:reorganize", "reorganize the spec", "regroup §V by topic", "renumber invariants", "cluster §V rows", "tidy §V order", "taxonomy pass".
kborovik/pilot-skills · ★ 4 · Testing & QA · score 70
Install: claude install-skill kborovik/pilot-skills
# reorganize — §V cluster + renumber + cite-DAG sweep Operator-triggered clarity-shape pass over SPEC.md §V section. Cadence ≡ at-most once per major epoch (months) — skill body documents intent, ⊥ hard /sdd:check enforcement. Single atomic commit, rollback via `git revert`. ## PREAMBLE `/sdd:reorganize` ≡ state-mutator scoped to SPEC.md ∪ `.claude/spec-clusters.json` ∪ `.claude/spec-renumber-map.json` ∪ cite-DAG sweep targets (PUBLISHED + REPO-LOCAL + SPEC.md internal + `SPEC.archive.md` when ∃). Operator invokes only — ⊥ auto-fire per recipe-step-no-dispatch rule. Owns §V renumber permission carved out of monotonic-id invariant. Distinct concern from /sdd:compact: compact targets token reduction (folds, archives, trims); reorganize targets clarity shape (cluster + renumber). Reorganize ⊥ direct token drop; ⊥ fold rows. Writes serialize main-thread per write-serialize invariant; classification reads delegable to sub-agents. Mutation contract ≡ single commit per atomic-operation discipline; ⊥ partial application. Cite-DAG sweep per cite-resolution invariant runs ∈ same commit. ## LOAD 1. Read `SPEC.md`. Missing → "no spec, nothing to reorganize." Stop. 2. Read `pilot-spec/SPEC-FORMAT.md` ∀ row schema ∧ section catalog. 3. Parse `$ARGUMENTS`: - empty → full cluster + renumber + sweep propose - `--taxonomy-only` → PROPOSE report only, ⊥ mutation (mirrors /sdd:compact `--dry-run`) 4. Discovery probe — repo-agnostic plugin scope per published-scope invariant: - (a