spec_coding_tasks_start
Initiate task planning phase by creating structured task lists from specifications to guide development workflow implementation.
Instructions
Start the task planning phase and provide guidance for creating the task list
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session identifier | |
| feature_name | Yes | Feature name |
Implementation Reference
- src/tools/tasks.ts:8-47 (handler)The core handler function that executes the logic for the 'spec_coding_tasks_start' tool, rendering a task planning template and guidance message.export async function tasksStart( params: TasksStartParams ): Promise<string> { const { session_id, feature_name } = params; console.error(`[MCP] Starting tasks planning for feature: ${feature_name}`); // Use gen-tasks.md template const template = await readTemplate('gen-tasks.md', { feature_name, session_id }); return `# 📋 Task Planning Stage (4/5) ## Feature: ${feature_name} ### Workflow Progress: - [x] 1. Goal Collection ✅ - [x] 2. Requirements Gathering ✅ - [x] 3. Design Documentation ✅ - [x] 4. **Task Planning** ← Current Stage - [ ] 5. Task Execution --- ${template} --- **Important**: - Please create task list according to the above guidelines - **Only when you explicitly confirm the task planning is complete can you call** \`spec_coding_tasks_confirmed\` tool - **Never** call the next stage tool before the user **explicitly confirms the tasks** **Session Information**: - Session ID: \`${session_id}\` - Feature Name: \`${feature_name}\` - Requirements: \`docs/specs/${feature_name}/requirements.md\` - Design: \`docs/specs/${feature_name}/design.md\``; }
- src/server.ts:132-149 (registration)Tool registration including name, description, and input schema definition in the tools array.{ name: 'spec_coding_tasks_start', description: 'Start the task planning phase and provide guidance for creating the task list', inputSchema: { type: 'object', properties: { session_id: { type: 'string', description: 'Session identifier' }, feature_name: { type: 'string', description: 'Feature name' } }, required: ['session_id', 'feature_name'] } },
- src/server.ts:231-233 (registration)Switch case in the CallToolRequestSchema handler that routes calls to the tasksStart function.case 'spec_coding_tasks_start': result = await tasksStart(args as any); break;
- src/tools/tasks.ts:3-6 (schema)TypeScript interface defining the input parameters for the handler, matching the JSON schema.export interface TasksStartParams { session_id: string; feature_name: string; }
- src/utils/workflow.ts:53-53 (helper)Workflow definition referencing the tool as part of the task planning step.tool: 'spec_coding_tasks_start → spec_coding_tasks_confirmed',