Agent skill

Address PR Comments

by nex-agi in nex-agi/NexRL

Address GitHub PR review comments. An agent skill from nex-agi/NexRL.

Apache-2.0Auto-check passedDevelopment

Install Address PR Comments

skills CLI
$ npx skills add nex-agi/NexRL --skill address-pr-comments -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install nex-agi/NexRL address-pr-comments --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/nex-agi/NexRL.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/address-pr-comments .claude/skills/address-pr-comments && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
address-pr-comments
GitHub stars
119
Token cost
~420 tokens
SKILL.md length
67 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Apache-2.0

At a glance

Address GitHub PR review comments. An agent skill from nex-agi/NexRL.

  • Works in 7 steps: Find the Worktree → Fetch Unresolved Comments → Classify & Address → …
  • Tasks that involve Git worktrees
  • Calls git, python and gh
  • Tasks that involve Pull requests

What it does

Address PR Comments is an agent skill from nex-agi/NexRL. Address GitHub PR review comments. Navigate to correct worktree, make fixes, push updates.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Git worktrees and Pull requests. It works with GitHub. The repository describes itself as: NexRL is an ultra-loosely-coupled LLM post-training framework. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Git worktrees
  • Tasks that involve Pull requests

Example prompts

  • “/address-pr-comments”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Find the Worktree
  2. Fetch Unresolved Comments
  3. Classify & Address
  4. Format, Lint & Test
  5. Commit & Push
  6. Reply & Resolve Threads
  7. Update Issue Status

What it can do on your machine

Read from SKILL.md and the folder at commit 53dcdec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • python
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Address PR Comments loads about 420 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 67 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~28
When it runs · the whole SKILL.md, loaded when a task matches
~420

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from nex-agi/NexRL at commit 53dcdec, republished under its Apache-2.0 licence (© nex-agi). 67 words, ~420 tokens.

