create-spec-doc
Generate or update a single spec document (requirements, design, or tasks) for AI-assisted software development. Ensures user review after each document creation to maintain structured workflow integrity.
Instructions
Create spec document. CRITICAL: Only creates ONE document at a time. You MUST get user review after EACH document before creating the next one.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The complete markdown content for the spec document | |
document | Yes | Which spec document to create/update: requirements, design, or tasks | |
projectPath | Yes | Absolute path to the project root | |
specName | Yes | Feature name in kebab-case (e.g., user-authentication) |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "The complete markdown content for the spec document",
"type": "string"
},
"document": {
"description": "Which spec document to create/update: requirements, design, or tasks",
"enum": [
"requirements",
"design",
"tasks"
],
"type": "string"
},
"projectPath": {
"description": "Absolute path to the project root",
"type": "string"
},
"specName": {
"description": "Feature name in kebab-case (e.g., user-authentication)",
"pattern": "^[a-z][a-z0-9-]*$",
"type": "string"
}
},
"required": [
"projectPath",
"specName",
"document",
"content"
],
"type": "object"
}