一键导入
reviewing-code
This skill should be used when the user asks to "review a pull request", "code review this PR", "check this PR for bugs", "review PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill should be used when the user asks to "review a pull request", "code review this PR", "check this PR for bugs", "review PR
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to "create an agent SDK app", "build a Claude Agent SDK project", "set up a new SDK application", "scaffold an agent app", "create a new agent", or needs guidance on initializing, configuring, and building applications with the Claude Agent SDK in TypeScript or Python.
Builds structured anime and manga prompts for Midjourney Niji mode, matching artist styles, SREF codes, and technical parameters to user requests. Activates when the user wants to create anime art, reference specific manga artists or studios, use Niji mode, or generate character reference sheets and animations.
Applies Anthropic's official brand colors, typography, and visual hierarchy to presentations, documents, slides, and other visual artifacts. Activates when the user requests Anthropic-branded styling or needs consistent brand identity across content.
Guides collaborative creation of structured documents through a three-stage workflow of context gathering, iterative refinement, and reader testing. Activates when the user drafts documentation, proposals, technical specs, or decision documents that benefit from structured co-authoring.
Provides a reference template and structural guide for creating Claude Code plugin skills. Activates when the user asks about skill development patterns, requests a skill template, or wants to understand the SKILL.md format and frontmatter options.
This skill should be used when the user asks to "build a feature", "implement a feature", "add new functionality", "develop a feature", "create a new feature", or when embarking on a multi-phase feature development workflow that requires codebase understanding, architecture design, clarifying questions, implementation, and quality review.
| name | reviewing-code |
| description | This skill should be used when the user asks to "review a pull request", "code review this PR", "check this PR for bugs", "review PR |
Perform comprehensive code reviews on GitHub pull requests using a structured multi-agent pipeline with confidence-based filtering to minimize false positives.
Launch a Haiku agent to determine if the PR should be reviewed. Skip the review if the PR:
Launch a Haiku agent to find relevant CLAUDE.md files:
Return file paths only, not contents.
Launch a Haiku agent to view the PR and return:
hasErrorHandling: try/catch/except/finally/.catch blocks modifiedhasTestFiles: files matching test, spec, tests/, tests/hasNewTypes: new interface/type/class/struct/enum/@dataclass definitionsLaunch parallel Sonnet agents. Each returns issues with description, reason, and suggested_severity (CRITICAL/HIGH/MEDIUM/LOW).
Core agents (always run):
Conditional agents (run in parallel with core agents):
6. If hasErrorHandling: Launch silent-failure-hunter agent for error handling analysis
7. If hasTestFiles: Launch pr-test-analyzer agent for test coverage review
8. If hasNewTypes: Launch type-design-analyzer agent for type design analysis
For each issue from Step 4, launch a parallel Haiku agent returning:
Confidence scale:
Severity definitions:
Filter out issues with confidence score below 80. If no issues pass, skip to Step 7.
Consensus scoring for borderline issues (60-85 confidence):
Repeat the eligibility check from Step 1 to ensure the PR is still reviewable.
Use gh pr comment to post the review. Follow this format:
### Code review
Found X issues (Y CRITICAL, Z HIGH, W MEDIUM):
**CRITICAL** [95% confidence]
1. Brief description (category: security/bug/CLAUDE.md/error-handling/test-coverage/type-design)
https://github.com/owner/repo/blob/FULL_SHA/path/file.ext#L10-L15
**HIGH** [88% confidence]
2. Brief description (category)
https://github.com/owner/repo/blob/FULL_SHA/path/file.ext#L25-L30
If no issues found:
### Code review
No issues found. Checked for bugs, CLAUDE.md compliance, and specialized analysis:
- Error handling review (check mark)
- Test coverage analysis (check mark)
- Type design review (check mark)
Do NOT report:
gh for all GitHub interactions, not web fetchhttps://github.com/owner/repo/blob/FULL_SHA/file.ext#L10-L15