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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectName": "<projectName>"
},
"name": "init-spec"
}
}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) |