leobo96

Leo Apply PR Comments — Git skill for Claude Code

Git community

Gather a PR's review comments and replies, turn each new one into a rule with /leo-add-rule, then apply them to the code.

How to install Leo Apply PR Comments

Installs to ~/.claude/skills/leobo96-leo-agent-harness-leo-apply-pr-comments/SKILL.md

Terminal
mkdir -p ~/.claude/skills/leobo96-leo-agent-harness-leo-apply-pr-comments && curl -fsSL https://raw.githubusercontent.com/leobo96/leo-agent-harness/HEAD/commands/leo-apply-pr-comments.md -o ~/.claude/skills/leobo96-leo-agent-harness-leo-apply-pr-comments/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Leo Apply PR Comments does


description: Gather a PR's review comments and replies, turn each new one into a rule with /leo-add-rule, then apply them to the code argument-hint: [PR number, default the current branch's PR]

Apply the review comments of PR $ARGUMENTS (default: the PR of the current branch).

  1. Gather. Fetch every review thread with its replies, plus the PR-level comments: `gh api graphql -f query='query{repository(owner:"",name:""){pullRequest(number:){reviewThreads(first:100){nodes{

Alternatives in Git

  • Fix PR — by metabase - Fetches and fixes unresolved PR comments by automatically retrieving feedback, addressing review 46.5k ★
  • Gh Address Comments — Address review and issue comments on open GitHub PRs via CLI 14.6k ★
  • GitHub Review PR — Use when a PR needs full review — resolves merge conflicts with the base first, then fixes CI failures, then a 1.5k ★

Full documentation available on GitHub

View Source Repository