init-spec
Creates a structured development workspace with requirements, design, and task files to guide spec-driven workflow. Call first when starting a new feature or bugfix.
Instructions
Initialize a spec-driven development workspace for the current project. Creates a .spec/ directory that will hold three files:
requirements.md: User stories, acceptance criteria (EARS format)
design.md: Architecture, diagrams, implementation approach
tasks.md: Trackable checkbox tasks
hooks/: Event-driven automation rules
Call this FIRST when user expresses intent to build, plan, design, analyze, or refactor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectName | Yes | Project or feature name | |
| specType | No | Type of spec (default: feature) | |
| workflowType | No | Workflow variant (default: requirements-first) |