Skip to content
fix-pr-review logo

Fix PR Review Workflow

fix-pr-review

Address PR review comments by selecting appropriate skills based on modified files. Use when fixing review feedback on pull requests.

SKILL.md

Full skill instructions

Fix PR Review Workflow

Workflow for addressing review comments on pull requests.

Prerequisites

  • PR number is required
  • Use git-workflow Skill for commit conventions

Process Overview

1. Fetch PR details
2. Get review comments
3. Classify by file type
4. Load appropriate development skill
5. Fix each comment
6. Run verification
7. Push changes

Step 1: Fetch PR Information

# Get PR details
gh pr view {pr_number}

# Get PR diff to see modified files
gh pr diff {pr_number} --name-only

# Get review comments
gh api repos/​{owner}/​{repo}/​pulls/​{pr_number}/​comments

Step 2: Classify by Modified Files

Files ModifiedDevelopment Skill
internal/, pkg/, cmd/, *.gogo-development
apps/​ripple-lib-server/, *.tstypescript-development
apps/​erc20-token/​contracts/, *.solsolidity-development
scripts/, *.shshell-scripts
Makefile, make/​*.mkmakefile-update
tools/​atlas/, *.sql, *.hcldb-migration
docs/, *.mddocs-update

Step 3: Load Development Skill

Based on classification, load the appropriate skill:

SkillPath
Go.claude/​skills/​go-development/​SKILL.md
TypeScript.claude/​skills/​typescript-development/​SKILL.md
Solidity.claude/​skills/​solidity-development/​SKILL.md
Shell.claude/​skills/​shell-scripts/​SKILL.md
Makefile.claude/​skills/​makefile-update/​SKILL.md
Database.claude/​skills/​db-migration/​SKILL.md
Docs.claude/​skills/​docs-update/​SKILL.md

Step 4: Address Comments

Priority Order

  1. Security - Address security concerns first
  2. Functionality - Fix bugs or logic issues
  3. Code Quality - Style, naming, documentation

Comment Categories

CategoryAction
Bug fix requestedFix the issue, add test if applicable
Refactoring suggestionApply if improves readability
Style/​namingFollow project conventions
DocumentationAdd/​update comments
QuestionRespond in code comment or PR

Step 5: Run Verification

Run verification commands from the loaded development skill:

Go Files

make go-lint && make tidy && make check-build && make gotest

TypeScript Files

cd apps/​ripple-lib-server && npm run lint && npm run build && npm test

Shell Scripts

make shfmt

Multiple Languages

If PR modifies multiple file types, run all applicable verification commands.

Step 6: Commit and Push

# Stage changes
git add .

# Commit with descriptive message
git commit -m "$(cat <<'EOF'
fix(scope): address PR review comments

- Fix: [specific fix 1]
- Fix: [specific fix 2]
- Update: [update description]
EOF
)"

# Push to update PR
git push

Common Review Patterns

Error Handling (Go)

Review comment: "Missing error context"

// Before
return err

// After
return fmt.Errorf("failed to create wallet: %w", err)

Logging Security

Review comment: "Don't log sensitive data"

// Before
log.Info("Processing key", "key", privateKey)

// After
log.Info("Processing key", "keyID", keyID)

Code Duplication

Review comment: "Extract to helper function"

// Before: Duplicated code in multiple places

// After: Create helper function
func helperFunction(params) result {
    // extracted logic
}

Related Skills

  • go-development - Go code changes
  • typescript-development - TypeScript changes
  • shell-scripts - Shell script changes
  • git-workflow - Branch and commit workflow

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View