Agent Skills
› PrefectHQ/fastmcp
› code-review
code-review
GitHub指导进行代码审查,涵盖正确性、可维护性、性能和安全性检查,并提供具体且可操作的反馈建议。
Trigger Scenarios
请求审查代码质量
评估代码可维护性与安全性
Install
npx skills add PrefectHQ/fastmcp --skill code-review -g -y
SKILL.md
Frontmatter
{
"name": "code-review",
"tags": [
"code",
"review",
"quality"
],
"version": "1.0.0",
"description": "Review code for quality, maintainability, and correctness"
}
Code Review Skill
This skill guides you through conducting thorough code reviews.
Review Checklist
When reviewing code, consider:
Correctness
- Does the code do what it's supposed to do?
- Are edge cases handled?
- Are there any obvious bugs?
Maintainability
- Is the code easy to understand?
- Are variable and function names descriptive?
- Is there appropriate documentation?
Performance
- Are there any obvious performance issues?
- Are expensive operations cached when appropriate?
- Are database queries efficient?
Security
- Is user input validated?
- Are there any injection vulnerabilities?
- Are secrets properly managed?
Giving Feedback
- Be specific and actionable
- Explain why something should change
- Suggest alternatives, don't just criticize
- Acknowledge good work too
Version History
- 609f79b Current 2026-08-20 17:21


