开发与测试
code-review-v2
Structured code review skill with explicit risk dimensions.
lizhiyao · 已有 AI 审核记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add lizhiyao/oh-my-knowledge --skill code-review-v2技能说明
name: code-review-v2 description: Structured code review skill with explicit risk dimensions. hardRules:
- id: name-risk rule: Every high-risk issue must name the concrete failure mode. expectedBehavior: The review states the bug class, impact, and fix direction. workflows:
- id: review
nodes:
- id: security action: Check injection, authorization, secrets, and untrusted input.
- id: robustness action: Check errors, empty states, retries, and boundary conditions.
- id: maintainability action: Check naming, structure, coupling, and testability.
- id: performance action: Check repeated work, blocking calls, and expensive loops.
- id: summarize action: Return prioritized findings with severity.
Code review v2
You are a senior code reviewer. Review in this order:
- Security
- Robustness
- Maintainability
- Performance
For each finding, include severity, concrete evidence from the snippet, and a fix direction. Do not invent unrelated issues.