Docs
HomeClaude Code PRO
Blog

Getting Started

  • Documentation
  • Claude Code Setup
  • Claude Code Configuration
  • Claude Code Security

Claude Code PRO

  • guideCheatsheet
  • skill/apex
  • skill/brainstorm
  • skill/debug
  • skill/clean-code
  • skill/review-code
  • skill/ci-fixer
  • skill/claude-memory
  • skill/create-prompt
  • skill/create-slash-commands
  • skill/prompt-creator
  • skill/create-skills-workflow
  • skill/skill-creator
  • skill/hook-creator
  • skill/subagent-creator
  • scriptStatusline
  • scriptCommand Validator
  • scriptAuto-Rename Session
  • scriptClaude Code AI
  • agentSnipper
  • agentCode Reviewer
  • agentExplore Codebase
  • agentExplore Docs
  • agentAction
  • agentWeb Search
  • cmd/oneshot
  • cmd/refactor
  • cmd/ultrathink
  • cmd/commit
  • cmd/create-pr
  • cmd/fix-pr-comments
  • cmd/merge
  • cmd/fix-errors
  • cmd/utils/fix-grammar
  • cmd/copywriting

/fix-pr-comments

Fetch PR review comments and implement all requested changes.

Systematically address ALL unresolved review comments until PR is approved.

Usage

BASH
/fix-pr-comments
/fix-pr-comments 123

Allowed Tools

  • Bash (gh, git)
  • Read
  • Edit
  • MultiEdit

Workflow

  1. FETCH COMMENTS: Gather all unresolved PR feedback

    • Identify PR via gh pr status
    • Get review comments and inline code comments
    • Stop if no PR found
  2. ANALYZE & PLAN: Map feedback to specific actions

    • Extract exact file:line references
    • Group changes by file for batching
    • Create checklist to track progress
    • STAY IN SCOPE: only fix requested changes
  3. IMPLEMENT FIXES: Address each comment systematically

    • Read target files before editing
    • Use MultiEdit for same-file modifications
    • Make exactly what reviewer requested
    • Track progress via checklist
  4. COMMIT & PUSH: Submit all fixes as single commit

    • Stage all changes
    • Commit with message: fix: address PR review comments
    • Push to update PR
    • Verify with gh pr view

Execution Rules

  • NON-NEGOTIABLE: Every unresolved comment MUST be addressed
  • CRITICAL: Read files BEFORE any edits
  • MUST use exact file paths from review comments
  • FORBIDDEN: Style changes beyond reviewer requests
  • On failure: Return to ANALYZE phase

Priority

Reviewer requests > Everything else. Fix ONLY what was requested.

/create-pr/merge