Analyze the following task and create a clear, actionable implementation plan.
Task
$ARGUMENTS
Analysis Framework
1. Task Breakdown
- Understand requirements
- Identify dependencies
- List affected files/components
- Estimate complexity (Small/Medium/Large)
2. Time Estimation
- Small: 1-2 hours (simple bug fix, minor feature)
- Medium: Half day to 1 day (new component, API endpoint)
- Large: 2-5 days (complex feature, multiple integrations)
- Very Large: 1+ week (major refactor, new subsystem)
3. Risk Assessment
Identify potential blockers:
- Unknown dependencies
- API limitations
- Data migration needs
- Breaking changes
- Third-party service issues
4. Implementation Steps
Create sequential, logical steps:
- Setup/preparation
- Backend changes (if applicable)
- Frontend changes (if applicable)
- Testing
- Documentation
- Deployment
5. Success Criteria
Define "done":
- Feature works as specified
- Tests pass
- No regressions
- Code reviewed (if applicable)
- Documented
Output Format
Task Analysis
- Type: [Bug Fix / Feature / Refactor / Infrastructure]
- Complexity: [Small / Medium / Large / Very Large]
- Estimated Time: X hours/days
- Priority: [High / Medium / Low]
Implementation Plan
Phase 1: [Name] (Time estimate)
Phase 2: [Name] (Time estimate)
Files to Modify/Create
path/to/file.ext (modify)
path/to/new-file.ext (create)
lib/utils.ext (modify)
Dependencies
# Install dependencies using your package manager
# npm/pnpm/yarn: npm install package-name
# pip: pip install package-name
# cargo: cargo add package-name
# go: go get package-name
Testing Strategy
- Unit tests for X
- Integration tests for Y
- Manual testing steps
- E2E tests (if applicable)
Potential Issues
- Issue 1 and mitigation
- Issue 2 and mitigation
Next Steps
- Start with Phase 1, Step 1
- Test incrementally
- Commit often
Provide a clear, solo-developer-friendly plan that breaks down complex tasks into manageable steps.