Generate properly formatted TodoWrite lists for orchestrator progress tracking. Use when creating phase checklists, updating task status, or ensuring consistent todo formatting.
Create properly structured todo lists for TodoWrite tool with correct status and activeForm fields.
Accept array of todo items with status.
Expected Input:
{
"todos": [
{
"content": "Phase 1: Discovery",
"status": "completed"
},
{
"content": "Phase 2: Implementation",
"status": "in_progress"
},
{
"content": "Phase 3: Validation",
"status": "pending"
}
]
}
Create activeForm for each todo based on content.
Rules:
Ensure status is valid TodoWrite value.
Valid Statuses:
pending: Not startedin_progress: Currently activecompleted: FinishedStructure data for TodoWrite tool.
Expected Output:
{
"todos": [
{
"content": "Phase 1: Discovery",
"status": "completed",
"activeForm": "Discovering and analyzing"
},
{
"content": "Phase 2: Implementation",
"status": "in_progress",
"activeForm": "Implementing changes"
},
{
"content": "Phase 3: Validation",
"status": "pending",
"activeForm": "Validating results"
}
]
}
Input:
{
"todos": [
{"content": "Phase 0: Pre-flight validation", "status": "completed"},
{"content": "Phase 1: Bug detection", "status": "in_progress"},
{"content": "Phase 2: Bug fixes", "status": "pending"},
{"content": "Phase 3: Verification", "status": "pending"}
]
}
Output:
{
"todos": [
{
"content": "Phase 0: Pre-flight validation",
"status": "completed",
"activeForm": "Validating pre-flight checks"
},
{
"content": "Phase 1: Bug detection",
"status": "in_progress",
"activeForm": "Detecting bugs"
},
{
"content": "Phase 2: Bug fixes",
"status": "pending",
"activeForm": "Fixing bugs"
},
{
"content": "Phase 3: Verification",
"status": "pending",
"activeForm": "Verifying fixes"
}
]
}
Input:
{
"todos": [
{"content": "Run type check", "status": "completed"},
{"content": "Run build", "status": "completed"},
{"content": "Run tests", "status": "in_progress"}
]
}
Output:
{
"todos": [
{
"content": "Run type check",
"status": "completed",
"activeForm": "Running type check"
},
{
"content": "Run build",
"status": "completed",
"activeForm": "Running build"
},
{
"content": "Run tests",
"status": "in_progress",
"activeForm": "Running tests"
}
]
}
Input:
{
"todos": [
{"content": "Fix critical bugs", "status": "completed"},
{"content": "Fix high-priority bugs", "status": "in_progress"},
{"content": "Fix medium-priority bugs", "status": "pending"}
]
}
Output:
{
"todos": [
{
"content": "Fix critical bugs",
"status": "completed",
"activeForm": "Fixing critical bugs"
},
{
"content": "Fix high-priority bugs",
"status": "in_progress",
"activeForm": "Fixing high-priority bugs"
},
{
"content": "Fix medium-priority bugs",
"status": "pending",
"activeForm": "Fixing medium-priority bugs"
}
]
}
template.json: TodoWrite format template (see Supporting Files section)