caveman-commit

โดย juliusbrussee

เครื่องมือสร้างข้อความคอมมิตที่บีบอัดอย่างยิ่ง ลดความรกในข้อความคอมมิตขณะคงเจตนาและเหตุผลไว้ รูปแบบ Conventional Commits หัวข้อไม่เกิน 50 ตัวอักษร เนื้อหาเฉพาะเมื่อ "เหตุผล" ไม่ชัดเจน ใช้เมื่อผู้ใช้พูดว่า "write a commit", "commit message", "generate commit", "/commit" หรือเรียก /caveman-commit ทำงานอัตโนมัติเมื่อมีการจัดเตรียมการเปลี่ยนแปลง

npx skills add https://github.com/juliusbrussee/caveman --skill caveman-commit

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.

Skills เพิ่มเติมจาก juliusbrussee

caveman
juliusbrussee
โหมดสื่อสารแบบบีบอัดสูง ลดการใช้โทเค็นประมาณ 75% โดยพูดแบบมนุษย์ถ้ำ แต่ยังคงความถูกต้องทางเทคนิคครบถ้วน รองรับระดับความเข้มข้น: lite, full (ค่าเริ่มต้น), ultra, wenyan-lite, wenyan-full, wenyan-ultra ใช้เมื่อผู้ใช้พูดว่า "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief" หรือเรียกใช้ /caveman และจะทำงานอัตโนมัติเมื่อมีการขอประสิทธิภาพการใช้โทเค็น
communicationproductivity
caveman-compress
juliusbrussee
บีบอัดไฟล์หน่วยความจำภาษาธรรมชาติ (CLAUDE.md, todos, preferences) ให้เป็นรูปแบบ caveman เพื่อประหยัดโทเค็นอินพุต คงไว้ซึ่งเนื้อหาทางเทคนิค โค้ด URL และโครงสร้างทั้งหมด เวอร์ชันที่บีบอัดจะเขียนทับไฟล์ต้นฉบับ สำเนาสำรองที่มนุษย์อ่านได้จะถูกบันทึกเป็น FILE.original.md ทริกเกอร์: /caveman-compress FILEPATH หรือ "compress memory file
developmentdocument
caveman-help
juliusbrussee
Quick-reference card for all caveman modes, skills, and commands. One-shot display, not a persistent mode. Trigger: /caveman-help, "caveman help", "what caveman commands", "how do I use caveman".
developmentdocumentproductivity
caveman-review
juliusbrussee
ความคิดเห็นรีวิวโค้ดแบบบีบอัดสูง ลดสัญญาณรบกวนจากฟีดแบ็ก PR ขณะคงสัญญาณที่นำไปปฏิบัติได้ไว้ แต่ละความคิดเห็นคือหนึ่งบรรทัด: ตำแหน่ง ปัญหา วิธีแก้ไข ใช้เมื่อผู้ใช้พูดว่า "review this PR", "code review", "review the diff", "/review" หรือเรียกใช้ /caveman-review ทำงานอัตโนมัติเมื่อรีวิว pull requests
developmentcode-review
caveman-stats
juliusbrussee
แสดงการใช้งานโทเค็นจริงและประมาณการประหยัดสำหรับเซสชันปัจจุบัน อ่านโดยตรงจากบันทึกเซสชันของ Claude Code — ไม่มีการประมาณด้วย AI เรียกใช้ด้วย /caveman-stats ผลลัพธ์ถูกแทรกโดย mode-tracker hook; ตัวโมเดลไม่ได้คำนวณตัวเลขเอง
developmentdata-analysis
cavecrew
juliusbrussee
Decision guide for delegating to caveman-style subagents. Tells the main thread WHEN to spawn `cavecrew-investigator` (locate code), `cavecrew-builder` (1-2 file edit), or `cavecrew-reviewer` (diff review) instead of doing the work inline or using vanilla `Explore`. Subagent output is caveman-compressed so the tool-result injected back into main context is ~60% smaller — main context lasts longer across long sessions. Trigger: "delegate to subagent", "use cavecrew", "spawn...
developmentcode-reviewapi