Quy tắc review code cho người và agent
Checklist review đặt vào repository để reviewer và coding agent áp dụng cùng một chuẩn: đúng đắn, kiểm thử, bảo mật và vệ sinh thay đổi.
Loại: Quy tắc
KitLocal không bao giờ ghi tệp vào máy của bạn. Hãy sao chép kết quả hoặc tự tải về.
Điền các biến
Những gì bạn gõ chỉ ở trong trình duyệt này. Không được thêm vào URL, không lưu và không gửi đi đâu.
Xem trước
# 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.
Về danh mục này
Bản chụp đi kèm ứng dụng · xuất bản lúc 06:05 15 thg 11, 2026 · Phiên bản danh mục 5bc079fe355af2214bc0
Đang hiển thị bản chụp đi kèm ứng dụng (chưa cấu hình nguồn nội dung). Nguồn có thể đã có nội dung mới hơn.