/agentic-workflow:product-audit <path-or-area> (optional — defaults to the whole product)from agentic-workflow
Runs a repo-wide health check across code, quality, process, docs, roadmap, and tooling. Produces a severity-ranked audit report with proposals; never fixes or files issues.
Ships in agentic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Product-wide health check. It only writes
docs/audits/<n>-<YYYY-MM-DD>.md; every proposed action remains a user decision.
Load and verify the canonical Turn contract (11 boxes) before ending every turn; the additions below narrow the sanctioned mutation to the one report file (box 3's commit/push covers it). Skill-specific additions (the → Next: box is canonical-owned and not restated here):
✓ A measured trigger was met (audit-trigger@1) or the owner explicitly requested the sweep — an invocation with none returns the `insufficient-corpus` verdict instead of inventing findings or figures
✓ Either the full PRODUCT AUDIT report was printed in the fixed output format (health by dimension, F-numbered ranked findings, four proposal streams — the roadmap streams always present, `none — <why>` when empty) or the `insufficient-corpus` verdict block was printed (no report written, nothing invented)
✓ The report was WRITTEN to `docs/audits/<n>-<YYYY-MM-DD>.md` (incremental audit id) and committed — the file is the durable deliverable, the chat print is a copy (skipped only by the `insufficient-corpus` verdict, which writes nothing)
✓ Nothing else was fixed, filed, or changed — the report file is the ONLY mutation
Missing reference → STOP. About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first (weak models drop end-of-document duties; this list is first on purpose).
The audit fires on one of three triggers; a periodic cadence ("every few features", a monthly sweep) is retired — it sweeps the same tree whether or not anything drifted:
audit-trigger@1
trigger | source | receipt when unmet
drift signal | `audit-docs` findings above the corpus band (design note 12 of #307; the band is #437's measured design) | insufficient-corpus
threshold debt | accumulated orphans / ARW below the corpus band (design note 11; #437 supplies the measured bands — never invented here) | insufficient-corpus
owner request | the owner explicitly asks for the sweep (a product-ready milestone, a named worry, an area) | — (always met)
An invocation that cites none of the three — a routine or calendar-driven probe
— returns the insufficient-corpus verdict instead of running a sweep that
invents findings or figures:
PRODUCT AUDIT — insufficient-corpus
Triggers checked: drift signal — <the receipt it is unmet | met>; threshold debt — <the receipt>; owner request — <absent | met>
Verdict: insufficient-corpus — no sweep ran; no findings or figures invented
→ Next: /workflow-status — the sensor reads what the current signals recommend
review-change) or PR (audit-pr).review-change's job: neither skill absorbs the other's
scope.Unlike diff, PR, or docs-only reviews, this skill covers the whole product.
The entire codebase and its process artifacts: source, tests, the docs tree, the roadmap, the fix index, open issues, and every feature folder's planning docs. Accept an optional path/area to focus a partial audit; state the scope and, if you sample rather than exhaust a dimension, say what you sampled — never imply full coverage you didn't do.
Tip (provisional). The user can turn on
ultracode(a research-preview Claude Code session setting — no skill can declare it) so this sweep fans out across parallel subagents instead of one context window; without it, sweep the dimensions sequentially — only wall-clock changes, never coverage.
Per the agent guide's Workflow conventions + documentation map, then read
what THIS skill needs: the roadmap, the fix index, the feature folder layout, and
the verification gate. From the map decide the product's nature (web / mobile /
console / library / backend / infra). Defer deciding which dimensions apply until
AUDIT_DIMENSIONS.md has been loaded; that resource is the authoritative
applicability matrix. Note any optional platform review skills the project
installed (extras, never requirements — the internal pack covers every axis).
The reference allowlist is exactly the two paths below. Load both after Step 0, in order; they are normative and one hop from this entrypoint.
n-a: <reason> (a dimension the project's ceremony profile
does not declare is n-a — not declared by the project's ceremony profile),
state the deterministic-producer pre-pass receipts, and state any sampling.A missing resource stops the audit; never reconstruct it from memory. Optional platform review skills remain extras, never replacements for the internal pack.
This exact structure is BOTH the persisted file (docs/audits/<id>-<YYYY-MM-DD>.md)
and the chat print — identical content, no free-form variations between runs.
Every section below appears in every audit; a section with nothing to report
states none — <why> instead of being omitted (the roadmap streams especially:
"always build the roadmap picture", never silently skip it).
# PRODUCT AUDIT <id> — <product> — <YYYY-MM-DD>
Scope: <whole product | area>
Coverage: <dimensions run | sampled vs. exhaustive>
Verdict: <one-line honest health verdict>
## Health by dimension
<dimension> .......... ✓ healthy | ⚠ concerns | ✗ at risk | n-a (why)
...
Installed tooling ....... ✓ | ⚠ | ✗ | n-a
## Findings (severity-ranked, one F-sequence for the whole audit)
F1 [SEV · impact] <dimension> — <finding> — evidence: <file:line | metric | doc> — class: <fix-now|replan-in-unit|decision-required|proposal|ignore> — route: <the finding's resolver hand-off (finding-route@1) | none — <why>> [· loads: <the one reference that route needs>]
F2 [SEV · impact] ...
[example — scope-export recurrence] F<k> [WARNING · report-only] Workflow discipline — <N>
consecutive units exported scope via `## Amendments`/descope issues —
features are being cut too big for real capacity — evidence: <unit list +
amendments/issues> — class: proposal — route: fix — #64 [· loads: the atomicity/split rules reference]
## Delta vs audit <prior-id>
New: F<k>
Unchanged: F<k> <- audit <prior-id> F<j>
Resolved: <prior-id> F<j>
(none — <why no equivalent-scope prior exists>)
## Proposals — the user decides which to act on
### Issues to open
- <title> [SEV · impact] — from: F<k>[, F<j>] — <why> — route: /triage-issue <id> F<k> — evidence: <…>
(none — <why>)
### Roadmap — add
- <feature> — from: F<k> — <rationale & opportunity> — route: /unit-lane --from-issue <n>
(none — <why>)
### Roadmap — remove / revise
- <feature> — from: F<k> — <why it no longer fits> — route: triage-issue / roadmap edit
(none — <why>)
### Tooling — register / re-design
- <skill|MCP> — register in AGENTS.md (Optional review extras): <why> — route: user edits AGENTS.md
- <skill|MCP> — would change <feature> scope: <why> — route: /unit-lane <slug>
(none — <why>)
## Manual-verification checklist (what automation can't confirm)
- <item> …
Finding set: F<k> + F<j> + F<m> (print every proposed finding; one finding → F<k>)
→ Next: /triage-issue <id> F<k> F<j> F<m> — classify the complete finding set in one batch (opens the ones that warrant it)
· accepted bug/debt → /unit-lane --fix <n> · accepted capability → /unit-lane --from-issue <n>
· nothing to act on → the persisted report is the record; move on
Replace every finding placeholder with the complete actual set before printing;
never print … or only the first finding in a live hand-off.
route: is the triage taken at flight: the resolver hand-off for that finding
plus, optionally, the one reference that route needs. none costs no context. It
is the progressive-loading decision, not a schema to fill — and stating a route
never executes it: the report file stays the only mutation. Findings are typed
1:1 with review's finding vocabulary — the published severity ladder, the
impact cell and the closed class set, all owned by
review-implementation/CLASSIFY.md — so triage-issue consumes them without a
mapping layer; no second finding vocabulary is created here. The hand-off
grammar:
finding-route@1
kind | shape | what it orders
hand-off | <verb> — <target> | the resolver hand-off for this finding: one of the single-input verbs (continue | fix | review | audit | explain-state) plus the concrete target it resolves (the unit, issue or audit id) — never bespoke prose routes, never a command invocation
none | none — <why> | no hand-off exists for this finding
The concrete invocation that consumes the whole finding set stays in the
closing → Next: block — the route cell names the hand-off, the block names
the command.
<id> is the audit's incremental number (Process step 9). A finding is
addressable forever as <audit-id> F<k> — e.g. triage-issue 3 F2 reads
docs/audits/3-*.md, locates F2, and opens/classifies the issue if warranted.
Suggest that routing; never run triage or open issues here.
Lead with the honest one-line health verdict (e.g. "shippable with 2 high-sev security items to track first").
skills/unit-lane/references/DESIGN.md (ask-dont-infer@1); an
unevidenced expectation is asked, never invented.docs/audits/ (plus mkdir -p docs/audits) — nothing else in the repo is touched.F1, F2, … only — one sequence per audit, severity-ranked
order, never a different letter per problem type. Once persisted, ids are
frozen: a later audit gets a new audit id, never renumbers an old file; cross-audit
lineage lives only in Delta mappings as <audit-id> F<k>, never global slugs or
replaced ids. When the user accepts, route: triage-issue files/classifies, /unit-lane
adds roadmap work or scopes a concrete fix.AGENTS.md. The tooling sweep proposes a
skill/MCP to register, but the user (or a routed /unit-lane <slug> run)
performs the edit; a scope-affecting discovery routes to
/unit-lane <slug>, which the user approves.references/AUDIT_DIMENSIONS.md): consume the receipt, never
re-derive a measured fact by inspection; the model sweeps only the
non-mechanizable remainder.file:line/metric/doc/issue source; mark uncertainties verify.references/AUDIT_PROCESS.md; uncertainties stay marked verify.Preamble + no-slash-menu fallback: owned by skills/orchestration-envelope/references/PORTABILITY.md — this section
keeps only its own fallbacks:
model:/effort: — this is the widest, highest-stakes
sweep in the workflow: run it on your strongest model at its deepest
setting, as its own dedicated run — never squeezed into another task's
context.ultracode/subagents — sweep the dimensions sequentially (see the
tip above); state coverage honestly either way.product-audit (whole product, all axes, measured trigger)
├─ composes review-change axes (codebase-wide) + audit-docs (doc coherence)
├─ mines feature docs (decisions / known-issues / architecture-notes)
├─ sweeps installed skills / connected MCP servers (product-wide, measured trigger)
└─ proposes ─┬─ Issues to open ........ ▶ triage-issue / unit-lane --fix
├─ Roadmap: add .......... ▶ unit-lane --from-issue
├─ Roadmap: remove/revise ▶ triage-issue / roadmap edit (user decides)
└─ Tooling: register/re-design ▶ user edits AGENTS.md / unit-lane
review-change (one change) and audit-pr (one PR); subsumes
audit-docs's coherence check as one of its dimensions.insufficient-corpus verdict was returned and nothing else ran.none — <why> when empty),
deduped, each proposal routed and citing its source findings.docs/audits/<id>-<YYYY-MM-DD>.md
with the next incremental audit id, and printed in chat.→ Next: block is printed — typically a batch
/triage-issue <id> F<k> … for the proposed issues, then /unit-lane for the accepted work.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gtrabanco/agentic-workflow --plugin agentic-workflow33 skills in this plugin
/agentic-workflow-doctorUser-initiated batch ceremony-failure triage: mine this project's own journal and unit docs for its accumulated ceremony failures, apply a fixed discard/report rubric, render one anonymized bundle, and route it upstream to an existing or new agentic-workflow issue — with consent. Read-only; the user starts it. Triggers: "agentic-workflow-doctor", "aw-doctor", "why do my reviews keep blocking", "triage my ceremony failures", "report a workflow bug upstream".
/audit-docsAudit cross-document coherence: docs ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index entries already merged/closed, broken documentation-map links, dependency cycles, artifacts in the wrong language, naming-convention violations, project-charter coverage — and reports them ranked by severity, fixing only low-risk items on request. Model-agnostic: the skill inherits whatever model and effort your agent session is already using. Triggers: "check doc consistency", "are the docs in sync", "audit the docs", "doc coherence review", "did the docs drift", "validate the roadmap".
/audit-prAudit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the current review-change REVIEW-PASS receipt instead of re-running review axes; posts a SHA-bound ready comment; never edits or merges. Triggers: "audit-pr", "is this PR ready", "merge gate".
/aw-doctorShort name for /agentic-workflow-doctor: one user-initiated pass over this project's own ceremony-failure record, a fixed discard/report rubric, one anonymized bundle, routed upstream with consent. Triggers: "aw-doctor", "/aw-doctor", "short doctor", "run the doctor".
/batch-schedulerDeterministic batch planner: read the live work graph and emit parallel-execution batches (order-respecting, collision-free) as the fixed `batch-plan@4` machine envelope — which issues can run together now, which are blocked and by what, which unit is really in flight, which pairs would rewrite the same file, which surface each lane occupies, what changed. Triggers: "batch scheduler", "what can run in parallel", "plan the batches", "batch plan".
/discover-repository-stateDiscover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps facts, decisions, planned work, documentation, and inference separate. It does not make recommendations or infer implementation from documentation. Triggers: "discover repository state", "normalize repository state", "freeze repository facts".
Other plugins' skills for the same job