Skip to content

feat(skills): add precision-over-recall review discipline and learn necessity gate - #14

Merged
leing2021 merged 1 commit into
mainfrom
feat/review-precision-learn-necessity-gate
Jul 29, 2026
Merged

feat(skills): add precision-over-recall review discipline and learn necessity gate#14
leing2021 merged 1 commit into
mainfrom
feat/review-precision-learn-necessity-gate

Conversation

@leing2021

Copy link
Copy Markdown
Owner

变更说明

吸纳 alibaba/open-code-review 经实战验证的设计哲学,增强 super-pi 的代码审查与知识沉淀纪律。遵循极简原则——只吸收知识层面价值,不做代码级融合。

审查哲学(precision-over-recall)

  • rules/common/code-review.md:新增 Precision Discipline 节,5 条门禁规则(先验证再断言、不重复确定性工具、上下文不清时沉默、区分阻断/非阻断、不盲从最佳实践)
  • skills/04-review/SKILL.md:新增 Precision gate 子节,指导 reviewer 在证据不足时保持沉默
  • rules/golang/review-checklist.md + rules/python/review-checklist.md(新文件类型):精确的语言专属缺陷模式,每条附"不报"边界。与 patterns.md(设计模式)职责分离
  • rules/README.md:同步更新文件类型契约说明

知识沉淀门禁(necessity gate)

  • skills/05-learn/SKILL.md:新增 Necessity gate 作为第一道决策——多数已解决的问题不值得沉淀。明确值得沉淀的标准(非平凡 + 可复用 + 未已在别处记录)与一票否决红线。"沉默可接受,噪音不行。"

变更范围

  • 9 文件(6 改 + 2 新增 + 1 version bump)
  • +187/-1 行

测试

  • bun test:204 pass / 0 fail
  • bunx tsc --noEmit:1 个预先存在的错误(与本次改动无关,全部改动为 markdown 文档)

版本

bump 0.26.00.27.0(MINOR,新增功能)

…ecessity gate

- Add Precision Discipline section to rules/common/code-review.md (5 gate-keeping rules)
- Add Precision gate subsection to 04-review SKILL.md
- Add Necessity gate to 05-learn SKILL.md (decide FIRST whether to preserve)
- Add rules/golang/review-checklist.md and rules/python/review-checklist.md
  with battle-tested defect patterns (absorbed from alibaba/open-code-review)
- Update rules/README.md to document review-checklist.md file type
- Bump version to 0.27.0
@leing2021
leing2021 merged commit fa5a40f into main Jul 29, 2026
2 checks passed
@leing2021
leing2021 deleted the feat/review-precision-learn-necessity-gate branch July 29, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant