Agent skill · Code Review & Quality

post-code-review-to-pr

Run a full pull request review and post review comments directly to the current branch's GitHub PR. Requires the gh CLI to be installed and a PR to already exist for the current branch. Use when you want review feedback posted to GitHub as PR comments. For local code review without posting to GitHub, use code-review instead. Does not write or update PR descriptions — use update-pr-description for that.

testdoublegithub.com/testdoubleGitHub ↗
claude-codecan modify filesships scriptsMIT
Install
npx skills add testdouble/han --skill post-code-review-to-pr --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 5
SKILL.md size: 6 KB
Bundled scripts: yes
Allowed tools: Bash(jq*)Bash(gh*)Bash(git*)Bash(make*)Bash(npm*)ReadWrite
Path: han-github/skills/post-code-review-to-pr/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 154
Language: Shell

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

When running a PR code review, follow the process outlined here. ## Pre-requisites - gh CLI: !`which gh 2>/dev/null || echo "not installed"` - jq: !`which jq 2>/dev/null || echo "not installed"` If `gh` is not found, inform the user it must be installed and configured; if `jq` is not found, inform the user it must be installed. In either case, immediately stop. ## Project Context - current branch: !`git branch --show-current 2>/dev/null || echo unknown` - default branch: !`git symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null || echo unknown` - changed files: !`gh pr diff --name-only 2>/dev/null || echo "no pr"` - personal config directory: !`echo "${CLAUDE_CONFIG_DIR:-$HOME/.claude}"` - project .han/config.md: !`cat .han/config.md 2>/dev/null || echo ""` As your first action, use the Read tool on `.han/config.md` inside the `personal config directory` path above. A read that returns no file is no personal configuration: continue silently. When that file or the `project .han/config.md` probe supplies content, apply it per [config-rule.md](../../references/config-rule.md), which governs precedence between the two files, relative-path resolution, and what to do with a file th

What's inside
Steps it walks through
  1. Pre-requisites
  2. Project Context
  3. Step 1: Validate PR State
  4. Step 2: Run Code Review
  5. Step 3: Offer to Post Review to GitHub
  6. Step 4: Pre-Post Clarity Check
  7. Step 5: Offer to Create Fix Plan (Only If Issues Found)
Ships with 4 files
  • scripts/create-review-tempfile.sh
  • scripts/post-pr-comment.sh
  • scripts/post-pr-review.sh
  • scripts/pr-metadata.sh
More from han
All skills →
About this skill
What does the post-code-review-to-pr skill do?

Run a full pull request review and post review comments directly to the current branch's GitHub PR. Requires the gh CLI to be installed and a PR to already exist for the current branch. Use when you want review feedback posted to GitHub as PR comments. For local code review without posting to GitHub, use code-review instead. Does not write or update PR descriptions — use update-pr-description for that.

How do I install it?

Run `npx skills add testdouble/han --skill post-code-review-to-pr --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From testdouble/han, a repository with 154 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going