| name | pr-make-suggestion-edit |
| description | Review current PR and make improvement edits without committing. Use when: (1) User says 'suggestion edit', 'suggest improvements', or 'review and edit', (2) User wants code quality improvements as unstaged edits for selective PR creation. Companion to /pr-make-suggestion-to-pr. |
PR Make Suggestion Edit
Review the current PR comprehensively and make suggestion edits to improve code quality, without committing or pushing changes.
Review Process
Step 1: Understand Current PR Context
First, gather context about the current PR:
- Check current branch:
git branch --show-current
- View PR details:
gh pr view
- See what changes are in this PR:
git diff main...HEAD (or appropriate base branch)
- Review recent commits:
git log --oneline -10
Step 2: Run Comprehensive Reviews in Parallel
Run these two reviews simultaneously:
- Code-Reviewer Subagent Review (Primary Focus)
- Use Task tool with
subagent_type: "code-reviewer"
- Focus on structure, patterns, performance, accessibility, type safety, readability
- Codex Review (Secondary - cross-model security/correctness check)
- Invoke
/codex-review (OpenAI Codex CLI via the openai-codex plugin; silently falls back to Opus reviewers when codex is unavailable)
- Focus on the critical security and correctness issues it surfaces
Step 3: Analyze and Categorize Findings
Categorize findings by type and priority:
- Structural improvements
- Code quality
- Performance