doc-enforcelisted
Install: claude install-skill nikolanovoselec/codeflare
# Documentation Enforcement (orchestrator)
This skill is the spine for SDD documentation enforcement. It runs the 16-row execution manifest against `documentation/` and orchestrates the conditional detail skills (`doc-enforce-lanes`, `doc-enforce-shape`, `doc-enforce-truth`).
## Inputs
- `purpose`: `review` | `clean`. `review` is report-only — never edit documentation, audit files, or `.doc-coverage.md`; return findings and evidence. `clean` applies mode-approved fixes AFTER spec enforcement completes (doc cross-references depend on the just-fixed spec) 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 diff-scoped passes operate on this window; the always-on whole-tree consistency passes still walk `documentation/` in full, as their Status note says.)
- `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 documentation/lanes`)
**Layout-awareness.** All file globs in this skill respect the detected layout:
- Lane files: `documentation/lanes/**/*.md` (nested) OR `documentation/*.md` exclud