/edikt:guideline:review
Review guideline language quality — checks whether team standards are specific, actionable, and written for consistent enforcement.
This is a scoped shortcut for running /edikt:gov:review targeting guidelines only.
Usage
bash
/edikt:guideline:review
/edikt:guideline:review guideline-api-response-casingArguments
| Argument | Description |
|---|---|
| (none) | Review all guidelines in docs/guidelines/ |
| A guideline slug or filename | Review a specific guideline |
What it checks
Each guideline directive is scored on four dimensions:
| Dimension | Strong | Vague |
|---|---|---|
| Specificity | Names exact patterns, formats, or locations | Could mean anything to different readers |
| Actionability | One clear action, no ambiguity | No actionable instruction |
| Phrasing | Active voice with clear scope | Passive or hedged language |
| Testability | Verifiable by code review or tooling | Cannot be verified |
Sidecar Cross-Check (v0.6.0)
After the prose-quality review, :review cross-checks the guideline's <guideline>.edikt.yaml sidecar against the prose body for drift. The check is read-only — it never modifies files.
For each directive in the sidecar:
- Read
<guideline>.edikt.yaml. If missing, warn: "No sidecar found — run/edikt:guideline:compile <slug>to generate." - Locate each of the directive's
source_excerpts[].quoteentries in the prose body. If any verbatim quote is not found, flag the directive as stale. - Scan the prose body for MUST/NEVER bullets not represented in the sidecar. Flag any extras.
Output is either ✓ Sidecar in sync or a warning list with line numbers. :review never auto-regenerates — the user resolves drift via :compile or by editing the prose.
When to run
- After writing a new guideline, before it's compiled
- Periodically — guidelines can accumulate vague language over time
What's next
- /edikt:guideline:new — capture a new team standard
- /edikt:gov:compile — compile guidelines into governance directives
- /edikt:gov:review — full governance review across all sources