代码审查与质量检查
原名:code-review-and-quality
从正确性、可维护性、安全性和性能等角度检查代码改动。
中文 Skills 技能说明
适合合并或发布前的代码审查。输出应指出具体文件、位置、影响和修复建议,优先报告真实问题,避免只做格式化评价。
上游能力依据
上游原始适用说明:Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.
上游 SKILL.md 主要章节(保留原文标题):
- Overview
- When to Use
- The Five-Axis Review
- 1. Correctness
- 2. Readability & Simplicity
- 3. Architecture
- 4. Security
- 5. Performance
- Structural Remedies
- Change Sizing
使用边界
先读取项目约定、依赖版本和现有测试,再提出最小改动。写文件、运行脚本、提交代码或发布前应检查差异并保留回退路径。
作者、翻译与许可证
- 原作者
- Addy Osmani
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/addyosmani/agent-skills/tree/f49337711b7a932b4b338c1d4ad73384df8fd87d/skills/code-review-and-quality
适用范围
平台:linux、macos、windows;标签:Code Review、Quality、Standards
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。