begin_feature_discussion
Initiate structured discussions for new software features with AI guidance, focusing on implementation, architecture, and best practices to streamline development decisions.
Instructions
Start a new feature discussion
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Title or name of the feature |
Implementation Reference
- src/index.ts:216-249 (handler)The handler for the 'begin_feature_discussion' tool. It creates a new feature discussion entry with the provided title, initializes the discussion context, sets the first prompt, and returns a response with the feature ID and initial question.case "begin_feature_discussion": { const { title } = request.params.arguments as any; const id = `f${Object.keys(featureDiscussions).length + 1}`; // Initialize new feature discussion featureDiscussions[id] = { id, title, description: "", requirements: [], status: 'in-discussion', createdAt: new Date().toISOString(), updatedAt: new Date().toISOString(), currentPrompt: FEATURE_DISCUSSION_PROMPTS[0].id }; // Initialize discussion context discussionContexts[id] = { previousDecisions: [], relatedFeatures: [], technicalConstraints: [], conversationHistory: [] }; // Return the first prompt return { content: [ { type: "text", text: `Feature discussion started for: ${title}\n\nFeature ID: ${id}\n\nFirst question:\n${FEATURE_DISCUSSION_PROMPTS[0].message}` } ] }; }
- src/index.ts:178-187 (schema)Input schema for the 'begin_feature_discussion' tool, defining a required 'title' string parameter.inputSchema: { type: "object", properties: { title: { type: "string", description: "Title or name of the feature" } }, required: ["title"] }
- src/index.ts:175-188 (registration)Registration of the 'begin_feature_discussion' tool in the ListToolsRequestSchema handler, including name, description, and input schema.{ name: "begin_feature_discussion", description: "Start a new feature discussion", inputSchema: { type: "object", properties: { title: { type: "string", description: "Title or name of the feature" } }, required: ["title"] } },