Agent Skills
› victordibia/designing-multiagent-systems
› code-review
code-review
GitHub用于审查代码变更,检查正确性、安全性、性能和可维护性。通过预设清单和标准化格式输出问题建议,辅助开发者提升代码质量。
Trigger Scenarios
需要审查代码变更
评估PR或提交的安全性及性能
Install
npx skills add victordibia/designing-multiagent-systems --skill code-review -g -y
SKILL.md
Frontmatter
{
"name": "code-review",
"triggers": "review, code review, check code, review PR",
"description": "Review code changes for bugs, security issues, and improvements"
}
Code Review Skill
Review Checklist
1. Correctness
- Does the code do what it claims?
- Are edge cases handled (null, empty, bounds)?
- Is error handling appropriate?
2. Security
- Input validation present?
- No SQL injection, XSS, command injection?
- Secrets not hardcoded?
- Permissions checked?
3. Performance
- No N+1 queries?
- Appropriate data structures?
- Unnecessary loops or allocations?
4. Maintainability
- Clear naming?
- Functions do one thing?
- No magic numbers?
- Tests included?
Review Format
For each issue found:
**[SEVERITY] file:line - Brief description**
Problem: What's wrong
Impact: Why it matters
Suggestion: How to fix
Severities: CRITICAL, HIGH, MEDIUM, LOW, NIT
Workflow
- Read the diff or changed files
- Understand the intent (PR description, commit messages)
- Check each file against the checklist
- Summarize findings with severity levels
Version History
- 1aebb31 Current 2026-07-24 16:09


