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

Nettoyage en lot des titres de tâches avec MCP : nommage cohérent en quelques minutes

Standardize task titles across your workspace using MCP. This batch editing playbook shows you how to list tasks matching a pattern, propose standardized titles, show a diff preview, and apply updates only after explicit approval.

Ce que ce workflow permet

Batch title cleanup with MCP standardizes task naming:

Résultats clés

  • Pattern matching: Find tasks with inconsistent naming patterns
  • Standardization: Propose consistent title formats
  • Diff preview: Show before/after comparison before changes
  • Batch updates: Apply standardized titles to multiple tasks
  • Approval workflow: Require explicit approval before any updates

Prérequis

Before using this workflow, ensure you have:

Workflow pas à pas

Step 1: Find Tasks Matching Pattern

Start by identifying tasks that need cleanup:

Pattern Matching Prompt

"Find tasks that need title cleanup. Look for tasks with: - Inconsistent capitalization (e.g., 'fix bug' vs 'Fix Bug') - Missing prefixes (e.g., tasks without '[Project]' prefix) - Inconsistent formats (e.g., 'Task: Do X' vs 'Do X') - Other patterns: [specify your pattern] Show me the list of tasks that match these patterns."

What the AI does:

  1. Calls list_tasks to get tasks
  2. Analyzes task titles for patterns
  3. Identifies tasks matching criteria
  4. Presents list of tasks needing cleanup

Step 2: Propose Standardized Titles

Generate consistent title formats:

Standardization Prompt

"For the tasks you found, propose standardized titles following this format: [specify format, e.g., '[Project] Verb: Description']. For each task, show: - Current title - Proposed standardized title - Reason for change Show me all proposed changes before applying any updates."

What the AI does:

  1. Analyzes each task title
  2. Applies standardization rules
  3. Generates proposed new titles
  4. Presents before/after comparison

Step 3: Show Diff Preview

Display a clear before/after comparison:

Diff Preview Prompt

"Show me a diff of all proposed title changes: - Format as: 'Current: [old title] → Proposed: [new title]' - Group by project or category - Highlight what will change Make it easy to review all changes at once."

What the AI does:

  1. Formats changes as clear diff
  2. Groups changes logically
  3. Highlights modifications
  4. Presents reviewable diff

Step 4: Get Approval

⚠️ Always Require Explicit Approval

When applying batch updates:

  • Show Diff First: Display all changes before applying
  • Approval Format: Provide copyable approval format
  • Confirmation Token: Require explicit "APPROVE ALL" or similar
  • Review Period: Give user time to review changes

Approval Request Prompt

"After showing the diff, ask for approval: 'Review the changes above. If you approve all changes, type: APPROVE ALL If you want to modify specific titles, tell me which ones to change. If you want to cancel, type: CANCEL' Wait for explicit approval before updating any tasks."

What the AI does:

  1. Shows diff preview
  2. Provides copyable approval format
  3. Waits for "APPROVE ALL" or modifications
  4. Only proceeds after explicit approval

Step 5: Apply Updates (After Approval)

Update tasks only after approval:

Batch Update Prompt

"Now apply the approved title changes: - Update each task title using update_task - Show progress: 'Updated task [ID]: [new title]' - Confirm each update was successful - Report any failures Only proceed if user typed 'APPROVE ALL'."

What the AI does:

  1. Verifies approval token
  2. Calls update_task for each approved change
  3. Reports progress and results
  4. Confirms successful updates

Complete Workflow Prompts

Here are complete, copy-paste ready prompts:

Full Batch Cleanup Workflow

"Clean up task titles in batch: 1. Find tasks with inconsistent naming (specify patterns) 2. Propose standardized titles following format: [format] 3. Show me a diff of all proposed changes 4. Wait for my approval 5. After I type 'APPROVE ALL', apply the updates 6. Report results Important: Don't update anything until I type 'APPROVE ALL'."

Use this when: You want a complete batch cleanup workflow

Quick Title Standardization

"Find tasks in project [Project Name] with inconsistent titles. Propose standardized titles following format '[Project] Verb: Description'. Show me the diff and wait for approval."

Use this when: You want to standardize titles for a specific project

Workflow Variants

Variant 1: Project Prefix Standardization

Add consistent project prefixes:

"Find tasks missing project prefixes. For each task, determine its project and propose adding '[Project Name]' prefix. Show diff and wait for approval."

What happens: AI adds consistent project prefixes to task titles

Variant 2: Capitalization Fix

Standardize capitalization:

"Find tasks with inconsistent capitalization. Standardize to Title Case (first letter of each word capitalized). Show diff and wait for approval."

What happens: AI standardizes capitalization across tasks

Variant 3: Format Standardization

Apply consistent title format:

"Standardize task titles to format: '[Type] Verb: Description' where Type is Bug/Feature/Task. Show diff and wait for approval."

What happens: AI applies consistent format template to all tasks

Example: Complete Batch Cleanup Session

Here's a real example of how a batch cleanup session flows:

User Prompt

"Find tasks in project 'API Redesign' with inconsistent titles. Standardize to format '[API] Verb: Description'. Show diff and wait for approval."

AI Response (Diff Preview)

Proposed Title Changes (5 tasks):

  • Current: "implement auth endpoints" → Proposed: "[API] Implement: Auth Endpoints"
  • Current: "Write tests" → Proposed: "[API] Write: Tests"
  • Current: "API: Document endpoints" → Proposed: "[API] Document: Endpoints"
  • Current: "fix bug in login" → Proposed: "[API] Fix: Bug in Login"
  • Current: "Update API docs" → Proposed: "[API] Update: API Docs"

Review the changes above. If you approve all changes, type: APPROVE ALL

Safety Patterns

⚠️ Approval Rules for Batch Updates

When applying batch title updates:

  • Always show diff: Display all changes before applying
  • Require explicit approval: Use "APPROVE ALL" token for batch operations
  • Provide copyable format: Make approval easy to copy/paste
  • Allow modifications: Let user modify specific titles before approval
  • Report results: Confirm each update was successful

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

Troubleshooting

Too Many Tasks Found

Symptom: Pattern matches too many tasks

Possible causes:

  • Pattern is too broad
  • Many tasks need cleanup

Fix: Narrow scope: "Find tasks in project [X] with pattern [Y]" or limit to specific date range

Proposed Titles Not Good

Symptom: Standardized titles don't match expectations

Possible causes:

  • Format specification was unclear
  • AI misunderstood the pattern

Fix: Provide examples: "Use this format: '[Project] Verb: Description'. Example: '[API] Implement: Auth Endpoints'"

Related Tools

This workflow uses these Corcava MCP tools:

Related Use Cases

Standardize Task Titles Automatically

Connect your AI assistant to Corcava and clean up task naming in minutes

Continue Reading

Progress updates with MCP

Routine that prompts the user for updates, then posts standardized progress comments to a curated list of tasks. Include...

Release planning with MCP

Release planning guide that collects tasks for a release, generates a checklist, and adds a release-notes draft comment....