Overview
The/qodo-pr-resolver skill fetches Qodo PR review issues and helps you fix them interactively or in batch. It streamlines the code review process by automatically addressing reviewer feedback.
Features
Fetch Issues
Pull PR review comments from Qodo
Interactive Mode
Review and fix issues one at a time
Batch Mode
Auto-fix all issues in one pass
Smart Fixes
Applies context-aware fixes following coding rules
Prerequisites
- Qodo API key configured in
.env - Active pull request with Qodo review
- Git repository with pending review issues
How to Apply
Interactive Mode (Default)
- Fetch PR review issues from Qodo
- Show each issue with file/line context
- Ask how you want to fix it
- Apply the fix
- Move to the next issue
Batch Mode
- Fetch all issues
- Attempt to fix all automatically
- Show summary of fixes applied
- List any issues requiring manual intervention
What It Does
Categorize issues
Groups by:
- Auto-fixable (style, formatting)
- Code changes needed (logic, structure)
- Manual review required (design decisions)
Apply fixes
For each issue:
- Shows file and line number
- Explains the problem
- Proposes a fix
- Applies if approved (interactive) or auto-applies (batch)
Usage Examples
Interactive Fix
Batch Fix
Configuration
Environment Variables
API key from Qodo platform
Default mode:
interactive or batch (default: interactive)Command Options
| Option | Description |
|---|---|
--batch | Auto-fix all issues without prompting |
--pr <number> | Specify PR number (auto-detected if omitted) |
--category <type> | Only fix specific category (style, logic, security) |
Issue Categories
Auto-fixable
- Code style and formatting
- Import organization
- Unused variables
- Simple refactorings
Code Changes
- Input validation
- Error handling
- Performance optimizations
- Security improvements
Manual Review
- Architecture changes
- Design decisions
- Complex refactorings
- Breaking changes
Verification
After fixes are applied:Troubleshooting
No issues found
No issues found
Verify:
- PR has Qodo review completed
- API key has access to the repository
- Correct branch is checked out
Fix failed to apply
Fix failed to apply
Check:
- File has been modified since review
- Merge conflicts exist
- Line numbers have shifted
Tests failing after fixes
Tests failing after fixes
Some fixes may need adjustment. Use:Then re-run in interactive mode to review each fix.
Best Practices
Start Interactive
Use interactive mode first to understand review feedback
Test After Each Fix
Run tests after applying fixes to catch issues early
Review Changes
Always review git diff before committing fixes
Commit Separately
Commit review fixes separately from feature work
Related Documentation
Get Qodo Rules
Load coding rules before tasks
Customization
Customize review workflow