/agentic-workflow:discover-repository-statefrom agentic-workflow
Discovers repository evidence and writes a frozen Normalized Repository State snapshot. Keeps facts, decisions, planned work, documentation, and inference separate. Does not make recommendations or infer implementation from documentation.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a reviewable evidence snapshot before planning or implementation.
The snapshot's shape and its freshness rule are one contract, owned by the sole
writer that may replace a frozen row:
STATE_CONTRACT.md
(repository-state@1). Write covers-through and a decided date per accepted
decision, because runner repository-state judges the snapshot by them.
Load and verify the canonical Turn contract (11 boxes) before ending every turn. Skill-specific additions:
✓ Repository evidence was read or commands were run for every fact
✓ Facts, documentation, planned work, decisions, and inference are separated
✓ Snapshot status is frozen unless a contradiction was recorded
✓ No accepted decision or existing frozen fact was silently changed
Missing reference → STOP. About to end the turn with any box unchecked? The turn is NOT done — complete the missing box first.
Read the agent guide, documentation map, and any existing repository-state ledger before collecting evidence.
docs/workflow/REPOSITORY_STATE.md.contradicted, preserve that status and
do not alter its unresolved contradiction; hand off to
resolve-repository-state. Otherwise, if new evidence conflicts with a
frozen fact, append a Contradiction, set snapshot status to
contradicted, and do not alter the fact. Hand off to
resolve-repository-state.frozen. Commit the artifact and cite the source
revision.Preamble + no-slash-menu fallback: owned by
PORTABILITY.md — this
skill has no fallback of its own beyond it: the process is running evidence
commands and writing one ledger, and a host without a slash menu runs it as
written.
resolve-repository-state resolves contradictions; planners and executors
consume the frozen result.
The ledger is frozen or explicitly contradicted, and every fact carries direct evidence.
If a contradiction was recorded:
→ Next: /resolve-repository-state — resolve the contradicted snapshot first · provide missing evidence → rerun /discover-repository-state
Otherwise:
→ Next: /unit-lane — triage and run the lane from frozen facts · already-triaged unit → /execute-phase
What SKILL.md sets; muted values are Claude Code's defaults
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".
Other plugins' skills for the same job