跳至主要內容
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日 清晨6:05 · 目錄修訂版 5bc079fe355af2214bc0

正在顯示應用程式內建的快照(尚未設定內容來源)。來源處可能已有更新的內容。