/skills:piv-review-pr <pr-number | pr-url | branch> [--approve | --request-changes]from Cole's AI Skills
Fetches a GitHub PR, runs project validation, reviews diff via code-reviewer agent, categorizes issues by severity, and posts verdict (approve/request-changes/comment) to GitHub. Acts as a gate before human approval.
Ships in Cole's AI Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Input: $ARGUMENTS
The point of this skill is fresh eyes: it reviews the PR in a clean context — not the context that wrote
the code — and can hand the deep analysis to the code-reviewer agent, which is the whole reason the review
catches what the author's own context rationalizes away. It posts its verdict on the PR, then a human makes
the final call.
Resolve the input to a PR number (a number, a URL, or a branch via
gh pr list --head <branch> --json number -q '.[0].number'). Then:
gh pr view {N} --json number,title,body,author,headRefName,baseRefName,state,additions,deletions,changedFiles,files
gh pr diff {N}
gh pr checkout {N}
State guard: MERGED/CLOSED → stop ("nothing to review"); DRAFT → review direction, don't approve/block.
CLAUDE.md + any .claude/references/ — the project's standards are the review rubric.piv-implement wrote one — .claude/reports/*{branch}*) + its plan: read the
documented deviations. A documented deviation is an intentional decision, not an issue — only flag
undocumented divergences. (No report? Review normally and note its absence.)Run the project's real suite (the piv-validate skill, or the plan's validation commands) — tests, type-check,
lint, build. Capture pass/fail + counts. A red suite is a finding in itself.
Hand the deep pass to a code-reviewer subagent if the project has one (.claude/agents/code-reviewer.md); otherwise review in this session, in a clean context — it reviews against the
project's standards and reports high-confidence issues only. Read every changed file in full (not just the
diff) for context. Cover: correctness · type safety · pattern/standards compliance · security · performance ·
tests present · maintainability.
Categorize every issue by severity:
| Severity | Meaning |
|---|---|
| Critical | Blocking — security, data loss, crashes |
| High | Should fix before merge — type-safety holes, missing error handling, logic errors |
| Medium | Pattern inconsistencies, missing edge cases, undocumented deviations |
| Low | Suggestions, minor polish |
Acknowledge what's done well, too — review is constructive, not just a defect list.
--approve / --request-changes flag, but never approve over an unresolved critical issue.Write the report to .claude/code-reviews/pr-{N}-review.md (summary · issues by severity with file:line + fix ·
validation table · what's good · recommendation). Then post it:
# approve
gh pr review {N} --approve --body-file .claude/code-reviews/pr-{N}-review.md
# request changes
gh pr review {N} --request-changes --body-file .claude/code-reviews/pr-{N}-review.md
# or just comment (draft PRs / advisory)
gh pr comment {N} --body-file .claude/code-reviews/pr-{N}-review.md
Print: PR number/URL · issue counts by severity · validation results · the recommendation. Then hand off:
"Posted on the PR. A human now reviews the code + this review and merges." If there are issues, the natural
next step is piv-fix-review-findings on the report, then re-run validation.
code-reviewer agent be the clean
context). Don't review with the session that wrote the code; it rationalizes instead of scrutinizing.What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/ablate-ai-layerMeasure whether a repository's AI instructions still earn their place, by running the same real task many times with the layer intact and with it stripped, then grading every rule against what actually changed. Runs both arms itself in throwaway git worktrees and never touches the working tree. Agent-agnostic across CLAUDE.md, AGENTS.md, .claude/, .agents/, .cursor/rules, .clinerules, .windsurfrules and copilot-instructions. Use when the user wants to prune, audit, clean up, shrink or "delete" their CLAUDE.md, AGENTS.md, cursor rules, agent instructions or AI layer; when they ask whether their rules are still needed, whether their context is bloated, or what to cut; or when they mention ablating, ablation, or testing their agent without its instructions./agent-browserBrowser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools./agent-config-auditRead-only audit of everything a repository's coding-agent config can run on its own - Claude Code hooks, status lines and helper commands, MCP servers, Codex and Cursor hooks, Gemini CLI settings, VS Code folder-open tasks, plugin marketplaces, permission allow rules, MCP auto-approval, and skills that run inline shell - plus the project's dependencies (missing lockfiles, known-poisoned releases, code-running .pth files), secrets saved in settings.local.json or pasted into stored Claude Code and Codex conversations, and known-bad editor extensions. Explains each risky entry in plain words and how to fix it, and never prints secret values. Use when the user says "audit my agent config", "what runs when I open this repo", "check my repos for malicious hooks", "is this repo safe to open", before trusting or opening a cloned repo, after pulling changes to .claude, .mcp.json, .codex, .cursor or .vscode, or after a supply-chain incident./ast-grepGuide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search. This skill should be used when users ask to search for code patterns, find specific language constructs, or locate code with particular structural characteristics./build-dark-factoryTake a PRD and build a dark factory around it - a repository that takes work in as an issue and ships validated code out with nobody at the keyboard - one component at a time, into the user's actual repo. Covers the five components in construction order - the guidance layer, the validation harness, the workflow-driven repo, deployment, and the trigger that makes it autonomous - and is agnostic about which coding agent runs underneath (Claude Code, Codex, Archon, the Agent SDK, Cline, Goose, Amp, Pi). It encodes the AI coding process the user already runs rather than replacing it. Requires a PRD as input and deliberately does not write one. Use when the user wants to build a dark factory, an autonomous or self-driving repository, a software factory, an agent that ships its own code, an unattended or overnight coding loop, or asks how to get to level 4 or level 5 of AI coding autonomy; and when they mention dark factory, lights-out coding, autonomous PRs, or a repo that maintains itself./build-signal-engineBuild a personal signal engine from scratch - a system that reads every source someone cares about each day (changelogs and release notes, communities, feeds, videos, papers), makes a quick decision on every item, lets an LLM read only what survives, and delivers one short digest. Interviews the user first to pin down what they need to keep up with, the sources where it actually shows up, and the one question that decides what is worth their time, then builds it one stage at a time into their own repo, proving each stage on real data. Agnostic about the coding agent, the decision model and where the data comes from. Use when the user wants to keep up with AI or their field without doomscrolling, build an AI news digest, a daily briefing, a content engine, a research or competitor monitor, a changelog watcher, or "something that reads everything and tells me what matters"; and when they mention signal vs noise, an information diet, or falling behind.npx claudepluginhub coleam00/skills --plugin skillsOther plugins' skills for the same job