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…
Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".
$ npx -y skills add gtrabanco/agentic-workflow --skill design-feature --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/design-featureContext preview
The summary Claude sees to decide when to auto-load this skill.
Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".
name: design-feature user-invocable: true version: 3.4.0 argument-hint: <idea | NN-slug> [<instruction>] author: "Gabriel Trabanco <gtrabanco@users.noreply.github.com>" license: MIT description: > Turn a raw idea or existing feature into a designed product SPEC by completing entity, integration, role, and expectation closure. Upserts never destroy recorded decisions. Triggers: "design-feature", "design this feature", "define product scope".
Product definition — the stage that turns an idea or a feature request into an exhaustive, checkable set of acceptance criteria, before any engineering planning happens. **Docs only — no code, no branch.**
Load and verify the **canonical** [Turn contract](.claude/skills/orchestration-envelope/references/TURN_CONTRACT.md) (11 boxes) before ending every turn. Design-specific closure boxes (product half, capability/role matrix, expectation sweep, upsert) live only in [INTERVIEW.md](references/INTERVIEW.md). Missing reference → STOP.
`design-feature <NN-slug>`.
`design-feature <NN-slug> "<change>"` (instruction mode), or bare `design-feature <NN-slug>` for review mode (see *Interaction & upsert*).
product choice a `review-spec` `NEEDS-DESIGN` verdict returned to the human.
Per the agent guide's **Workflow conventions** + **documentation map**, then read what THIS skill needs: `docs/features/_TEMPLATE/SPEC.md` (the two-halves layout + `## Design status` marker), the roadmap (`docs/features/ROADMAP.md`), the **capability inventory** (`docs/CAPABILITIES.md` — the substrate the Integration closure walks; if the project has none, derive an ad-hoc inventory from the architecture doc + codebase during step 5 and offer to seed the file from the template), and — if the slug already has a folder — its existing `SPEC.md` and `decisions.md` in full (upsert never starts blind). Skim the architecture and domain docs relevant to the idea's area only far enough to ground capability closure in the project's real entities and roles — deep engineering research is the Engineering half's job, not this one.
Consume the internal [evidence-grounding](<../evidence-grounding/SKILL.md>) capability for the ordered passes and the readiness preflight: inventory → evidence → draft → cut → readiness. Its outcomes (`READY-FOR-REVIEW | NEEDS-EVIDENCE | NEEDS-DESIGN | NEEDS-REPLAN`) are an authoring gate, never an approval: only `review-spec` can approve a Product half.
Before the Product half is emitted, run the research gate in the evidence pass (step 2 of the ordered passes):
the capability's domain (fetch/WebFetch/browser): how the domain defines and solves this capability. Repo evidence alone cannot ground a design; the bias this gate closes is designing from what the repository already believes. Each fetched source becomes an evidence row (URL and access date).
and what it is not**, and the **user's expectation of it** — accepted and rejected inputs, boundaries, semantics — not just the project's current framing of it.
user enunciates into the implicit case decomposition it implies **before** the Product half is cut: valid and invalid values and limits, interaction states, degraded mode, backend validation/filtering/parsing, alternate user paths. The canonical case: a "phone number input" is not a field — it is the whole case vector (prefixes/suffixes, lengths, non-text rejection, focus, no-JS/JS behavior, backend filtering/validation/parsing) that the product owner's one-liner hides.
returns `NEEDS-EVIDENCE` with the named owner and next fetch: never a guess, never an invented citation.
verified against authoritative documentation before the test exists (the prevention half of `verification-contract`'s test-immutability contract).
The reference allowlist is exactly the paths linked below. Never invent or read another `references/` path; in the DEFER column, bare names live in the same directory as the links.
**Hard stop for an incomplete raw-idea interview:** LOAD exactly `references/INTERVIEW.md` and no other reference. Present its ONE compact form-turn — the ≤ 6 fixed rubric slots plus the identity rows, each carrying a recommended default the user can accept with one word — then return `NEEDS_INPUT` and end the turn when slots remain unresolved; genuine ambiguity gets at most **2 follow-up turns**, never a third ask. `WRITE_AND_UPSERT.md` is forbidden until every mandatory interview slot is resolved; that resource then owns closure rows and writing.
| Condition now | LOAD now | DEFER / SKIP now | |---|---|---| | Bare existing slug, no instruction | [interview](references/INTERVIEW.md) through its interaction rule; report status and stop | `WRITE_AND_UPSERT.md`, `UPSERT_EXAMPLE.md`, `REPAIR.md`, `PORTABILITY.md` | | Brand-new idea with any mandatory interview slot unresolved | [interview](references/INTERVIEW.md) only; present exactly one form-turn (≤ 6 slots + identity, each with a default) and stop | `WRITE_AND_UPSERT.md`, `UPSERT_EXAMPLE.md`, `REPAIR.md`, `PORTABILITY.md` | | New idea after every mandatory interview slot resolves | [interview](references/INTE
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…
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…
Repair persisted fix-now findings in compatible atomic batches: root-cause fixes, green gate, commit/push, and per-row `folded: yes` updates. Never reclassify…