mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-12 23:01:21 +00:00
* feat: Add pre-commit review and PR template to issue-fixer-orchestrator - Add user confirmation step before committing changes - Handle large diffs (>2000 lines) with summary generation - Save PR message to temp directory instead of creating PR directly - Implement exact Roo Code PR template format - Add post-commit options for flexible PR creation - Update best practices and communication guidelines - Document new commit and PR workflow patterns * removed files that were added accidently
38 lines
No EOL
1.2 KiB
XML
38 lines
No EOL
1.2 KiB
XML
<common_patterns>
|
|
<bug_fix_pattern>
|
|
1. Reproduce the issue
|
|
2. Identify root cause
|
|
3. Implement minimal fix
|
|
4. Add regression test
|
|
5. Verify fix works
|
|
6. Check for side effects
|
|
</bug_fix_pattern>
|
|
|
|
<feature_implementation_pattern>
|
|
1. Understand all requirements
|
|
2. Design the solution
|
|
3. Implement incrementally
|
|
4. Test each component
|
|
5. Integrate components
|
|
6. Verify acceptance criteria
|
|
7. Add comprehensive tests
|
|
8. Update documentation
|
|
</feature_implementation_pattern>
|
|
|
|
<commit_and_pr_pattern>
|
|
1. Review git status to identify all changes
|
|
2. Stage only files from modified_files.json
|
|
3. Generate diff for review (full or summary based on size)
|
|
4. Create PR message and save to temp directory
|
|
5. Present changes to user for confirmation
|
|
6. Handle user response:
|
|
- If approved: commit and proceed to PR options
|
|
- If issues found: return to implementation
|
|
- If manual testing needed: wait for user
|
|
7. After commit, offer PR creation options:
|
|
- Create PR automatically
|
|
- Save PR message for manual creation
|
|
- Skip PR creation
|
|
8. Optionally monitor PR and offer cleanup
|
|
</commit_and_pr_pattern>
|
|
</common_patterns> |