2f61ad7f1a
- 项目级 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>
20 lines
505 B
YAML
20 lines
505 B
YAML
# 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
|