skills/gh-review-suggestions/SKILL.md
Review GitHub pull requests and post precise inline suggested changes with GitHub suggestion blocks. Use when asked to review a PR, leave actionable GitHub comments, propose applyable fixes, or submit review suggestions through gh.
npx skillsauth add shipshitdev/library gh-review-suggestionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Inputs:
Outputs:
Creates/Modifies:
External Side Effects:
Confirmation Required:
Delegates To:
code-review for local bug-focused reviewgh-address-comments when addressing existing review feedbackgh-fix-ci when failing checks explain the review findingVerify context:
gh auth status -h github.com
gh pr view <pr> --json number,url,headRefOid,commits,files,reviewDecision
REPO_TMP="$(git rev-parse --show-toplevel)/.tmp"
mkdir -p "$REPO_TMP"
gh pr diff <pr> > "$REPO_TMP/pr.diff"
Review changed files, not the whole repository. Focus on:
Use inline suggestions only for mechanical, local changes:
Explain why this concrete change is needed.
```suggestion
replacement code
```
Use normal comments for architecture, product, design, or multi-file changes.
Validate the target line is in the PR diff:
node ${CLAUDE_SKILL_DIR}/scripts/diff-line-position.mjs \
--diff "$REPO_TMP/pr.diff" \
--path src/example.ts \
--line 42
Draft comments and get approval before posting.
Prefer modern line/side API fields when posting comments:
COMMIT_ID="$(gh pr view <pr> --json commits --jq '.commits[-1].oid')"
gh api \
--method POST \
/repos/<owner>/<repo>/pulls/<pr>/comments \
-f body="$(cat "$REPO_TMP/comment.md")" \
-f commit_id="$COMMIT_ID" \
-f path="src/example.ts" \
-F line=42 \
-f side=RIGHT
If targeting an older GitHub Enterprise instance that requires position,
use the helper output's position field.
Summarize what was posted:
development
Coordinates a weekly engineering review of board accuracy, recent code changes, operational health, and scoped cleanup. Use for a recurring repository health review or a review of the last several days.
testing
Audits project board configuration and prepares explicitly requested setup, copy, or normalization changes while preserving the existing workflow and provider boundaries. Use when inspecting a board's fields, columns, scope, or configuration.
testing
Reconciles a project board with current work and delivery evidence, reports incomplete coverage and metadata gaps, and applies only approved provider-supported field changes. Use when auditing board drift, reviewing blocked work, or assessing upcoming delivery.
development
Walk through how a subsystem works. Use for "how does X work", code walkthroughs before changing something, and placement or ownership questions. Explains architecture, runtime flow, and onboarding mental models. Can critique architecture. Use why for motivation.