Use this skill when the change has moved beyond exploration and is ready to become concrete artifacts.
Use This Skill When
Invoke this skill when the user says things like:
- "write the proposal"
- "turn this into specs"
- "create the design doc"
- "break the work into tasks"
- "formalize the plan"
Required Artifacts
Create or refine:
proposal.mdspecs/design.mdtasks.md
Config Check
Before generating artifacts, check the project configuration:
- Run:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/get-config" artifacts.order - Generate artifacts in the configured order (default: proposal → specs → design → tasks → execution-contract)
- Run:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/get-config" artifacts.skip - Skip any artifacts listed in the skip configuration
Use OpenSpec-style artifact roles:
proposal.mddefines why and scopespecs/define required behaviordesign.mddefines how and why at the architecture leveltasks.mddefines dependency-aware implementation steps
Working Rules
proposal.md
Must clearly state:
- the problem
- what changes
- capabilities affected
- impact areas
specs/
Must be testable.
Every requirement should be written so that a later test can prove it.
design.md
Must explain architectural decisions and trade-offs, not line-by-line implementation.
tasks.md
Must be ordered, verifiable, and small enough to become execution batches later.
File Structure section: Every tasks.md MUST begin with a ## File Structure section listing all files to be created or modified, with each file's responsibility stated in one sentence. Format:
Create: path/to/file.ts— One-sentence responsibilityModify: path/to/existing.ts— What changes
Interfaces section: Every tasks.md MUST include a ## Interfaces section declaring cross-batch dependencies. Format:
### Batch N → Batch M
- **Produces**: `type/function name` — consumed by Batch M for purpose
Per-task format: Each task MUST include:
- Exact file paths:
Create: path/to/file.tsorModify: path/to/file.ts:line-rangefor every file the task touches - TDD phases expanded (for code-producing tasks):
- Write the failing test with exact test code
- Run the test and confirm it fails for the expected reason
- Implement the minimal code with exact implementation
- Run the test and confirm it passes
- Commit with descriptive message
- Interfaces block: If the task produces output consumed by later tasks, declare
Consumes(inputs from earlier tasks) andProduces(outputs for later tasks) with exact function names, parameter types, and return types - Dependency declaration: Each batch header states
Depends on: Batch Nif it consumes output from an earlier batch
Granularity requirement: Each task step MUST be completable in 2-5 minutes of focused work. This means:
- A task step is one atomic operation: write one function, add one test case, update one config value
- A task step is NOT "implement the authentication module" — that's a batch of steps
- If a step takes longer than 5 minutes to describe, it should be decomposed further
Zero placeholder rule: Tasks MUST NOT contain "TBD", "TODO", "implement later", "figure out", "add appropriate", "we'll decide", or similar placeholder language. Every task must be concrete and immediately actionable. If there is uncertainty, resolve it during specification — do not push it to implementation.
Task Dependency Ordering: Tasks must be ordered so that:
- Each task depends only on tasks listed before it
- No task references work that hasn't been described yet
- The dependency chain is explicit: "Depends on: Batch N"
- Every batch ends with a commit step
Quality Bar
The artifact set must be internally aligned:
proposal.mdsets scopespecs/define observable behaviordesign.mdexplains the chosen technical shapetasks.mdconverts that shape into execution order
If any artifact cannot support the others, revise before handoff.
Schema Validation
After creating or modifying any artifact, run these validation checks. Do not hand off broken artifacts.
proposal.md Validation
- Has
## Whysection with > 50 characters of problem description - Has
## What Changessection listing concrete changes - Has
## Scopewith### In Scopeand### Out of Scopesub-sections - Has
## Impactsection listing affected code areas, APIs, and dependencies - Has
## Capabilitiessection (New Capabilities and Modified Capabilities) - No TBD/TODO/placeholder language in any section
specs/ Validation
- Every requirement uses SHALL or MUST (no "should", "may" for required behavior)
- Every requirement has at least one
#### Scenario:with WHEN/THEN clauses - Requirements are grouped under ADDED, MODIFIED, or REMOVED headers
- Each scenario is independently testable
- No requirement contradicts another requirement
design.md Validation
- Has
## Contextsection describing current state, constraints, stakeholders - Has
## Goalssection stating what the design must achieve - Has
## Decisionssection with at least one decision (Choice + Rationale + Alternatives) - Has
## Risks And Trade-Offssection - Architectural decisions are justified with trade-off analysis
tasks.md Validation
- Has
## File Structuresection listing all files with responsibilities - Has
## Interfacessection with Consumes/Produces between batches - Tasks are numbered (1.1, 1.2, 2.1, etc.)
- Each task has exact file paths (Create/Modify with line ranges)
- Each code-producing task has expanded TDD phases (5 steps)
- Each task step is ≤ 5 minutes of focused work
- No TBD, TODO, or placeholder language in any task
- Every requirement from specs/ maps to at least one task
- Dependencies are explicit (Depends on: Batch N)
- Every batch ends with a commit step
Quality Gate
If any artifact fails validation, fix it before handing off to bridge-contract.
Do not hand off broken artifacts. The validation checks above are not advisory — they are the minimum bar for the next stage to function. If you skip validation, the bridge-contract will produce a contract with holes, and execution will drift.
Self-Review Checklist
Before handing off:
- Remove all placeholders — no "TBD", "TODO", "we'll figure it out"
- Resolve all contradictions — no requirement conflicts with another
- Ensure tasks align with specs — every requirement has a corresponding task
- Ensure design supports the required behavior — constraints don't block requirements
- Run schema validation on all four artifacts — all checks pass
- Verify task granularity — each task is 2-5 min, atomic, and concretely actionable
- Verify File Structure — every file referenced in any task appears in the File Structure section
- Verify Interfaces — every cross-batch dependency is declared in the Interfaces section
- Verify zero placeholders — grep for TBD, TODO, "implement later", "figure out", "add appropriate"
- Verify task granularity — each step is 2-5 min, atomic, concretely actionable
Handoff Rule
Do not start implementation after writing planning artifacts.
Once the artifacts are stable and validated, hand off to bridge-contract.
Output Standard
When handing off, report:
- which artifacts were created or modified
- validation results (pass/fail for each artifact)
- a one-sentence summary of what the change does