caveman-review
Skill này làm gì
Skill này viết bình luận review code ngắn gọn và có thể hành động, mỗi phát hiện một dòng. Skill dành cho lập trình viên review pull request và muốn những bình luận nhanh, rõ ràng.
Khi nào nên dùng
- ✓Khi bạn yêu cầu agent review một pull request hoặc một diff.
- ✓Khi bạn muốn bình luận review mỗi dòng một ý, kèm cách sửa rõ ràng.
- ✓Khi bạn muốn các phát hiện được đánh dấu theo mức độ nghiêm trọng, như bug, risk hoặc nit.
Liên kết skill
https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-review/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Review pull request này và viết các bình luận một dòng gồm số dòng, vấn đề và cách sửa.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc diff và viết một bình luận cho mỗi phát hiện, theo dạng số dòng, mức độ, vấn đề và cách sửa. Nó bỏ qua phần thừa và sự rào đón.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Write code review comments terse and actionable. One line per finding. Location, problem, fix. No throat-clearing.
Rules
Format: L<line>: <problem>. <fix>. — or <file>:L<line>: ... when reviewing multi-file diffs.
Severity prefix (optional, when mixed):
🔴 bug:— broken behavior, will cause incident🟡 risk:— works but fragile (race, missing null check, swallowed error)🔵 nit:— style, naming, micro-optim. Author can ignore❓ q:— genuine question, not a suggestion
Drop:
- "I noticed that...", "It seems like...", "You might want to consider..."
- "This is just a suggestion but..." — use
nit:instead - "Great work!", "Looks good overall but..." — say it once at the top, not per comment
- Restating what the line does — the reviewer can read the diff
- Hedging ("perhaps", "maybe", "I think") — if unsure use
q:
Keep:
- Exact line numbers
- Exact symbol/function/variable names in backticks
- Concrete fix, not "consider refactoring this"
- The why if the fix isn't obvious from the problem statement
Examples
❌ "I noticed that on line 42 you're not checking if the user object is null before accessing the email property. This could potentially cause a crash if the user is not found in the database. You might want to add a null check here."
✅ L42: 🔴 bug: user can be null after .find(). Add guard before .email.
❌ "It looks like this function is doing a lot of things and might benefit from being broken up into smaller functions for readability."
✅ L88-140: 🔵 nit: 50-line fn does 4 things. Extract validate/normalize/persist.
❌ "Have you considered what happens if the API returns a 429? I think we should probably handle that case."
✅ L23: 🟡 risk: no retry on 429. Wrap in withBackoff(3).
Auto-Clarity
Drop terse mode for: security findings (CVE-class bugs need full explanation + reference), architectural disagreements (need rationale, not just a one-liner), and onboarding contexts where the author is new and needs the "why". In those cases write a normal paragraph, then resume terse for the rest.
Boundaries
Reviews only — does not write the code fix, does not approve/request-changes, does not run linters. Output the comment(s) ready to paste into the PR. "stop caveman-review" or "normal mode": revert to verbose review style.
Câu hỏi thường gặp
Định dạng bình luận là gì?
Số dòng, mức độ tùy chọn, vấn đề và cách sửa, gói trong một dòng.
Có những nhãn mức độ nào?
Theo mô tả là bug, risk, nit và question.
Skill có đăng bình luận lên GitHub không?
Mô tả chỉ nói về việc viết nội dung review, không nói về việc đăng nó.
Chi tiết
Mô tả gốc của tác giả
Compressed code review - one line per finding with location, problem and fix. Use for /caveman-review, "review this PR", or "review the diff".
repo: JuliusBrussee/caveman
Độ phổ biến
- Sao GitHub
- 117k
- Vị trí xếp hạng
- #753
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
cavecrew
117kGiúp agent của bạn quyết định khi nào giao việc tìm kiếm, chỉnh sửa nhỏ hoặc xem xét diff cho một subagent gọn, để tiết kiệm chỗ trong context chính.
caveman-compress
117kGiúp agent của bạn thu gọn một file bộ nhớ, như CLAUDE.md hoặc danh sách việc cần làm, thành kiểu caveman ngắn gọn để tiết kiệm token đầu vào.
caveman-stats
117kGiúp agent của bạn hiển thị số token đầu ra và token đọc từ cache mà một phiên Claude Code đã dùng, được nhóm theo chế độ.
caveman
117kGiúp agent của bạn trả lời theo kiểu ngắn gọn, đi thẳng vào vấn đề, bỏ phần rườm rà và giữ nguyên mọi dữ kiện kỹ thuật.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.