caveman-commit
Skill này làm gì
Skill này viết commit message ngắn gọn, chính xác và theo định dạng Conventional Commits. Skill dành cho lập trình viên muốn lịch sử commit sạch mà không phải tự viết các message dài.
Khi nào nên dùng
- ✓Khi bạn yêu cầu agent viết commit message cho các thay đổi của bạn.
- ✓Khi bạn muốn tiêu đề commit theo định dạng Conventional Commits.
- ✓Khi một thay đổi cần phần nội dung ngắn giải thích lý do thực hiện.
Liên kết skill
https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-commit/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
“Viết commit message cho các thay đổi của tôi. Giữ tiêu đề ngắn, và chỉ thêm phần nội dung nếu lý do không hiển nhiên.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc thay đổi và viết tiêu đề theo dạng kiểu, phạm vi và tóm tắt, ở thể mệnh lệnh. Nó chỉ thêm phần nội dung khi lý do không rõ từ tiêu đề.
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 commit messages terse and exact. Conventional Commits format. No fluff. Why over what.
Rules
Subject line:
<type>(<scope>): <imperative summary>—<scope>optional- Types:
feat,fix,refactor,perf,docs,test,chore,build,ci,style,revert - Imperative mood: "add", "fix", "remove" — not "added", "adds", "adding"
- ≤50 chars when possible, hard cap 72
- No trailing period
- Match project convention for capitalization after the colon
Body (only if needed):
- Skip entirely when subject is self-explanatory
- Add body only for: non-obvious why, breaking changes, migration notes, linked issues
- Wrap at 72 chars
- Bullets
-not* - Reference issues/PRs at end:
Closes #42,Refs #17
What NEVER goes in:
- "This commit does X", "I", "we", "now", "currently" — the diff says what
- "As requested by..." — use Co-authored-by trailer
- "Generated with Claude Code" or any AI attribution — unless the user's own rule requires an
Assisted-by/AI-attribution trailer, then add it as a trailer - Emoji (unless project convention requires)
- Restating the file name when scope already says it
Examples
Diff: new endpoint for user profile with body explaining the why
- ❌ "feat: add a new endpoint to get user profile information from the database"
- ✅
feat(api): add GET /users/:id/profile Mobile client needs profile data without the full user payload to reduce LTE bandwidth on cold-launch screens. Closes #128
Diff: breaking API change
- ✅
feat(api)!: rename /v1/orders to /v1/checkout BREAKING CHANGE: clients on /v1/orders must migrate to /v1/checkout before 2026-06-01. Old route returns 410 after that date.
Auto-Clarity
Always include body for: breaking changes, security fixes, data migrations, anything reverting a prior commit. Never compress these into subject-only — future debuggers need the context.
Boundaries
Only generates the commit message. Does not run git commit, does not stage files, does not amend. Output the message as a code block ready to paste. "stop caveman-commit" or "normal mode": revert to verbose commit style.
Câu hỏi thường gặp
Skill dùng định dạng nào?
Conventional Commits, với các kiểu như feat, fix, refactor và docs.
Có thêm ghi chú AI không?
Không, trừ khi quy tắc riêng của bạn yêu cầu một dòng ghi nguồn cuối commit.
Tiêu đề dài bao nhiêu?
Lý tưởng là 50 ký tự, và không quá 72.
Chi tiết
Mô tả gốc của tác giả
Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.
repo: JuliusBrussee/caveman
Độ phổ biến
- Sao GitHub
- 117k
- Vị trí xếp hạng
- #745
- 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á.