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…
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".
$ npx -y skills add gtrabanco/agentic-workflow --skill init-workspace --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/init-workspaceContext preview
The summary Claude sees to decide when to auto-load this skill.
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".
name: init-workspace user-invocable: true version: 2.8.0 argument-hint: <target-dir> author: "Gabriel Trabanco <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".
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.
✓ The adapted scaffold and repository-state ledger are written (or the merge/abort decision was asked) and remaining placeholders are listed ✓ Nothing was installed or overwritten without an explicit yes ✓ Artifact language: explicit user instruction > the project's declared docs language > English. The CONVERSATION language never decides — a Spanish prompt still produces English PRs/issues/commits/SPECs unless one of the first two says otherwise ✓ The closing `→ Next:` block is printed as the ABSOLUTE last output
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).
(`CLAUDE.md` + `docs/` map + templates) adapted to the project, not just copied.
want the gate commands, architecture, and doc domains filled in by interview.
Inspect the target dir (`[target-dir]`, default cwd) before touching anything:
clobber** — check first whether it's an **agentic-workflow scaffold** (marker: `CLAUDE.md` present *and* either `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 `CLAUDE.md`/`docs/` exist 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).
The reference allowlist is exactly the four 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, then read [bootstrap write](references/BOOTSTRAP_WRITE.md).
only. Its additive-only rule is absolute; do not replay bootstrap.
[portability](references/PORTABILITY.md) only for that fallback. Claude Code, Cursor, Copilot, and OpenCode are named supported adapters; a missing adapter file is repaired by upgrade and does not trigger portability.
All resources are one hop from this file. Existing files, hook consent, installation consent, and residual reporting are fixed contracts. Missing template/migration evidence is reported by the selected route, never filled by guessing. An existing OpenCode scaffold with only its safety adapter missing loads exactly upgrade and skips bootstrap plus portability.
blocks the project lacks and fills raw placeholders — it never rewrites or deletes a block the project already tailored, even if the current template changed that block too. A genuine re-tailor is a separate, explicitly requested bootstrap adapt-in-place run, never something upgrade mode does on its own. **The urgency label seeding is additive-only the same way:** create a missing `urgent`/`fix-next` label, never touch one that already exists (name, color, or description a project already customized).
/SKILL.md` is the sole owner of the `urgent`/`fix-next` names, colors, and apply rules — this skill only seeds those two labels into the repo; it never invents a third label or changes what the two mean.
don't work on its default branch and never commit/push unless asked.
Seed `docs/workflow/REPOSITORY_STATE.md` from the template. Explain that discovery freezes evidence before planning and only the resolver updates facts.
Offer `docs/architecture/ARCHITECTURAL_INVARIANTS.md` as an optional project contract for long-lived architectural rules. Its entries must name a stable ID, repository evidence, and the authority that can change
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…
Discover repository evidence and write a frozen Normalized Repository State. Produces verified repository evidence and keeps facts, decisions, planned work,…
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…