spec_coding_workflow_start
Start a spec-driven development workflow to transform ideas into implementation by initiating the goal collection phase.
Instructions
Start the specs workflow and begin the goal collection phase
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/workflow.ts:6-41 (handler)The main handler function that implements the tool logic: generates a unique session ID, loads the 'ask-goal.md' template, and returns a formatted markdown message starting the workflow with instructions for the goal collection phase.export async function workflowStart(): Promise<string> { const session_id = generateSessionId(); console.error(`[MCP] Starting workflow with session_id: ${session_id}`); // Use ask-goal.md template const template = await readTemplate('ask-goal.md', { session_id }); return `# 🚀 Spec-driven Development Workflow Started ## Current Stage: Goal Collection (1/5) Welcome to the Spec-driven development workflow! I'll help you complete the entire development process from requirements to code. ### Workflow Overview: - [ ] 1. **Goal Collection** ← Current Stage - [ ] 2. Requirements Gathering - [ ] 3. Design Documentation - [ ] 4. Task Planning - [ ] 5. Task Execution --- ${template} --- **Session Information**: - Session ID: \`${session_id}\` **Important**: - Please discuss the feature goals with me thoroughly until the goals are completely clear - **Only when you explicitly confirm the goals can you call** \`spec_coding_goal_confirmed\` tool - **Never** call the next stage tool before the user **explicitly confirms the goals**`; }
- src/server.ts:29-37 (schema)Tool specification including name, description, and input schema (empty object, no required parameters). This is returned by the ListTools handler.{ name: 'spec_coding_workflow_start', description: 'Start the specs workflow and begin the goal collection phase', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/server.ts:207-208 (registration)Dispatches the tool call to the workflowStart handler function in the MCP CallToolRequest switch statement.case 'spec_coding_workflow_start': result = await workflowStart();
- src/utils/workflow.ts:28-34 (helper)Workflow step definition that references this tool as the starting point of the overall spec-coding workflow.{ step_number: 1, name: STEP_NAMES.GOAL_CONFIRMATION, description: 'Clarify the feature development goal through conversation', tool: 'spec_coding_workflow_start → spec_coding_goal_confirmed', deliverable: 'Clear feature goal and feature_name' },