Download SKILL.mdSave it as .claude/skills/address-pr-comments/SKILL.md (or your agent's skills folder).
name
address-pr-comments
description
Address GitHub PR review comments. Navigate to correct worktree, make fixes, push updates.

Address PR Comments Workflow (Worktree-Aware)

Workflow

Step 1: Find the Worktree
bash
PR_NUM=<number>
BRANCH=$(gh pr view $PR_NUM --repo "$REPO" --json headRefName -q '.headRefName')

# Find and enter the worktree
git worktree list | grep "$BRANCH"
cd <worktree-path>
Step 2: Fetch Unresolved Comments
bash
gh api graphql -f query='
query {
  repository(owner: "china-qijizhifeng", name: "NexRL") {
    pullRequest(number: '$PR_NUM') {
      reviewThreads(first: 50) {
        nodes {
          id isResolved
          comments(first: 1) {
            nodes { id databaseId body path line }
          }
        }
      }
    }
  }
}'
Step 3: Classify & Address
  • A: Actionable → Make code changes
  • B: Discussable → Ask user for guidance
  • C: Informational → Resolve with acknowledgment
Step 4: Format, Lint & Test
bash
python -m black <changed_files>
python -m isort <changed_files>
python -m pylint <changed_files> --rcfile=.pylintrc -rn -sn
python -m pytest tests/ -v --tb=short
Step 5: Commit & Push
bash
git add -A
git commit -m "chore(pr): address review comments for #${PR_NUM}"
git push origin "$BRANCH"
Step 6: Reply & Resolve Threads

Reply to each addressed comment via gh API, then resolve the thread.

Step 7: Update Issue Status
bash
ISSUE_NUM=$(echo "$BRANCH" | grep -oP 'issue-\K\d+')
if [ -n "$ISSUE_NUM" ]; then
  gh issue comment "$ISSUE_NUM" --repo china-qijizhifeng/NexRL \
    --body "📝 PR comments addressed and pushed."
fi

© nex-agi, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/address-pr-comments of nex-agi/NexRL.

Open the folder on GitHubat commit 53dcdec

Compare with similar skills

Address PR Comments next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Address PR Comments compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Address PR Comments this skillnex-agi/NexRL119—~420Automated safety check: PassApache-2.0
Pre-Release PR Triagejamiepine/voicebox57k—~3.1kAutomated safety check: PassMIT
Codewhale Landing Workflowcodewhale-hq/Codewhale41k—~1.6kAutomated safety check: PassMIT
Clean Complete Branchesjtenniswood/espcontrol1.1k—~820Automated safety check: PassCustom licence
Cleanup Complete Branchesjtenniswood/esphome-media-player234—~670Automated safety check: PassCustom licence
Harness ContributingFairladyZ625/harness-anything225—~4.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Pre-Release PR Triage

    jamiepine/voicebox

    Sorts a backlog of open pull requests into must-merge, candidate, superseded and deferred, writes a triage doc and works the merge loop before a release.

    57k GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Codewhale Landing Workflow

    codewhale-hq/Codewhale

    Decides how verified work should reach main, directly, in a worktree or on an integration branch, while keeping contributor credit and respecting merge gates.

    41k GitHub stars~1.6k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Clean Complete Branches

    jtenniswood/espcontrol

    Clean up completed Git branches and worktrees for this repository both locally and on GitHub.

    1.1k GitHub stars~820 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Cleanup Complete Branches

    jtenniswood/esphome-media-player

    Clean up completed Git branches and worktrees for this repository, both locally and on GitHub.

    234 GitHub stars~670 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Harness Contributing

    FairladyZ625/harness-anything

    Contribute a public change to Harness Anything from a GitHub issue through an isolated worktree, scoped tests, manifest-selected gates, a complete bilingual PR body, review triage, and maintainer…

    225 GitHub stars~4.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Deep code review of the branch you are standing on, before it becomes a PR.

    29k GitHub stars~3.8k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from nex-agi/NexRL

  • Fix Issue

    nex-agi/NexRL

    Fix a GitHub issue using git worktree for isolation. An agent skill from nex-agi/NexRL.

    119 GitHub stars~733 tokensUpdated 22 days ago
    Auto-check passed
  • Code Review

    nex-agi/NexRL

    Code review for Python changes in NexRL, following project conventions.

    119 GitHub stars~395 tokensUpdated 22 days ago
    Auto-check passed
  • Git Commit

    nex-agi/NexRL

    Git commit workflow in a worktree with Python linting, formatting, and testing.

    119 GitHub stars~380 tokensUpdated 22 days ago
    Auto-check: notes
  • GitHub PR

    nex-agi/NexRL

    Create a GitHub PR from a worktree branch. An agent skill from nex-agi/NexRL.

    119 GitHub stars~367 tokensUpdated 22 days ago
    Auto-check passed
  • Testing

    nex-agi/NexRL

    Run tests and linting for NexRL Python project. An agent skill from nex-agi/NexRL.

    119 GitHub stars~350 tokensUpdated 22 days ago
    Auto-check passed

Works with

Categories

Questions about Address PR Comments

What does Address PR Comments do?

Address GitHub PR review comments. An agent skill from nex-agi/NexRL. Address PR Comments is an agent skill from nex-agi/NexRL. Address GitHub PR review comments.

When should I use Address PR Comments?

Address PR Comments fits situations like: tasks that involve Git worktrees; tasks that involve Pull requests.

How do I install Address PR Comments in Claude Code?

Run `npx skills add nex-agi/NexRL --skill address-pr-comments -a claude-code`. Or copy the skill folder (.claude/skills/address-pr-comments in nex-agi/NexRL) into .claude/skills/address-pr-comments in your project. Claude Code loads it when a task matches its description.

How do I install Address PR Comments in Codex?

Run `npx skills add nex-agi/NexRL --skill address-pr-comments -a codex`. Or copy the skill folder (.claude/skills/address-pr-comments in nex-agi/NexRL) into .agents/skills/address-pr-comments in your project. Codex loads it when a task matches its description.

Can I use Address PR Comments in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add nex-agi/NexRL --skill address-pr-comments -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/address-pr-comments, .gemini/skills/address-pr-comments, .github/skills/address-pr-comments and .opencode/skills/address-pr-comments in your project.

What does Address PR Comments need to run?

Going by SKILL.md and its folder, Address PR Comments needs the command-line tools its instructions call (git, python and gh). Our summary lists: Python 3.

Does Address PR Comments access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Address PR Comments safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Address PR Comments use?

Address PR Comments is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Address PR Comments use?

About 420 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Address PR Comments?

Skills that share tags, products or a category with Address PR Comments: Pre-Release PR Triage (jamiepine/voicebox, 57k stars), Codewhale Landing Workflow (codewhale-hq/Codewhale, 41k stars), Clean Complete Branches (jtenniswood/espcontrol, 1.1k stars) and Cleanup Complete Branches (jtenniswood/esphome-media-player, 234 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Address PR Comments?

nex-agi (a GitHub organization) maintains it in nex-agi/NexRL, which has 119 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on September 17, 2026.

Source: nex-agi/NexRL on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.