evanfang0054/cc-system-creator-scripts/pr-review
Claude Code and agent skill by evanfang0054/cc-system-creator-scripts
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
GitHub PR 代码审查技能。检查代码质量、安全性、性能和最佳实践,生成结构化审查报告。触发场景包括"审查 PR"、"代码检查"、"review pull request"。
Install
npx vskill@latest install evanfang0054/cc-system-creator-scripts/pr-reviewSKILL.md
PR 代码审查技能
概述
系统化的 PR 审查流程,帮助发现代码问题、安全漏洞和改进机会。
审查维度
1. 代码质量
- 命名规范(变量、函数、文件)
- 代码结构和组织
- 可读性和可维护性
- DRY 原则(不重复代码)
- 单一职责原则
2. 安全问题
- XSS 跨站脚本攻击
- SQL 注入
- 敏感信息泄露(API Key、密码)
- 不安全的依赖
- 输入验证
3. 性能问题
- N+1 查询问题
- 不必要的重渲染(React)
- 内存泄漏风险
- 大文件/大包体积
- 未优化的循环
4. TypeScript 类型安全
any类型滥用- 类型定义缺失
- 类型断言过度使用
- 泛型使用不当
5. React 最佳实践
- Hooks 使用规范
- 状态管理合理性
- 组件拆分
- Props 验证
6. 测试覆盖
- 单元测试
- 集成测试
- 边界条件
- 错误处理
审查流程
1. 获取 PR 信息
2. 分析变更文件
按文件类型分组审查:
.tsx/.jsx- React 组件.ts/.js- 逻辑代码.css/.scss- 样式.md- 文档.json- 配置
3. 生成审查报告
报告格式
使用方式
审查指定 PR
审查当前分支的 PR
只检查安全问题
输出为评论格式
常见问题检测规则
安全问题
敏感信息检测
XSS 风险
性能问题
N+1 查询
React 重渲染
TypeScript 问题
any 类型
配置选项
可在 .pr-review.json 中配置:
与 GitHub 集成
发布审查评论
请求修改
批准 PR
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pr-review/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 2 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/evanfang0054/cc-system-creator-scripts/pr-review)