2.2 KiB
2.2 KiB
Create TASK PRP (Advanced)
Generate a comprehensive task list for focused changes with validation.
Task: $ARGUMENTS
Analysis Process
-
Scope Definition
- Identify all affected files
- Map dependencies
- Check for side effects
- Note test coverage
-
Pattern Research
- Find similar changes in history
- Identify conventions to follow
- Check for helper functions
- Review test patterns
-
User Clarification
- Confirm change scope
- Verify acceptance criteria
- Check deployment considerations
- Identify blockers
PRP Generation
READ Using TASK_PRP/PRPs/prp_task.md format:
Context Section
context:
docs:
- url: [API documentation]
focus: [specific methods]
patterns:
- file: existing/example.py
copy: [pattern to follow]
gotchas:
- issue: "Library requires X"
fix: "Always do Y first"
Task Structure
ACTION path/to/file:
- OPERATION: [specific change]
- VALIDATE: [test command]
- IF_FAIL: [debug strategy]
- ROLLBACK: [undo approach]
Task Sequencing
- Setup Tasks: Prerequisites
- Core Changes: Main modifications
- Integration: Connect components
- Validation: Comprehensive tests
- Cleanup: Remove temp code
Validation Strategy
- Unit test after each change
- Integration test after groups
- Performance check if relevant
- Security scan for sensitive areas
User Interaction Points
-
Task Review
- Confirm task breakdown
- Validate sequencing
- Check completeness
-
Risk Assessment
- Review potential impacts
- Confirm rollback approach
- Set success criteria
Critical Elements
- Include debug patterns
- Add performance checks
- Note security concerns
- Document assumptions
Output
Save as: TASK_PRP/PRPs/working-memory/{feature-name}/{task-name}.md
Quality Checklist
- All changes identified
- Dependencies mapped
- Each task has validation
- Rollback steps included
- Debug strategies provided
- Performance impact noted
- Security checked
- No missing edge cases
Remember: Small, focused changes with immediate validation.