audit-docs
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index…
Discover 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.
$ npx -y skills add gtrabanco/agentic-workflow --skill discover-repository-state --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/discover-repository-stateContext preview
The summary Claude sees to decide when to auto-load this skill.
Discover 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.
name: discover-repository-state user-invocable: true version: 1.2.1 description: > Discover 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".
Create a reviewable evidence snapshot before planning or implementation.
✓ 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 ✓ The closing → Next: block is printed last
Read the agent guide, documentation map, and any existing repository-state ledger before collecting evidence.
1. Read the project guide, documentation map, and any existing `docs/workflow/REPOSITORY_STATE.md`. 2. Inspect repository files, tests, git state, and declared tooling. Record only directly observed statements in **Repository Facts**, each with file:line or command evidence. 3. Record design records under **Accepted Decisions**, roadmap entries under **Planned work**, and document-only claims under **Documentation**. Do not copy them into facts without separate implementation evidence. 4. Place reasoning under **Inference** and unresolved ambiguity under **Open Questions**. 5. If the existing snapshot is already `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`. 6. Only if neither an existing nor a newly recorded contradiction is present, set the snapshot status to `frozen`. Commit the artifact and cite the source revision.
documentation, inference, questions, and contradictions in their own sections.
Without a slash menu, open this file and follow its process in a fresh turn.
`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 <contradiction-id> — resolve the contradicted snapshot first · provide missing evidence → rerun /discover-repository-state
Otherwise:
→ Next: /plan-feature <slug> — plan from frozen facts · implementation-ready feature → /execute-phase <NN> (planned is not executable: no current `PLAN-REVIEW-PASS` → /review-plan <NN>)
A reusable set of agent skills that run a disciplined, doc-driven workflow for building software with agents — from idea/issue to a reviewed, classified, merge-ready change.
Repo: gtrabanco/agentic-workflow
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap (or vice versa), fix-index…
Audit 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…
Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy…
Internal shared owner of evidence-grounded authoring: the fixed claim/authority/evidence/freshness/unknown row, the ordered inventory-evidence-draft-readiness…
Implement all remaining phases of a planned feature/fix by default, or one explicit P<n>, with frozen acceptance, phase-local gates, commits, recovery, and…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded: yes` updates. Never reclassify…