← ClaudeAtlas

spec-enforcelisted

SDD spec enforcement orchestrator — the canonical cross-agent contract. Runs the 24-row execution manifest against the current diff (or full spec on scope=all). Detects forbidden content, REQ-shape violations, status drift, meta-leakage, changelog drift, backlog state, source-anchor truth-check (CQ-SOURCE — always runs), and per-AC test-anchor coverage at parity with source anchors (CQ-TEST — gated by enforce_tdd). Conditionally invokes spec-enforce-ac (when ACs touched) and spec-enforce-truth (when Implemented or Partial REQs touched or scope=all — Partial included so CQ-SOURCE can validate anchors). Invoked by spec-reviewer on every PR-boundary trigger and inline by the root-owned /sdd clean workflow.
nikolanovoselec/codeflare · ★ 26 · Testing & QA · score 68
Install: claude install-skill nikolanovoselec/codeflare
# Spec Enforcement (orchestrator) This skill is the spine for SDD spec enforcement. It runs the 24-row execution manifest against `sdd/` and orchestrates the conditional detail skills (`spec-enforce-ac`, `spec-enforce-truth`). It is one canonical contract: every agent runtime executes the same rules, severities, mandated commands, and finding vocabulary, so a repo gets identical findings regardless of which agent reviews it. ## Inputs - `purpose`: `review` | `clean`. `review` is report-only — never edit the spec, queue, or audit files; return findings and evidence. `clean` applies fixes under the mode rules and records them in the `/sdd clean` audit. - `diff`: the review window the caller hands you — an incremental `<base>..<head>` range on a re-review, the base...HEAD diff on a first PR-boundary review, or the full-tree view on `scope=all`. Enforce exactly the window provided; never widen a provided incremental window back out to the full PR diff. The "Git diff syntax" section below is only the **default** used when no window is provided. - `scope`: `all` | `diff` (default `diff`) - `mode`: `interactive` | `auto` | `unleashed` (read from `sdd/spec/config.yml` when nested layout exists, else `sdd/config.yml` on flat layout) - `layout`: `nested` | `flat` (auto-detected via `test -d sdd/spec`) **Layout-awareness.** All file globs in this skill respect the detected layout: - Spec files: `sdd/spec/**/*.md` (nested) OR `sdd/*.md` excluding `README.md` (flat) - Config: `sdd/spe