From workflow-skills
Phase-gate audit of the repo's canonical artifacts themselves — requirements/AC completeness, architecture correctness, security sufficiency, design surfaces, and manifest hygiene. The inverse of conformance checking — it does NOT assume the canon is right; it stress-tests it for gaps, wrong decisions, and insufficient controls, verifies every claim against code, and ranks the open questions and spikes worth running next. Run before major planning pushes and at phase boundaries.
How this skill is triggered — by the user, by Claude, or both
Slash command
/workflow-skills:canon-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Audit the **canon itself**. Every other canon consumer in this family treats the flagged docs as authoritative — `get-context` loads and enforces them, `codebase-review --lens canon-drift` audits *reality against them*. This skill points the telescope the other way: are the canonical artifacts **complete, correct, and sufficient** for what the product is trying to do? Two mutually-consistent do...
Audit the canon itself. Every other canon consumer in this family treats the flagged docs as authoritative — get-context loads and enforces them, codebase-review --lens canon-drift audits reality against them. This skill points the telescope the other way: are the canonical artifacts complete, correct, and sufficient for what the product is trying to do? Two mutually-consistent docs can both be wrong, and a canon can be perfectly aligned while silently missing the requirement that matters.
This skill is repo-agnostic. It uses the same manifest as /get-context (docs/context/canonical.yaml) and inherits that skill's loading discipline and contradiction/staleness definitions. A repo with no manifest has no canon to audit — say so and end.
Run order with codebase-review: when both are planned, run /canon-audit first and resolve the Critical/High findings — auditing conformance to a flawed canon aligns the code with the flaw.
/canon-audit # full audit, all dimensions
/canon-audit --dimension <key> # one dimension (requirements | architecture | security | design | manifest)
.claude/repo-conventions.yaml (backlog root, templates, registers) — verify load-bearing keys against the tree rather than trusting them./get-context does: read the manifest, load every flagged doc, expanding globs — full set, no sampling. Override the hard-stop: contradictions that would stop get-context are collected as Critical findings and the audit continues; this run's job is to enumerate everything in one pass.docs/reviews/*-canon-audit.md).Fan out one agent per dimension (Workflow tool when available, Agent tool otherwise). Each agent gets the loaded canon, the registers, code-read access, and its charter below. The charters are floors, not ceilings — every agent is explicitly licensed to surface risks and gaps outside its listed checks.
requirements — completeness of intentarchitecture — correctness and coherencesecurity — sufficiency, not just presenceStructure this audit around the canon's own declared risks and control ladders — then judge whether they are sufficient and true:
design — surfaces vs requirementsmanifest — hygiene of the canon set itselfThis skill owns manifest curation (the canon-drift lens only spot-checks it):
Adversarial verification, refute-stance, by agents independent of the finding's author — every Critical/High finding, sampled Medium:
UNVERIFIED.From the verified findings, extract the highest-leverage unknowns: rank by how much downstream work each unblocks or de-risks. For each, recommend the concrete next step — a spike (time-boxed, with the question it must answer), a decision to force (with the options and the recommendation), or a sibling artifact to author. The repo's decision discipline applies: the spike is the bridge from unsure to elaborated — never recommend "decide during implementation."
Write docs/reviews/YYYY-MM-DD-canon-audit.md (a flat dated file, deliberately distinct from codebase-review's dated folders — the two coexist in docs/reviews/ without collision, and Step 0's prior-report glob docs/reviews/*-canon-audit.md depends on this naming; don't normalize it into the folder convention):
# Canon Audit — YYYY-MM-DD
## Verdict
<one paragraph: is the canon fit to plan against right now? The 2-3 findings that most change what happens next.>
## Findings (Critical / High / Medium)
| ID | Dimension | Artifact §section | What's missing or wrong | Why it matters | Recommended fix or spike | Verified |
|----|-----------|-------------------|-------------------------|----------------|--------------------------|----------|
## Contradictions found while loading
<the items get-context would have hard-stopped on, in its 3-part format (what conflicts / verification / recommended fix)>
## Open questions & recommended spikes (ranked)
| # | Unknown | What it blocks/risks | Recommended step |
|---|---------|----------------------|------------------|
## Known & correctly captured
<gaps already held as explicit open questions / register rows — listed so they aren't re-raised as discoveries>
## Coverage
<canon docs audited per dimension; anything not assessed and why>
Then, for findings whose fix is actionable work (a spike, a missing artifact), offer proposal-only stubs in the repo's tech-debt/backlog convention — same altitude rules as everywhere else: intent + open questions, no invented detail.
npx claudepluginhub ajmaher2-dev/claude-skills --plugin workflow-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.