Langsung ke konten
Skillpedia
Pemrograman umum117k Β· #745

caveman-commit

Fungsinya

Skill ini menulis pesan commit yang singkat dan tepat, serta mengikuti format Conventional Commits. Skill ini ditujukan bagi developer yang ingin riwayat commit yang rapi tanpa harus menulis pesan panjang secara manual.

Kapan dipakai

  • βœ“Saat Anda meminta agent menulis pesan commit untuk perubahan Anda.
  • βœ“Saat Anda ingin judul commit yang mengikuti format Conventional Commits.
  • βœ“Saat sebuah perubahan membutuhkan isi singkat yang menjelaskan alasannya.

Link skill

https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-commit/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman-commit/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTolong tulis pesan commit untuk perubahan saya. Buat judulnya singkat dan tambahkan isi hanya jika alasannya tidak jelas.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent membaca perubahan dan menulis judul dalam bentuk tipe, scope, dan ringkasan, dengan kalimat perintah. Agent menambahkan isi hanya ketika alasannya tidak jelas dari judul.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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.

Pertanyaan umum

Format apa yang dipakainya?

Conventional Commits, dengan tipe seperti feat, fix, refactor, dan docs.

Apakah ia menambahkan atribusi AI?

Tidak, kecuali aturan Anda sendiri mewajibkan baris atribusi.

Berapa panjang judulnya?

Idealnya 50 karakter, dan tidak lebih dari 72.

Detail

Deskripsi asli dari pembuat

Write a Conventional Commits message compressed to intent only. Use for "write a commit", "commit message", /commit or /caveman-commit.

repo: JuliusBrussee/caveman

Popularitas

Bintang GitHub
117k
Peringkat
#745
Lisensi
Apache-2.0
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa