Manage Todo
Purpose
Manage ./todo.md in project root with task state tracking, TodoWrite synchronization, and ADR-governed refactor support. Primary use: Claude proactively creates/updates todos when detecting multi-step work.
CRITICAL: Todo File Location
Use ./todo.md for 95% of work (this skill)
| Use This Skill | Session Todo (rare) |
|---|---|
| Bug fixes, features, refactors | Temporary spikes only |
| Multi-step work, team coordination | Throwaway research |
| Work committed to git | Quick experiments (<1hr) |
| If unsure → use this skill |
Session todos: .claude/artifacts/YYYY-MM-DD/todos/todo-{name}.md
When to Use
Agent-Initiated (PRIMARY)
PROACTIVELY invoke when Claude detects:
- •"I need to create a todo to track this work"
- •"User has given me multiple tasks to coordinate"
- •"This is complex enough to warrant tracking"
User-Initiated
When user requests:
- •"Create a todo for [feature]"
- •"Update task [N] to [state]"
- •"Track these tasks"
NOT to Use
- •Single, straightforward tasks
- •Trivial operations (<3 steps)
- •Purely informational requests
Quick Start
Creating a Todo
- •Read project context
- •Create
./todo.mdwith structured tasks - •Assign states (🔴 pending by default)
- •Add acceptance criteria
- •Sync with TodoWrite
Updating State
- •Read
./todo.md - •Update task state: 🔴 → 🟡 → 🟢
- •Update TodoWrite to match
- •Update progress summary
Checking Progress
- •Read
./todo.md - •Calculate completion %
- •Identify blockers
- •Suggest next actions
Basic Todo Structure
# Todo: [Feature Name] Date: YYYY-MM-DD ## Objective [Clear statement of goal] ## Tasks ### Task 1: [Title] **Status:** 🔴 Not Started | 🟡 In Progress | 🟢 Complete **Priority:** High | Medium | Low **Description:** What needs to be done. **Acceptance Criteria:** - [ ] Functionality implemented - [ ] Tests pass - [ ] Code follows conventions ## Progress Summary - Total: X | Completed: Y (Z%)
Task States
| State | Meaning |
|---|---|
| 🔴 Pending | Not started |
| 🟡 In Progress | Actively working |
| 🟢 Complete | Acceptance criteria met |
| ⚫ Blocked | Waiting on dependency |
Integration Requirements (CRITICAL)
Prevents "done but not integrated" failures.
The CCV Principle
| Phase | What It Proves |
|---|---|
| CREATION | Artifact exists |
| CONNECTION | Wired into system |
| VERIFICATION | Works at runtime |
Missing any phase = NOT complete
Four Questions Test
Before "done", answer ALL:
- •How do I trigger this?
- •What connects it to the system?
- •What proves it runs?
- •What shows it works?
Three-Phase Todo Pattern
For integration work:
### Phase 1: CREATION - [ ] Create [module] - [ ] Unit tests pass ### Phase 2: CONNECTION - [ ] Import in [consumer] - [ ] Register in [system] - [ ] Verify: `grep "module" src/` ### Phase 3: VERIFICATION - [ ] Integration test passes - [ ] Execution logs attached - [ ] Expected outcome observed
See: references/integration-requirements.md
Key Integrations
TodoWrite Synchronization
Rule: todo.md is source of truth
Update todo.md → Update TodoWrite → Verify sync
Refactor/Migration Tracking
Rule: Refactors REQUIRE an ADR
- •Detect refactor keywords
- •Invoke
validate-refactor-adrskill - •If no ADR: STOP, instruct user to create
- •If ADR exists: Use enhanced template
Task Sizing
Good size:
- •1-4 hours of focused work
- •Clear deliverable
- •Single responsibility
- •Testable outcome
Too large: "Implement entire auth system" Too small: "Add import statement"
Enforcement Rules
- •No Create Without Connect — Creation needs connection tasks
- •No Connect Without Verify — Connection needs verification
- •No Verify Without Evidence — Attach proof when checking
- •Phase 3 Blocks Completion — Cannot complete without runtime proof
Supporting Files
References
- •references/reference.md - Task states, sync protocol, refactor tracking
- •references/integration-requirements.md - CCV principle, patterns
Templates
- •templates/todo-templates.md - Five use-case templates
- •templates/refactor-todo-template.md - ADR-governed refactor
- •templates/integration-verification-checklist.md - Integration verification
Examples
- •examples/examples.md - Workflows and examples
Red Flags
| Anti-Pattern | Why Bad |
|---|---|
| Todos for trivial tasks | Overhead exceeds value |
| Vague descriptions | No clear acceptance criteria |
| Refactor without ADR | Violates policy |
| TodoWrite out of sync | Breaks single source of truth |
| Tasks too large/small | Poor granularity |
| Session todo for production work | Should use ./todo.md |
Success Metrics
| Metric | Target |
|---|---|
| Context reduction | 80% vs agent prompts |
| Sync accuracy | 100% todo.md ↔ TodoWrite |
| ADR compliance | 100% for refactors |
| Integration verification | All Phase 3 tasks have evidence |
Version: 2.0.0 | Updated: 2025-12-07