跳转到主要内容
kitlocal.dev

Code review rules for humans and agents

A review checklist you can drop into a repository so reviewers and coding agents apply the same standards: correctness, tests, security, and change hygiene.

此资源仅提供英文版本。

类型: 规则

KitLocal 不会向你的电脑写入文件。请复制结果或自行下载。

填写变量

你输入的内容只保留在此浏览器中,不会添加到 URL、保存或发送到任何地方。

预览

# Code review rules

Strictness: Standard

## Must pass
1. The change does what its description says, and nothing else.
2. New behavior needs a test; bug fixes need a regression test.
3. No secrets, tokens or personal data in code, logs or fixtures.
4. Errors are handled; failures are visible and not silently swallowed.
5. Public interfaces and behavior changes are called out in the description.

## Look for
- Boundary and null cases, concurrency, and resource cleanup.
- Needless complexity and duplicated logic.
- Performance traps: unbounded loops/queries, repeated expensive work.
- Security: input validation, authorization checks, injection.

## Review etiquette
- Label comments as blocker, suggestion, or question.
- Explain why, and propose a concrete alternative.
关于此目录

内置快照 · 发布于 2026年11月15日 06:05 · 目录修订版 5bc079fe355af2214bc0

正在显示应用内置的快照(未配置内容来源)。来源处可能已有更新的内容。