| name | todo-management |
| description | Use when managing project tasks or tracking progress. Triggers on "TODO", "PLAN", "phase", "progress", "task tracking", "milestone", "archive phase", or project management questions. |
| allowed-tools | ["Read","Edit","Write","Glob"] |
TODO Management Best Practices
Purpose: Track phase progress in real-time and maintain accurate project status
Core Principles
1. Create TODO.md at Phase Start
cp .claude/TODO-TEMPLATE.md TODO.md
2. Update in Real-Time
- Mark tasks as [x] immediately after completion
- Update progress percentages after each session
- Add newly discovered tasks as they arise
- Move tasks between sections (Pending -> In Progress -> Completed)
3. Keep PLAN.md Synchronized
- After updating TODO.md, update corresponding sections in PLAN.md
- Mark completed phases in PLAN.md
- Update phase completion percentages
- Keep both files showing the same status
When to Update TODO.md
Start of Phase
During Work (Real-Time)
End of Session
End of Phase (IMPORTANT)
Why Archive Instead of Continuous:
- Keeps each phase focused and manageable
- Historical record of each phase's progress
- Prevents TODO.md from becoming too long
- Clear start/end boundaries for phases
- Easy to review what was accomplished in each phase
TODO.md Structure
Required Sections
1. Completed Tasks
## Completed Tasks
- [x] Task 1
- [x] Task 2
2. In Progress
## In Progress
### 1. Category Name
- [x] Subtask 1 (done)
- [ ] Subtask 2 (working on this)
- [ ] Subtask 3 (pending)
3. Progress Summary
## Progress Summary
**Phase:** 0.2 - Core Chat Components
**Status:** In Progress
**Overall Progress:** 60% Complete
**Total Tasks:** 5 major categories
**Completed:** 3
**In Progress:** 1
**Pending:** 1
4. Timestamp
_Last Updated: 2025-12-24_
_Progress tracked in real-time during implementation_
Quality Checklist
Before considering TODO.md complete:
Common Mistakes to Avoid
DON'T
- Don't wait until end of phase to update TODO.md
- Don't forget to mark tasks as complete [x]
- Don't let TODO.md and PLAN.md get out of sync
- Don't skip updating progress percentages
- Don't forget to commit TODO.md changes
- Don't leave outdated timestamps
DO
- Update TODO.md immediately after each task
- Keep progress summary accurate in real-time
- Sync PLAN.md with TODO.md regularly
- Update timestamps at end of each session
- Commit TODO.md changes to git
- Use TODO.md as source of truth for progress
Progress Calculation
Percentage Formula
Progress % = (Completed Tasks / Total Tasks) x 100
Example
**Total Tasks:** 10 major categories
**Completed:** 8
**In Progress:** 1
**Pending:** 1
**Overall Progress:** 80% Complete
Status Indicators
- 0-25%: Just Started
- 26-50%: In Progress
- 51-75%: Making Good Progress
- 76-99%: Nearly Complete
- 100%: Complete
Example Workflow
Completing Phase 0.1 and Starting Phase 0.2
Step 1: Complete Current Phase
Step 2: Archive Phase 0.1 TODO
mv TODO.md TODO-Phase-0.1.md
git add TODO-Phase-0.1.md
git commit -m "docs: archive Phase 0.1 TODO (100% complete)"
Step 3: Create Fresh TODO for Phase 0.2
cp .claude/TODO-TEMPLATE.md TODO.md
git add TODO.md
git commit -m "docs: create TODO.md for Phase 0.2"
Step 4: Update PLAN.md
# In PLAN.md, update:
## Phase 0.1: Project Setup & Foundation - 100% COMPLETE
**Status:** Complete - All foundation tasks done
## Phase 0.2: Core Chat Components - 0% IN PROGRESS
**Status:** In Progress - Starting component development
Directory Structure After Multiple Phases
angular-ai-kit/
TODO.md # Current phase (Phase 0.2)
TODO-Phase-0.1.md # Archived (100% complete)
TODO-Phase-0.2.md # Archived (when 0.2 is done)
PLAN.md # Overall project plan
.claude/
TODO-TEMPLATE.md # Template for new phases
TODO.md vs TodoWrite Tool
TODO.md (Project-Level)
- Tracks phase progress and major milestones
- Persists across sessions (git-tracked file)
- Used for long-term planning and phase completion
- Updated manually in markdown format
- Synchronized with PLAN.md
TodoWrite Tool (Session-Level)
- Tracks current task and immediate subtasks
- Temporary, session-specific tracking
- Used for real-time work and active development
- Updated automatically via tool
- Helps with focus during implementation
When to Use Each
Use TODO.md for:
- Starting a new phase
- Tracking overall phase progress
- End-of-session updates
- Reviewing what's been accomplished
- Planning what's next
Use TodoWrite tool for:
- Breaking down current task into steps
- Tracking active work in real-time
- Keeping user informed of progress
- Managing complex multi-step tasks
- During active implementation
Use Both Together:
- Check TODO.md to see what phase task to work on
- Use TodoWrite tool to break down and track that task
- When task is done, mark it [x] in TODO.md
- Repeat for next task
Phase Transition Checklist
Use this checklist when moving from one phase to another:
Ending Current Phase
Archiving Current Phase
Starting New Phase
Updating PLAN.md
Verification
This guide ensures consistent TODO.md management across all phases