code-review
bởi clickhouse
Xem xét các thay đổi trong clickhouse-java về tính đúng đắn, khả năng tương thích, độ ổn định API và các bài kiểm tra còn thiếu. Sử dụng khi xem xét pull request, commit, diff, patch,…
npx skills add https://github.com/clickhouse/clickhouse-java --skill code-reviewCode Review
Required context
Before reviewing, read:
AGENTS.mddocs/ai-review.md
If the review touches client-v2 or jdbc-v2, also read:
docs/features.md
If the diff touches BinaryStreamReader or a nested container read (Array, Map, Tuple, Nested, Dynamic, Variant), apply the "Binary read path" section in docs/ai-review.md and the matching section in docs/changes_checklist.md before other suggestions.
Review workflow
- Identify the changed module and any compatibility-sensitive surfaces.
- Check correctness, regressions, API and behavior stability, JDBC or R2DBC semantics, and missing focused tests before style suggestions.
BinaryStreamReaderis an internal fast reader: keep conversion minimal, and do not treat Java type mapping as final. A nested value must stay the same object the primitive read returns. - Use common Java and driver behavior as a comparison aid, but preserve existing project behavior unless the change is intentionally user-visible.
- Report findings first, ordered by severity, then open questions or assumptions, then a brief summary.
Final response requirements
State:
- what changed
- whether compatibility risk exists
- what tests were run, or why they were not run
- whether docs should change
If no issues are found, say so explicitly and mention residual risk or testing gaps.