audit-docs
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap…
Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen acceptance, step-local gates, commits, red-gate repair, and diff-size guard. BREAKING: replaced
Claude Code
$ npx -y skills add gtrabanco/agentic-workflow --skill execute-phase --agent claude-code
Codex
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a codex -y
Cursor
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a cursor -y
Gemini CLI
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a gemini-cli -y
GitHub Copilot
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a github-copilot -y
OpenCode
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a opencode -y
Windsurf
$ npx skills add gtrabanco/agentic-workflow --skill execute-phase -a windsurf -y
name: execute-phase user-invocable: true version: 4.10.0 argument-hint: <NN-slug> [P<k>|step] [--max-attempts N] [--force] allowed-tools: [Bash, Read, Edit, Write, MultiEdit] author: "Gabriel Trabanco <1969593+gtrabanco@users.noreply.github.com>" license: MIT description: > Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all remaining steps), with frozen acceptance, step-local gates, commits, red-gate repair, and diff-size guard. BREAKING: replaced PLAN.md/TASKS.md/progress.md/ACCEPTANCE.md with the unit doc's Tasks section, Evidence rows, and Progress log; ACCEPTANCE.md is gone — acceptance criteria live in the unit doc and Evidence rows are the receipts.
> **Runner commands** below are `bunx @gtrabanco/agentic-workflow@<pin> …` — read `<pin>` > from [references/RUNNER.md](../runner-contract/references/RUNNER.md). It is stamped at > release and never guessed: a hard-coded version re-opens the per-release sweep the > contract removes, and `latest` is not a legal pin.
Step executor for units. The unit doc (created by `unit-lane`) owns `Tasks` P1…Pn, `Evidence` rows, and a `Progress` log — these replace PLAN.md, TASKS.md, progress.md, and ACCEPTANCE.md. Each step runs as an atomic gate/commit.
**Argument resolution (first match):**
Never infer a step ID absent from the triage block in the unit doc.
Load and verify the **canonical** [Turn contract](../orchestration-envelope/references/TURN_CONTRACT.md) (11 boxes) before ending every turn; the contract's Push policy supplement governs mid-phase commits when a PR is already open. Skill-specific additions (the `→ Next:` box is canonical-owned and not restated here):
✓ Required user inputs were answered concretely (not defaulted). Nothing here is inferred: a gap runs `bunx @gtrabanco/agentic-workflow@<pin> needs-input <unit-dir>` (npx fallback if bun is not installed) and the `open-questions@1` block is pasted, then the run stops. ✓ Tool choice re-made this turn — `bun` before `node` on manual invocation, `rg` before `grep` on search; availability checked once with `node scripts/setup-env.mjs --check` (node and grep stay the documented fallback) ✓ Triage verified — unit doc Evidence section header matches `bunx @gtrabanco/agentic-workflow@<pin> unit-route --triage <slug>` output block (PREFLIGHT.md) ✓ Unit doc read and step selected (explicit P<k> or first unfinished) ✓ Step executed and committed (one commit per step, conventional format) ✓ Phase read set consumed — the phase read its `Relevant files:` targets (`bun scripts/relevant-files.mjs <unit-doc> --phase P<k>`) instead of surveying the repo, and discovered-file appends landed at phase close ✓ Test impact derived — the phase's test set came from the hint's block (TEST_IMPACT.md), and a prose-only phase recorded its `empty` verdict ✓ Evidence rows updated (command → exit/digest → output → verified-by) — each row carries the command, observed output (reproduced, not typed by hand), and the verifying-by credit. (S5 — claim-evidence loop: mandatory reproduction, loop-until-green inside the same turn) ✓ Progress log updated with a dated `YYYY-MM-DD HH:MM` entry that names the phase id (what, commit, next) ✓ Memory boundary ran — the phase's outcome saved under `unit/<NN-slug>/doc`, or the mirror marked pending when the layer is degraded ✓ Diff guard passed (on implement steps) — see `diff-guard` in PREFLIGHT.md ✓ Self-audit box (S9 d): every claim the persist introduces was re-derived with pasted output before the commit lands.
→ invoke with `<NN-slug>` or `<NN-slug> P<k>`.
skill — they are executed in-place by the unit-lane conductor.
This skill **never interviews**. It reads its inputs — the unit doc's `Tasks`, `unit-route.mjs --triage`'s block, the route's tier — and a missing or ambiguous one is a **gap**, resolved in one fixed order and never by inference: **(0) provenance** (search the repo's own docs and record where) → **(1) research** (2–3 concrete options with trade-offs; asking for more research is a legitimate answer) → **(2) halt**: run `bunx @gtrabanco/agentic-workflow@<pin> needs-input <unit-dir>` (npx fallback if bun is not installed), paste the `open-questions@1` block verbatim, stop. Interactive the block is the pause point, unattended it is a hard fail. Grammar and exit codes: `orchestration-envelope`'s `references/TURN_CONTRACT.md` §Open questions.
Bare `<NN-slug>` runs **all remaining steps** — the phase is not an input. File targets are the unit doc's nested `Relevant files:` metadata plus the path-protection checkpoint. `--max-attempts N` defaults to 3; `--force` skips the *stop* on the dependency and phase-lint gates (never the check — `PREFLIGHT.md` records the override in the Progress log) and has **no bypass** on the path-protection checkpoint.
Per the agent guide's **Workflow conventions** + **documentation map**, read the unit doc at `docs/features/<NN-slug>/SPEC.md`. Verify it carries `## Tasks` (P1…Pn) **and the receipt sections of the shape it is written in** (#308 accepts both): the legacy shape carries `## Evidence` + `## Progress log`, a re-cut unit doc carries `## Specs`, `## Findings` + `## Log` (its evidence and gate runs are `E`/`G` log lines, its progress is `P` lines). If neither pair is pr
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.
Audit cross-document coherence: docs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the roadmap…
Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded:…
Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook,…
Append a structured entry to the project's session log (`docs/LOGS.md`): what was done this session, files touched, decisions…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.