
Claude Code 的全面 GitHub 公关代码审查技能。通过 gh CLI 自动化数据收集,依据行业标准(安全性、测试、可维护性)进行分析,生成结构化......
概览
全面的GitHub拉取请求代码审查技能,自动化数据收集,依行业标准进行分析,并生成结构化审阅文件,支持审批流程。 PR Reviewer 是一项 Claude Code 技能,能够彻底改变你的代码审查流程。它通过 GitHub CLI 自动获取所有 PR 数据,并根据行业标准的审核标准进行系统分析,并生成专业的审核文档,准备发布。两阶段审批流程确保在您明确批准前不会发布任何内容。
概述(AI 翻译)
全面的GitHub拉取请求代码审查技能,自动化数据收集,依行业标准进行分析,并生成结构化审阅文件,支持审批流程。
概述
PR Reviewer 是一项 Claude Code 技能,能够彻底改变你的代码审查流程。它通过 GitHub CLI 自动获取所有 PR 数据,并根据行业标准的审核标准进行系统分析,并生成专业的审核文档,准备发布。两阶段审批流程确保在您明确批准前不会发布任何内容。
特色
- 自动数据收集 - 通过GitHub CLI获取PR元数据、差异、注释、提交及相关问题
- 系统分析 - 基于综合标准进行评审:安全性、测试、可维护性、性能
- 结构化评审文件 - 生成详细的内部评审、干净的公开评审和内联评论模板
- 两阶段审批 - 除非你用
/send或[[T1]明确批准,否则不会发布到GitHub。 - 内联注释 - 通过发布命令直接向代码行添加特定反馈
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
PR Reviewer Skill for Claude Code
Comprehensive GitHub Pull Request code review skill that automates data collection, analyzes against industry-standard criteria, and generates structured review files with an approval workflow.
Overview
PR Reviewer is a Claude Code skill that transforms your code review process. It automatically fetches all PR data using GitHub CLI, applies systematic analysis against industry-standard review criteria, and generates professional review documents ready for posting. The two-stage approval workflow ensures nothing is posted until you explicitly approve.
Features
- Automated Data Collection - Fetches PR metadata, diffs, comments, commits, and related issues via GitHub CLI
- Systematic Analysis - Reviews against comprehensive criteria: security, testing, maintainability, performance
- Structured Review Files - Generates detailed internal review, clean public review, and inline comment templates
- Two-Stage Approval - Nothing posts to GitHub until you explicitly approve with
/sendor/send-decline - Inline Comments - Adds specific feedback directly to code lines with posting commands
- Ticket Tracking - Extracts and links JIRA/GitHub issue references
- Professional Templates - Clean, respectful review format without emojis or excessive formatting
Installation
Installing with Skilz (Recommended)
The easiest way to install this skill is using the Skilz Universal Installer:
# Install Skilz (one-time setup)
curl -fsSL https://raw.githubusercontent.com/SpillwaveSolutions/skilz/main/install.sh | bash
# Install this skill
skilz install SpillwaveSolutions_pr-reviewer-skill/pr-reviewer
View on the Skilz Marketplace: pr-reviewer
Manual Installation
-
Install GitHub CLI (if not already installed):
# macOS brew install gh # Linux sudo apt install gh # or yum, dnf, etc. # Windows winget install GitHub.cli -
Authenticate with GitHub:
gh auth login -
Clone this skill to your Claude Code skills directory:
cd ~/.claude/skills git clone https://github.com/SpillwaveSolutions/pr-reviewer-skill.git pr-reviewer -
Install Python dependencies (if needed):
cd pr-reviewer pip install requests # Only needed for add_inline_comment.py
Quick Start
Basic PR Review
- Fetch PR data:
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add spillwavesolutions/pr-reviewer-skill