feat: 集成code-review skill到项目

- 项目级 skill: .claude/skills/code-review/ (398行SKILL.md + 参考文件)
- 自动触发: AI修改.py/.cbl/.cpy/.lark后自动review
- CLAUDE.md: 定义触发规则、review流程、严重级别
- .code-review.yaml: tier=standard, 高风险模块配置

效果: clone即用, 每次代码变更后自动审查, 防止低质量代码入库
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
NB-076
2026-06-25 10:24:15 +08:00
parent 874b16f48c
commit 2f61ad7f1a
16 changed files with 1146 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Code Review 配置
# 生效范围: cobol-java-v3 项目所有后端代码
# 当 AI 生成或修改 Python/COBOL 代码后自动执行 review
tier: standard # fast | standard | strict
# strict 模式额外配置
strict:
# 高风险模块 — 修改这些目录必须手动确认 review
high_risk_dirs:
- cobol_testgen/core.py
- cobol_testgen/coverage.py
- cobol_testgen/cond.py
# 自动触发 review 的文件扩展名
watch_extensions:
- .py
- .cbl
- .cpy
- .lark