ワンクリックで
pr-toolsreview-pr
This skill should be used when the user asks to "review this PR", "check the pull request", "review PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
This skill should be used when the user asks to "review this PR", "check the pull request", "review PR
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
This skill should be used when the user asks to "compress an image", "optimize images", "reduce image file size", "make images smaller", "convert to WebP", "convert to AVIF", "optimize images for the web", "create a srcset", "responsive images", "compress a GIF", "shrink a GIF", "batch compress a folder", "losslessly compress images", or wants to compare compression levels and preview before/after results. Uses caesiumclt, rimage, and gifsicle. Triggers include: "compress", "optimize image", "WebP", "AVIF", "srcset", "lossless", "reduce file size", "image too big", "gifsicle".
This skill should be used when the user asks to "generate an image", "create an image", "make a picture", "draw me a", "create artwork", "make an illustration", "edit an image", "modify a photo", "upload a file to Gemini", "check image stats", "change the aspect ratio", or mentions nanobanana, Gemini image generation, or AI art creation. Triggers include: "generate an image", "edit image", "create a picture", "4K image", "model tier", "aspect ratio", "negative prompt", "style transfer".
This skill should be used when the user asks to "harden npm config", "create .npmrc", "secure my npm setup", "configure lockfile-lint", "add preinstall script", "harden package.json", "generate security config", "add CI security checks", or "harden my project against supply chain attacks". Generates or updates configuration files only — does not install tools.
Use this skill to generate a Midnight Network DApp spec brief through an adaptive Q&A. The output is a concise brief (not a full spec) intended as input to a downstream spec / planning skill such as /superpowers:brainstorming or /sdd:specify. Triggers on "generate midnight dapp spec", "improve midnight dapp prompt", "midnight dapp brief", "midnight dapp prompt", or /prompt-rewriter:midnight-dapp-spec.
Plan steps that already know which command to invoke should call the command directly and skip this skill. Use this skill only when you need to pick a decision-making technique for the current question — it matches the decision shape against seven techniques (tribunal, adversarial, red-team, pre-mortem, council, ladder-of-abstraction, calibration) and recommends one.
This skill should be used when the user asks to "share a transcript", "export a session", "convert a transcript", "share this conversation", "create a shareable transcript", "export to HTML", "export to markdown", or mentions sharing Claude Code sessions with others.
| name | pr-tools:review-pr |
| description | This skill should be used when the user asks to "review this PR", "check the pull request", "review PR |
| argument-hint | [--repo user/repo] --pr number [--dry-run] |
Orchestrate a comprehensive pull request review by launching multiple specialist agents in parallel.
When this skill is invoked, you should:
/pr-tools:review-pr - Current branch PR/pr-tools:review-pr --pr 123 - Specific PR in current repo/pr-tools:review-pr --repo user/repo --pr 123 - Any repo PR/pr-tools:review-pr --dry-run - Save to /tmp instead of posting/pr-tools:review-pr --pr 123 --dry-run - Dry run for specific PRpython3 /tmp/cpr.py pr-tools to get PLUGIN_ROOTUse gh pr view "$PR_NUM" --repo "$REPO" --json number,title,state,isDraft,author,body,files,additions,deletions to get:
Launch the pr-tools:pr-validator agent with the PR data to:
If PR is not reviewable:
Using a SINGLE Task tool call with multiple invocations, launch all these agents in parallel:
For each detected language:
TODO Finder:
SDD Task Verifier (conditional):
Wait for all agents to complete and collect their outputs.
If some agents fail or timeout:
Launch the pr-tools:pr-commenter agent with:
The agent will:
After all agents complete, present a clean summary:
If dry-run:
Review complete. Saved to /tmp/pr-review-{number}.md
Summary:
- {count} critical issues
- {count} important improvements
- {count} suggestions
[if SDD detected: - {verified}/{total} P1 tasks verified]
If posted:
Review posted successfully.
View PR: https://github.com/{repo}/pull/{number}
Summary:
- {count} critical issues
- {count} important improvements
- {count} suggestions
[if SDD detected: - {verified}/{total} P1 tasks verified]
Handle these common errors gracefully:
gh auth logingh pr view with --json for structured data (easier to parse)gh pr diff to get diff content for agentsgh api for finding existing commentsWhen launching agents, use a single Task tool call with multiple invocations:
<invoke name="Task">
<parameter name="subagent_type">pr-tools:code-reviewer</parameter>
<parameter name="description">Review Python code</parameter>
<parameter name="prompt">Review PR #123 in user/repo for Python code...</parameter>
</invoke>
<invoke name="Task">
<parameter name="subagent_type">pr-tools:code-reviewer</parameter>
<parameter name="description">Review TypeScript code</parameter>
<parameter name="prompt">Review PR #123 in user/repo for TypeScript code...</parameter>
</invoke>
<invoke name="Task">
<parameter name="subagent_type">pr-tools:todo-finder</parameter>
<parameter name="description">Find TODO comments</parameter>
<parameter name="prompt">Find TODOs in PR #123...</parameter>
</invoke>
This ensures all agents run concurrently for optimal performance.