audit-docs
Audit cross-document coherence: docs ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the…
Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook, and overwrite needs explicit consent. Triggers: "init-workspace", "set up agentic workflow", "upgrade workflow scaffold".
Claude Code
$ npx -y skills add gtrabanco/agentic-workflow --skill init-workspace --agent claude-code
Codex
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a codex -y
Cursor
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a cursor -y
Gemini CLI
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a gemini-cli -y
GitHub Copilot
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a github-copilot -y
OpenCode
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a opencode -y
Windsurf
$ npx skills add gtrabanco/agentic-workflow --skill init-workspace -a windsurf -y
name: init-workspace user-invocable: true version: 4.10.0 argument-hint: <target-dir> author: "Gabriel Trabanco <1969593+gtrabanco@users.noreply.github.com>" license: MIT description: > Adapt the workflow scaffold to a new repository or add only missing substrate blocks to an existing install. Every install, hook, and overwrite needs explicit consent. Triggers: "init-workspace", "set up agentic workflow", "upgrade workflow scaffold".
> **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.
Turn an empty or existing repo into one that works with the agentic workflow: copy the generic scaffold, then **tailor it to this project** instead of leaving raw placeholders.
Load and verify the **canonical** [Turn contract](../orchestration-envelope/references/TURN_CONTRACT.md) (11 boxes) before ending every turn. Skill-specific additions (the docs-language and `→ Next:` boxes are canonical-owned and not restated here):
✓ Required user inputs were answered concretely (not defaulted). Consent for every install, hook, and overwrite is explicit; a consent gap runs the three-tier dispatch and stops with the dispatcher's `open-questions@1` block — against a scratch unit folder when no unit exists yet (§Consent). ✓ The project charter's identity layer was asked and answered before any substrate byte was copied — never guessed; an unanswered identity question halts through the same `open-questions@1` flow (§Charter). ✓ The adapted scaffold and repository-state ledger are written (or the merge/abort decision was asked) and remaining placeholders are listed ✓ Nothing was installed, registered (MCP) or overwritten — including the global Serena config — without an explicit yes
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).
(`AGENTS.md` + `docs/` map + templates) adapted to the project, not just copied.
want the gate commands, architecture, and doc domains filled in by interview.
Installing a tool, wiring a hook, or overwriting an existing file each need an explicit yes; context never supplies one, and an ambiguous repository state (partially scaffolding) is not a route to guess. A consent gap is an open question: **(0) provenance** (search the repo's own docs and record where) → **(1) research** (concrete options) → **(2) halt**: run `bun `bunx @gtrabanco/agentic-workflow@<pin> needs-input <unit-dir>`, paste the `open-questions@1` block verbatim, stop with the questions carried in it. The dispatcher needs a unit folder, and consent gaps usually precede any unit — so the run first writes a scratch one (`SPEC.md` + `decisions.md` in a `mktemp` directory, deleted after the paste) and runs the dispatcher against that. Grammar and exit codes: `orchestration-envelope`'s `references/TURN_CONTRACT.md` §Open questions. `[target-dir]` is optional — absent means the current directory, recorded.
Identity hardening (#514) — the pre-commit `git-identity-check.sh` hook and an empty `gitIdentity` block — is offered once; a no installs nothing.
Inspect the target dir (`[target-dir]`, default cwd) before touching anything:
`.github/`? If so, **do not clobber** — check first whether it's an **agentic-workflow scaffold** (marker: an agent guide present *and* either `docs/ROADMAP.md` — or the pre-319 `docs/features/ROADMAP.md` — or a `docs/workflow/` dir). If both markers are present, offer **upgrade** as the default action, alongside merge / adapt-in-place / abort — see **Upgrade mode** below. If an agent guide or `docs/` exists but the markers are absent (a foreign scaffold), stay in bootstrap and ask merge / adapt in place / abort as before.
`Cargo.toml`, `Gemfile`, …) to *propose* gate commands and naming conventions.
URL → forge**: github.com → GitHub/`gh`, gitlab → GitLab/`glab`, else ask).
doctor --json` prints one row per documented tool with its real evidence and a move — take the rows as the tool facts instead of re-deriving a path, a version or a hook by hand. An `instruct-only` row is the exact command to print, an `ask-consent-write` row is the project's own installer and still needs this skill's consent, and a `residual` row names what another owner decides. The row contract is the crate README's `tool-inventory@1` block.
The reference allowlist is exactly the six linked paths below. Never invent or read another `references/` path. Step 0 selects exactly one route:
**Hard rule for an existing Claude Code, Cursor, Copilot, or OpenCode scaffold:** LOAD exactly `references/UPGRADE.md`. A missing committed safety adapter is upgrade work, not a missing vendor primitive. Do not load bootstrap or portability unless the runtime platform has no named adapter at all.
[bootstrap discovery](references/BOOTSTRAP_DISCOVERY.md), complete its interview — **the charter round first: the identity layer is blocking, the domain layer is op
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 ↔ READMEs ↔ roadmap ↔ code ↔ fix index ↔ issues. Finds drift — features in docs/ not in the…
Audit a whole PR against the delivery contract and return MERGE-READY or evidenced blockers with the full URL. Consumes the…
Deterministic batch planner: read the live work graph and emit parallel-execution batches (order-respecting, collision-free) as…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps…
Step executor for units whose triage (unit-lane) decided which steps the unit needs. Implements one triaged step (or all…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded:…
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.