code-review

bởi AgentsRoomĐược xác minh bởi AgentsRoomChưa có lượt cài đặtChưa có lượt thíchCập nhật 7 tháng 5, 2026Danh mục: Kỹ thuật

Nó làm gì

Use when reviewing a diff or PR. Checks readability, edge cases, error handling, security, and tests in that order.

Cài đặt sẽ mở mục này trong ứng dụng desktop AgentsRoom của bạn. Nếu ứng dụng chưa được cài, bạn sẽ được đưa tới trang tải về.

SKILL.md

---
name: code-review
description: Use when reviewing a diff or PR. Checks readability, edge cases, error handling, security, and tests in that order.
---

# Code review

When reviewing a change:

1. **Readability** — names match domain language? functions short enough to hold in head?
2. **Edge cases** — empty input, null, very long input, concurrent calls, network failure?
3. **Error handling** — every failure path produces a clear user message AND a useful log line?
4. **Security** — input validated? secrets in env (not code)? auth check on the right side of the boundary?
5. **Tests** — at least one happy path + one edge case covered?

Comment AT MOST 5 things. Pick the most impactful — review fatigue is real.

Tag

reviewquality