← ClaudeAtlas

spec-enforce-aclisted

SDD spec AC quality and splitting enforcement. Runs AC granularity triggers 1-10, run-on safety net, per-AC verbosity cap, Constraints conciseness, actor coherence, sub-bullets ban, splitting by actor/sub-feature/concern, accretion guard, chain enforcement, mechanism leakage. Invoked conditionally by spec-enforce when diff touches any AC bullet OR any Constraints bullet OR scope=all.
nikolanovoselec/codeflare · ★ 24 · AI & Automation · score 71
Install: claude install-skill nikolanovoselec/codeflare
# Spec Enforcement — AC quality and splitting This skill enforces the rules that operate on Acceptance Criteria bullets and REQ-splitting decisions. Invoked by `spec-enforce` (the spine) when the diff touches any AC bullet or when scope=all. ## Inputs - `diff`: git diff against base - `scope`: `all` | `diff` - `mode`: `interactive` | `auto` | `unleashed` - `layout`: `nested` | `flat` (auto-detected by parent `spec-enforce`) **Layout-awareness.** Cross-cutting REQ extraction and new-domain scaffolding paths resolve per the detected layout: - Nested: new domain files land in `sdd/spec/{domain}.md` - Flat: new domain files land in `sdd/{domain}.md` (legacy) The AC granularity rules, splitting mechanics, and accretion guard are layout-invariant; only the target file paths change. ## Output Returns findings array + auto-fix actions (per mode). Writes evidence-count rows back to the spine's manifest: - `Acceptance criteria + AC granularity + REQ accretion guard`: `ran (N REQs, K diff hunks, M findings)` - `Per-AC verbosity + Constraints conciseness`: `ran (N REQs, M findings)` - `Actor coherence`: `ran (N REQs, M findings)` - `Sub-bullets in ACs banned`: `ran (N REQs, M findings)` - `Cross-cutting concerns get own REQ family`: `ran (N REQs, M findings)` - `Concern-boundary split`: `ran (N REQs, M findings)` - `Mechanism leakage in AC bullets`: `ran (N REQs, M findings)` ## Acceptance criteria ### Cap and basic shape - Each AC is **binary pass/fail**, testable in principle