Review thay đổi API Spring Boot từ đầu đến cuối
Chuỗi bước lặp lại được để review thay đổi API Spring Boot: xác định phạm vi, review có cấu trúc, kiểm chứng bằng test và viết mô tả PR.
Trước khi bắt đầu
- The change is on a branch with a clear description of intent.
- You can run the service's test suite locally.
Các bước
Scope the change
List the endpoints, DTOs and services that changed. Review only these plus their direct collaborators.
Kiểm tra trước khi sang bước sau
- You can state in one sentence what the change is supposed to do.
Run a structured review
Paste the changed controller, service and DTO code into the review prompt, choosing the focus that matches the risk.
Kiểm tra trước khi sang bước sau
- Every blocker or major finding has a concrete location and fix.
- Anything under "Needs more context" is resolved or noted.
Cover the gaps with tests
Turn the suggested tests into real ones for the riskiest paths, then run the suite.
Kiểm tra trước khi sang bước sau
- New tests fail without the fix and pass with it.
- The full test command passes locally.
Write the pull request description
Summarize intent, changes, verification steps and risks for the reviewers.
Dùng: Viết mô tả pull requestKiểm tra trước khi sang bước sau
- A reviewer can reproduce your verification steps.
Kết quả mong đợi
A reviewed change with test evidence and a pull request description reviewers can act on.
Tài nguyên liên quan
Prompt review có cấu trúc cho controller và service Spring Boot: kiểm tra thiết kế API, validation, xử lý lỗi, bảo mật và hiệu năng, trả về phát hiện xếp theo mức độ nghiêm trọng.
Biên tậpKitLocalCập nhật Hôm kia
spring-bootrestjavareview
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.