post-code-review-to-pr

Post code review results to GitHub PRs as comments or formal reviews.

198|19|Updated May 7, 2026
One-click install
npx skills add https://github.com/testdouble/han --skill post-code-review-to-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-code-review-to-pr
Source: https://github.com/testdouble/han/tree/main/han-github/skills/post-code-review-to-pr
Command: npx skills add https://github.com/testdouble/han --skill post-code-review-to-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, jq, and includes scripts (resource) components.

What problem does it solve?

Automates the execution of a full code review and posts the results to a GitHub PR as comments or formal reviews.

Core Features & Use Cases

  • Orchestrates a full code review by invoking the /code-review skill and prepares a postable artifact.
  • Posts results to GitHub either as PR comments or as formal reviews depending on author and user context.
  • Builds the review body from the standard sections (Review Summary, Findings by severity, optional sections) and ensures clarity before posting.
  • Retrieves PR metadata via the pr-metadata script and posts results using the post-pr-comment.sh or post-pr-review.sh scripts.
  • Supports a post-processing clarity check to refine wording prior to public posting.
  • Optional fix plan workflow if issues are found.

Quick Start

Trigger this skill after completing a code review to publish the results to the PR on GitHub.

Frequently Asked Questions about post-code-review-to-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting code review results to a GitHub pull request?

You can automate posting code review results to a GitHub pull request by executing a full review and using scripts to publish the findings directly as PR comments or formal reviews.

What is the best way to format code review findings before posting them to a PR?

The best way to format code review findings is to build a review body from standard sections like Review Summary and Findings by severity, applying a post-processing clarity check to refine wording before posting.

Do I need the gh CLI to post PR comments and reviews to GitHub?

Yes, you need the gh CLI installed to post PR comments and reviews to GitHub. The automation requires gh to coordinate with metadata scripts and publish the final review body.

Can I post a formal GitHub review instead of just a comment on a pull request?

Yes, you can post a formal GitHub review instead of a comment. The posting method depends on the author and user context, utilizing dedicated scripts for either formal reviews or standard PR comments.

What is the process for retrieving pull request metadata before posting a code review?

Retrieving pull request metadata involves using a dedicated pr-metadata script within the workflow. This gathers the necessary PR context to properly craft and target the code review results before posting.

Are there limitations to what can be included when posting code reviews to GitHub PRs?

A limitation is that the review body must be read from a temporary file before posting, and the workflow requires both gh and jq dependencies to properly parse metadata and execute the posting scripts.