I'll systematically find and resolve TODO comments in your codebase with intelligent understanding and continuity across sessions. Arguments: `$ARGUMENTS` - files, directories, or specific TODO patterns to fix
Installs into .claude/skills of the current project.
Are you the author of 2640 Fix Todos 2e6d1284?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2640-fix-todos-2e6d1284)
# Fix TODOs
I'll systematically find and resolve TODO comments in your codebase with intelligent understanding and continuity across sessions.
Arguments: `$ARGUMENTS` - files, directories, or specific TODO patterns to fix
## Session Intelligence
I'll maintain TODO resolution progress across sessions:
**Session Files (in current project directory):**
- `fix-todos/plan.md` - All TODOs found and resolution status
- `fix-todos/state.json` - Current progress and decisions
**IMPORTANT:** Session files are stored in a `fix-todos` folder in your current project directory
**Auto-Detection:**
- If session exists: Resume from last TODO
- If no session: Scan and create new plan
- Commands: `resume`, `status`, `new`
## Phase 1: Discovery & Analysis
**MANDATORY FIRST STEPS:**
1. Check if `fix-todos` directory exists in current working directory
2. If directory exists, check for session files:
- Look for `fix-todos/state.json`
- Look for `fix-todos/plan.md`
- If found, resume from existing session
3. If no directory or session exists:
- Scan entire codebase for TODOs
- Create categorized plan
- Initialize progress tracking
4. Show TODO summary before starting
I'll find and categorize all TODOs:
**TODO Detection:**
- TODO, FIXME, HACK, XXX markers
- Different priority levels
- Context and complexity assessment
- Related code understanding
**Smart Categorization:**
- **Quick fixes**: Simple validations, null checks
- **Features**: Missing functionality
- **Refactoring**: Code improvements
- **Security**: Safety and validation needs
- **Performance**: Optimization opportunities
## Phase 2: Resolution Planning
Based on analysis, I'll create a resolution plan:
**Priority Order:**
1. Security-critical TODOs
2. Bug-related TODOs
3. Simple improvements
4. Feature additions
5. Performance optimizations
I'll write this plan to `fix-todos/plan.md` with:
- Each TODO location and content
- Proposed resolution approach
- Risk assessment
- Implementation order
## Phase 3: Intelligent Resolution
I'll fix TODOs matching your code patterns:
**Pattern Detection:**
- Find similar implementations in your code
- Match your error handling style
- Use your validation patterns
- Follow your naming conventions
**Resolution Strategies:**
- Error handling → Your try/catch patterns
- Validation → Your input checking style
- Performance → Your optimization approach
- Security → Your safety patterns
## Phase 4: Incremental Implementation
I'll resolve TODOs systematically:
**Execution Process:**
1. Create git checkpoint
2. Fix TODO with contextual understanding
3. Verify functionality preserved
4. Update plan with completion
5. Move to next TODO
**Progress Tracking:**
- Mark each TODO as resolved in plan
- Update state file with decisions
- Create meaningful commits
## Phase 5: Verification
After each resolution:
- Run relevant tests
- Check for regressions
- Validate integration points
- Ensure code quality
## Context Continuity
**Session Resume:**
When you return and run `/fix-todos` or `/fix-todos resume`:
- Load existing plan and progress
- Show completion statistics
- Continue from last TODO
- Maintain all resolution decisions
**Progress Example:**
```
RESUMING TODO FIXES
├── Total TODOs: 47
├── Resolved: 23 (49%)
├── Current: src/api/auth.js:42
└── Next: src/utils/validation.js:15
Continuing resolution...
```
## Practical Examples
**Start Fixing:**
```
/fix-todos # Fix all TODOs
/fix-todos src/ # Focus on directory
/fix-todos "security" # Fix security TODOs
```
**Session Control:**
```
/fix-todos resume # Continue existing session
/fix-todos status # Check progress
/fix-todos new # Start fresh
```
## Safety Guarantees
**Protection Measures:**
- Git checkpoint before changes
- Incremental commits
- Functionality verification
- No TODO removal without implementation
**Important:** I will NEVER:
- Remove TODOs without fixing them
- Break existing functionality
- Add AI attribution
- Implement without understanding context
## Command Suggestions
After resolving critical TODOs:
- `/test` - To ensure fixes work correctly
- `/commit` - To save TODO resolutions
## What I'll Actually Do
1. **Scan comprehensively** - Find all TODOs with context
2. **Plan strategically** - Order by priority and risk
3. **Resolve intelligently** - Match your patterns
4. **Track meticulously** - Perfect session continuity
5. **Verify constantly** - Ensure quality maintained
I'll maintain complete continuity between sessions, always resuming exactly where we left off with full context of previous resolutions.