Skip to content
Development
Command

/fix-pr-comments

Systematically resolve Pull Request review comments using gh CLI to fetch comments and apply requested changes.

From plugin
fusengine-agents
2233 skills43 agents33 commands
Install
$ npx -y skills add fusengine/agents --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/fix-pr-comments

Context preview

What this command does when you run it.

Systematically resolve Pull Request review comments using gh CLI to fetch comments and apply requested changes.

Command definition

fix-pr-comments.md
description: Systematically resolve Pull Request review comments using gh CLI to fetch comments and apply requested changes.
disable-model-invocation: false

Fix PR Comments

Systematically address all PR review comments:

1. **Fetch PR Comments**:

   gh pr view [PR_NUMBER] --comments
   gh api repos/{owner}/{repo}/pulls/[PR_NUMBER]/comments

2. **Categorize Comments**:

  • **Must Fix**: Blocking issues (security, bugs, breaking changes)
  • **Should Fix**: Code quality, performance, best practices
  • **Nice to Have**: Style preferences, minor suggestions
  • **Questions**: Clarifications needed

3. **Address Each Comment**: For each comment:

  • Locate relevant file and line
  • Understand the requested change
  • > Use research-expert if clarification needed on best practices
  • Apply fix following project patterns
  • Mark comment as resolved

4. **Run Quality Checks**: > Use sniper to ensure all changes maintain code quality

   bun run lint
   bun test

5. **Commit Fixes**:

   git commit -m "$(cat <<'EOF'
   fix: Address PR review comments

   - [Comment 1 fix]
   - [Comment 2 fix]
   - [Comment 3 fix]


   EOF
   )"

6. **Push and Notify**:

   git push
   gh pr comment [PR_NUMBER] --body "✅ All review comments addressed"

**Arguments**:

  • $ARGUMENTS specifies PR number or focuses on specific comment type

**Example Usage**:

  • `/fix-pr-comments 123` → Fix all comments for PR #123
  • `/fix-pr-comments` → Fix comments for current PR
Read more
Ships withfusengine-agents

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

Get the whole plugin, auto-invoked
Stats
22
Stars
1
Views
3
Forks
Active
Maintenance
CSS
Language
MIT
License
4d ago
Last commit
7mo ago
Created

Repo: fusengine/agents