Execute a numerically-prefixed plan file from the plans folder based on the provided argument.
- Read the plan file with prefix matching $ARGUMENTS from the plans folder
- Check
plans/index.mdto see if the plan file has changed since last worked (compare Last Modified vs Last Worked timestamps) - If the plan has changed since last work, note this before proceeding
- Ensure you understand the complete scope before beginning execution
- Progress Tracking: Update the plan document with your progress as you work
- Commit Strategy:
- Commit after each meaningful feature or fix is complete and working
- Each commit should represent a single logical unit of work
- Avoid bundling multiple unrelated changes in one commit
- Never commit broken or failing code (unless intentionally adding failing tests before implementation)
- Avoid mentioning Claude in commit messages
- Testing Approach:
- Focus on light-touch unit and integration testing initially
- Prioritize having passing tests over exhaustive coverage
- Ensure basic functionality works before expanding test coverage
- Read and understand the full plan first
- Break work into logical, committable chunks
- Update plan document with progress markers
- Test each piece as you complete it
- Commit working code with clear, descriptive messages
- Update Index: When you begin or end work on the plan, update
plans/index.md:- Set "Last Worked" to current timestamp when you start or finish a work session
- Update "Status" field based on your progress ("In Progress", "Completed", "Blocked", etc.)
- Update "Last Modified" from the actual plan file's modification time
- Set "Changed Since Work" to "Yes" if Last Modified is newer than Last Worked, "No" otherwise
- Update the index's "Last Updated" timestamp