代码变更评审与问题定位
原名:code-reviewer
先理解变更目的,再核对正确性、权限、性能、可维护性和测试证据。
中文 Skills 技能说明
多台电脑接力开发,需要检查本次改动是否越界时,可让开发岗位员工与软件测试工程师使用。提供差异、需求、项目规则和测试结果,技能按影响排序,交付带文件位置、复现条件和修正建议的评审报告。不是检查项越多就越可靠,也不能把个人风格偏好当缺陷。只读获准仓库,凭据和日志先脱敏;评审不自动修代码或合并,待验证问题标清状态,最终发布由负责人依据真实测试决定。
上游能力依据
上游原始适用说明:Analyzes code diffs and files to identify bugs, security vulnerabilities (SQL injection, XSS, insecure deserialization), code smells, N+1 queries, naming issues, and architectural concerns, then produces a structured review report with prioritized, actionable feedback. Use when reviewing pull requests, conducting code quality audits, identifying refactoring opportunities, or checking for security issues. Invoke for PR reviews, code quality checks, refactoring suggestions, review code, code quality. Complements specialized skills (security-reviewer, test-master) by providing broad-scope review across correctness, performance, maintainability, and test coverage in a single pass.
上游 SKILL.md 主要章节(保留原文标题):
- When to Use This Skill
- Core Workflow
- Reference Guide
- Review Patterns (Quick Reference)
- N+1 Query — Bad vs Good
- Magic Number — Bad vs Good
- Security: SQL Injection — Bad vs Good
- Constraints
- MUST DO
- MUST NOT DO
使用边界
先复现问题并固定测试范围,再生成或执行测试。测试通过只能证明已覆盖的场景,不能代替生产环境验收。
作者、翻译与许可证
- 原作者
- Jeffallan 与 claude-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/Jeffallan/claude-skills/tree/1be15d8064f88fc25216442406d40add8fd23b53/skills/code-reviewer
适用范围
平台:linux、macos、windows;标签:测试与质量、代码变更评审与问题定位、开源技能
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。