Corcava logoLe seul outil métier dont vous avez besoinCorcava
Menu

Spec vers tâches avec MCP : convertir une spec fonctionnelle en arbre de tâches

Transform feature specifications into structured task trees using MCP. This guide shows you how to parse a pasted spec, create a task outline, add estimates and acceptance criteria, and create tasks using a two-pass approach with confirmation.

Ce que ce workflow permet

Spec to tasks workflow with MCP converts specifications into actionable work:

Résultats clés

  • Spec parsing: Analyze feature specifications and extract requirements
  • Task breakdown: Convert specs into structured task trees
  • Estimation: Add time estimates to tasks
  • Acceptance criteria: Generate acceptance criteria for each task
  • Two-pass creation: Outline first, then create tasks after confirmation

Prérequis

Before using this workflow, ensure you have:

Workflow pas à pas

Step 1: Provide Feature Spec

Start by pasting your feature specification:

Spec Input Prompt

"Convert this feature spec into tasks: [Paste feature specification here] Analyze the spec and create a task breakdown. Show me the outline first before creating any tasks."

What the AI does:

  1. Analyzes the feature specification
  2. Identifies components and requirements
  3. Breaks down into logical tasks
  4. Creates task hierarchy (parent/child relationships)
  5. Presents task outline for review

Step 2: Review Task Outline

Review and refine the proposed task structure:

Outline Refinement Prompt

"For the task outline you proposed, I want to make these changes: - Split '[Task Name]' into two separate tasks - Merge '[Task A]' and '[Task B]' into one task - Add a task for '[Additional Requirement]' - Remove '[Task Name]' as it's not needed Update the outline and show me the revised version."

What the AI does:

  1. Modifies task outline based on feedback
  2. Shows updated structure
  3. Waits for approval before creating tasks

Step 3: Add Estimates and Acceptance Criteria

Enhance tasks with estimates and criteria:

Enhancement Prompt

"For each task in the outline: - Add time estimates (in hours or days) - Propose acceptance criteria - Identify dependencies between tasks Show me the enhanced task list with estimates and criteria before creating tasks."

What the AI does:

  1. Analyzes each task for complexity
  2. Estimates time required
  3. Generates acceptance criteria
  4. Identifies task dependencies
  5. Presents enhanced task list

Step 4: Create Tasks (Two-Pass Approach with Confirmation)

⚠️ Always Confirm Before Creating Tasks

When creating tasks from specs:

  • Outline First: Show complete task structure before creating
  • Confirmation Token: Require "CONFIRM ALL" for batch creation
  • Review Details: Display title, description, estimate, acceptance criteria for each task
  • Verify Project: Confirm tasks go to the correct project

Safe Task Creation Prompt

"Now create all tasks from the outline in Corcava. But first: 1. Show me exactly what you'll create (all tasks with title, description, estimate, acceptance criteria, project) 2. Confirm which project these will be created in 3. Wait for me to type CONFIRM ALL 4. Only then create the tasks If I don't type CONFIRM ALL, don't create anything."

What the AI does:

  1. Shows complete task list with all details
  2. Confirms project name and ID
  3. Waits for "CONFIRM ALL"
  4. Only after confirmation, calls create_task for each task
  5. Confirms each task was created successfully

Step 5: Add Acceptance Criteria as Comments

Post acceptance criteria as comments on created tasks:

Criteria Posting Prompt

"For each task we just created, add the acceptance criteria as a comment. But first, show me what comments you'll add to each task. Wait for CONFIRM before adding any comments."

What the AI does:

  1. Shows preview of all acceptance criteria comments
  2. Waits for "CONFIRM"
  3. Only after confirmation, calls add_task_comment for each task

Complete Workflow Prompts

Here are complete, copy-paste ready prompts:

Full Spec to Tasks Workflow

"Convert this feature spec into tasks: [Paste spec] 1. Analyze the spec and create a task breakdown 2. Show me the task outline (don't create yet) 3. Wait for my approval 4. After approval, add estimates and acceptance criteria 5. Show me the enhanced task list 6. Wait for CONFIRM ALL 7. Create all tasks in project [Project Name] 8. Show me what acceptance criteria comments you'll add 9. Wait for CONFIRM 10. Add acceptance criteria as comments Important: Don't create or update anything until I type CONFIRM or CONFIRM ALL."

Use this when: You want a complete two-pass workflow

Quick Spec Breakdown

"Break down this feature spec into tasks. Show me the outline with estimates and acceptance criteria, but don't create tasks yet: [Paste spec]"

Use this when: You want to review the breakdown before creating

Workflow Variants

Variant 1: Hierarchical Task Tree

Create parent-child task relationships:

"Convert the spec into a hierarchical task tree: - Main feature as parent task - Components as child tasks - Sub-components as nested children Show the hierarchy clearly before creating."

What happens: AI creates structured task hierarchy

Variant 2: Sequential Task Flow

Order tasks by execution sequence:

"Convert the spec into tasks ordered by execution sequence. Identify dependencies and order tasks so prerequisites come first."

What happens: AI creates sequential task flow with dependencies

Example: Complete Spec to Tasks Session

Here's a real example of how a spec to tasks session flows:

User Prompt

"Convert this spec into tasks: Feature: User Dashboard - Display user profile information - Show recent activity feed - Include quick action buttons - Make it responsive for mobile Show me the outline first, then wait for CONFIRM ALL before creating."

AI Response (Task Outline)

Proposed Task Breakdown (6 tasks):

  • Task 1: Design user dashboard layout
    Estimate: 4 hours | Acceptance: Layout mockups approved
  • Task 2: Implement user profile display component
    Estimate: 6 hours | Acceptance: Profile displays correctly with all fields
  • Task 3: Build activity feed component
    Estimate: 8 hours | Acceptance: Feed shows last 10 activities, updates in real-time
  • Task 4: Add quick action buttons
    Estimate: 3 hours | Acceptance: Buttons trigger correct actions
  • Task 5: Implement responsive mobile layout
    Estimate: 6 hours | Acceptance: Dashboard works on mobile devices
  • Task 6: Write tests for dashboard components
    Estimate: 4 hours | Acceptance: All components have unit tests

Ready to create? Type CONFIRM ALL to create all 6 tasks in project 'User Dashboard'.

Safety Patterns

⚠️ Confirmation Rules for Task Creation

When creating tasks from specs:

  • Always outline first: Show complete task structure before creating
  • Require explicit confirmation: Use "CONFIRM ALL" for batch creation
  • Review details: Verify estimates, acceptance criteria, and project assignment
  • Two-pass approach: Outline → Review → Enhance → Confirm → Create

En savoir plus sur les workflows d'écriture sécurisés →

Troubleshooting

Tasks Too Granular

Symptom: AI created too many small tasks

Possible causes:

  • Spec was too detailed
  • AI broke down too much

Fix: Ask for consolidation: "Merge related tasks, keep it to 5-7 main tasks"

Missing Requirements

Symptom: Some spec requirements not in tasks

Possible causes:

  • Spec was ambiguous
  • AI missed implicit requirements

Fix: Provide clarification: "Also include tasks for [missing requirement]"

Related Tools

This workflow uses these Corcava MCP tools:

Related Use Cases

Convert Specs to Tasks Automatically

Connect your AI assistant to Corcava and transform feature specs into actionable tasks