skills/pr-review/SKILL.md
Review a pull request for spec alignment, architecture, tests, and docs. No code changes.
npx skillsauth add lightforgelabsstudio/aide pr-reviewInstall 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.
Review a PR against its linked issue and project constraints. Do not push fixes.
PR number or URL. Reviewer GitHub login (must not be PR author). Any custom concerns.
Before starting: check if <pr-slug>.findings.md exists. If it does, incorporate prior findings into this review.
Verify identity — Run gh api user --jq .login. If reviewer == PR author, stop and request an identity switch.
If you need a separate reviewer identity (e.g., work vs. personal account):
# One-time setup for a reviewer account
GH_CONFIG_DIR=~/.config/gh-reviewer gh auth login
# Then prefix all gh commands with GH_CONFIG_DIR=~/.config/gh-reviewer
GH_CONFIG_DIR=~/.config/gh-reviewer gh api user --jq .login
Load PR + spec — Run gh pr view <n> and gh pr diff <n>. Extract linked issue (Fixes #X) and read its full spec.
Review — Check:
main and inspect the full PR commit range before classifying it. If the failure appears anywhere in the PR range, treat it as branch-owned regression and review it as part of the PR. Do not label a failure as pre-existing unless that baseline comparison proves it.Report findings — Group by severity (Critical/Major/Minor) with path:line references. State a clear decision: approve / request changes / non-blocking.
Submit — Use /findings to write <pr-slug>.findings.md, OR submit via:
gh pr review <n> --request-changes --body "..."
Do not review as the PR author.
testing
Skeptical gap analysis for issues, ADRs, plans, and docs. Use when the user wants a second-pass check for missing decisions, contradictions, edge cases, hidden dependencies, scope drift, or readiness before implementation.
tools
Sync branch with remote and confirm a clean end-of-session state.
testing
Create or update an AIDE skill in .aide/skills with valid frontmatter and a concise workflow.
tools
Decompose an accepted spec (and its ADR, if one exists) into GitHub issues using the issue-creator tool.