Critères d'acceptation avec MCP : transformer les tâches vagues en résultats testables
Transform vague tasks into testable acceptance criteria using MCP. This playbook shows you how to read a task, propose clear acceptance criteria, and add them as a comment with confirmation—with examples for engineering, design, and ops tasks.
Ce que ce workflow permet
Acceptance criteria workflow with MCP clarifies task requirements:
Résultats clés
- Task analysis: Read and understand task context and requirements
- Criteria generation: Propose clear, testable acceptance criteria
- Domain-specific examples: Tailor criteria for engineering, design, and ops tasks
- Documentation: Add acceptance criteria as comments for tracking
- Quality improvement: Transform vague tasks into actionable, testable work
Prérequis
Before using this workflow, ensure you have:
- Corcava MCP server configured in your AI assistant
- API key with read access to tasks and comments
- Tasks that need acceptance criteria (vague or unclear requirements)
- For posting comments: API key with write permissions
Workflow pas à pas
Step 1: Read the Task
Start by getting the full task context:
Task Reading Prompt
What the AI does:
- Calls
get_taskto retrieve task details - Calls
list_task_commentsto get existing context - Analyzes task description and requirements
- Presents task context for analysis
Step 2: Analyze Requirements
Identify what needs to be clarified:
Requirements Analysis Prompt
What the AI does:
- Analyzes task description for clarity
- Identifies vague or ambiguous requirements
- Determines expected outcomes
- Considers edge cases and scenarios
Step 3: Propose Acceptance Criteria
Generate testable acceptance criteria:
Criteria Generation Prompt
What the AI does:
- Generates specific, testable criteria
- Ensures criteria are measurable
- Covers main requirements and edge cases
- Formats as clear list
- Presents criteria for review
Step 4: Add Criteria as Comment (with Confirmation)
⚠️ Always Confirm Before Posting Comments
When posting acceptance criteria as comments:
- Preview First: Show comment text before posting
- Confirmation Token: Require "CONFIRM" before adding comment
- Verify Task: Confirm which task the comment will be added to
Safe Comment Posting Prompt
What the AI does:
- Formats acceptance criteria as comment
- Shows comment preview
- Waits for "CONFIRM"
- Only after confirmation, calls
add_task_comment - Confirms comment was posted
Complete Workflow Prompts
Here are complete, copy-paste ready prompts:
Full Acceptance Criteria Workflow
Use this when: You want a complete workflow with full control
Quick Criteria Generation
Use this when: You want to review criteria before posting
Workflow Variants by Domain
Variant 1: Engineering Tasks
Focus on technical, testable criteria:
What happens: AI generates technical, code-testable criteria
Variant 2: Design Tasks
Focus on user experience and visual criteria:
What happens: AI generates UX/design-focused criteria
Variant 3: Operations Tasks
Focus on operational and process criteria:
What happens: AI generates operational, process-focused criteria
Example: Complete Acceptance Criteria Session
Here's a real example of how an acceptance criteria session flows:
User Prompt
AI Response (Criteria Proposal)
Proposed Acceptance Criteria:
- User can register with email and password (minimum 8 characters, must include uppercase, lowercase, and number)
- User can log in with valid credentials and receive an authentication token
- User cannot log in with invalid credentials (wrong password, non-existent email)
- Authentication token expires after 24 hours and user must re-authenticate
- User can reset password via email link
- All authentication endpoints return appropriate HTTP status codes (200, 401, 400)
Ready to add as comment? Type CONFIRM to post these criteria to the task.
Safety Patterns
⚠️ Confirmation Rules for Comment Posting
When posting acceptance criteria as comments:
- Always preview: Show comment text before posting
- Require explicit confirmation: Use "CONFIRM" token before adding comment
- Verify task: Confirm which task the comment will be added to
- Review criteria: Ensure criteria are clear and testable before posting
Troubleshooting
Criteria Too Vague
Symptom: Proposed criteria are still unclear
Possible causes:
- Task description is too vague
- AI needs more context
Fix: Provide more context: "Make criteria more specific for [domain]. Include [specific requirements]."
Too Many Criteria
Symptom: AI proposes too many acceptance criteria
Possible causes:
- Task is too complex
- AI is being overly thorough
Fix: Ask for focus: "Propose only the top 3-5 most important criteria"
Related Tools
This workflow uses these Corcava MCP tools:
get_task
Read task details for analysis
list_task_comments
Check existing context and comments
add_task_comment
Post acceptance criteria as comments
Related Use Cases
Sprint Planning
Add acceptance criteria during sprint planning
Task Handoff
Include acceptance criteria in handoffs
Clarify Task Requirements
Connect your AI assistant to Corcava and turn vague tasks into testable outcomes
