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…
One-shot lane conductor for a delivery unit: triage, implement, evidence, and close in a single document. Triggers: "unit-lane", "run the lane", "work on this feature/fix", "build this unit".
$ npx -y skills add gtrabanco/agentic-workflow --skill unit-lane --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/unit-laneContext preview
The summary Claude sees to decide when to auto-load this skill.
One-shot lane conductor for a delivery unit: triage, implement, evidence, and close in a single document. Triggers: "unit-lane", "run the lane", "work on this feature/fix", "build this unit".
name: unit-lane user-invocable: true version: 1.1.0 argument-hint: <NN-slug | "<idea>"> [--retriage] | --fix <issue-number> | --from-issue <issue-number> description: > One-shot lane conductor for a delivery unit: triage, implement, evidence, and close in a single document. Triggers: "unit-lane", "run the lane", "work on this feature/fix", "build this unit".
One document, adaptive steps. The lane reads a closed catalog, triages which steps a unit needs, executes them in order, and commits at each gate. Replaces: design-feature, plan-feature, review-spec, review-plan.
Tick every box before ending the turn; an unchecked box means the turn is not done:
✓ Triage ran (bun scripts/unit-route.mjs --triage <slug>) and its block pasted verbatim into the unit doc's Evidence section as the authoritative step list ✓ Unit doc exists at docs/features/<NN>-<slug>/SPEC.md (created from template if new, with all mandatory sections filled or n/a) ✓ Guard ran (bun scripts/diff-guard.mjs --base <ref>) after each implement step; on BREACH: re-triage or record exception, never shrink the diff ✓ Unit doc's Evidence rows updated (command → exit/digest → output → verified-by) and Progress log updated (dated entry) before every commit ✓ → Next: block printed as the absolute last output
Both `--fix <n>` and `--from-issue <n>` are the exact forms `scripts/unit-route.mjs` prints for a tracked issue with no unit folder (`route: plan-from-issue`) — never invent a different spelling.
Per the agent guide's **Workflow conventions** + **documentation map**, then read `docs/features/_TEMPLATE/SPEC.md` (the unit doc template). If the unit folder exists, read its current `SPEC.md` to avoid overwriting.
If the unit folder already exists, read its `SPEC.md` and continue. Otherwise create it from the tree the unit belongs to:
| Invocation | Folder | Template | Index to register | |---|---|---|---| | `<NN-slug>` / `"<idea>"` | `docs/features/<NN>-<slug>/` | `docs/features/_TEMPLATE/SPEC.md` | `docs/features/ROADMAP.md` | | `--fix <issue-number>` | `docs/fix/<issue-number>-<topic>/` | `docs/fix/_TEMPLATE/SPEC.md` | `docs/fix/README.md` | | `--from-issue <issue-number>` | `docs/features/<NN>-<slug>/` | `docs/features/_TEMPLATE/SPEC.md` | `docs/features/ROADMAP.md` (row links `#<issue-number>`) |
For `--fix`/`--from-issue`, read the tracked issue in the forge first and keep its number; the folder name carries it (`fix/<issue-number>-<topic>`). Fill objective, why, user outcome, and non-goals from the invocation (or the issue). Acceptance criteria are induced from user scenarios — **ask-don't-infer**; if the request is too vague, STOP and ask the user with concrete options. See [the unit doc template](references/STEPS.md) for section order.
Run `bun scripts/unit-route.mjs --triage <slug>` (or `<NN>` for numeric). PASTE its stdout block **verbatim** into the unit doc's Evidence section header under a `## Triaged steps` heading. This block is authoritative. The model never re-derives, reorders, or invents steps — it executes only what the catalog says.
For each step the triage returned, follow its reference file. Execute **one step per turn-commit**:
1. Read the step's reference — for example: [research](references/RESEARCH.md), [design](references/DESIGN.md), [plan](references/PLAN.md), [implement](references/IMPLEMENT.md), [tests](references/TESTS.md), [evidence](references/EVIDENCE.md), [review](references/REVIEW.md), [docs](references/DOCS.md), [release](references/RELEASE.md) — only the ones the triage demands). 2. Perform the step's checklist items. 3. Write/update evidence in the unit doc. 4. Update the Progress log with a dated entry. 5. Commit with a conventional commit message. 6. For implement steps, run the diff guard (step 4 below).
Run `bun scripts/diff-guard.mjs --base <last-reviewed-ref> --unit <NN>`. Paste the output verbatim. On **BREACH**: stop, re-triage the unit, or record an exception. **Anti-gaming: NEVER shrink a diff by deleting comments, blank lines, docs or tests.** If the unit cannot fit the budget, record the exception and stop.
Before every commit:
output (≤2 lines) | verified-by |`
<what is next>`
When all triaged steps are done, run the review pack axis summary, update the unit doc's status, and print the closing block.
**Allowed:**
**Forbidden:**
implementation never widen the unit
`unit-lane` absorbed the retired fixed-pipeline skills (design-
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…
Internal agentic-workflow maintenance: after SKILL.md edits, bump semver, lint authoring rules, and synchronize changelogs, READMEs, routing metadata, and…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps facts, decisions, planned work,…
Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded: yes` updates. Never reclassify…