code-review

仓库创建 2026年2月25日最近提交 24 天前SkillHot 收录 20 天前
▸ 精选理由

覆盖 OWASP 与可读性检查,适合集成到 PR 自动审查流程。

这个 Skill 做什么

审查代码差异,识别安全漏洞、错误处理与性能问题。

在审查 PR 或 diff 时帮你找安全漏洞(比如 OWASP Top 10)、异常处理缺失、复杂度高、命名和性能问题。常用在合并前的代码审查,确保输入校验、资源释放和错误处理到位。特点是把安全性、可维护性和性能检查合并成一份操作性强的审查清单。

▸ 展开 SKILL.md 英文原文

Reviews code diffs and files for security vulnerabilities (OWASP Top 10), error handling, complexity, naming conventions, and performance issues. Use when the user asks to review a PR, pull request, diff, merge request, or code changes.

开发编程代码审查安全检测性能通用
2.9k
Stars
342
Forks
18
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/standard/skills/code-review/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/open-gitagent/opengap/main/examples/standard/skills/code-review/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Code Review

## Instructions
When reviewing code:
1. Read the full diff or file provided
2. Check for security vulnerabilities (OWASP Top 10)
3. Evaluate error handling completeness
4. Assess code complexity and readability
5. Verify naming conventions and code style
6. Look for performance issues
7. Check for proper input validation

## Output Format
```
## Review Summary
[1-2 sentence overview]

## Findings

### CRITICAL
- [Finding with line reference and fix]

### WARNING
- [Finding with line reference and fix]

### SUGGESTION
- [Finding with line reference and fix]

## What's Done Well
- [Positive observations]
```

### Example Finding

```
### CRITICAL
- **Line 42**: SQL injection vul
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有