Langsung ke konten
Skillpedia
Pemrograman umum8.2k · #12545

create-commit

Fungsinya

Skill ini membantu AI Anda menyimpan pekerjaan yang sudah selesai ke Git sebagai komit yang bersih dan kecil. Skill ini untuk pengembang yang menginginkan komit hati-hati yang hanya mencakup berkas yang dimaksud.

Kapan dipakai

  • ✓Saat Anda meminta AI mengomit pekerjaan yang sudah selesai.
  • ✓Saat folder kerja memiliki banyak perubahan dan Anda hanya ingin mengomit sebagian.
  • ✓Saat Anda menginginkan pesan komit yang mengikuti gaya Conventional Commits.

Link skill

https://github.com/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-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/DevCaress/guia-entrevistas-de-programacion/blob/main/.claude/skills/create-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

“Komit hanya bab yang saya selesaikan hari ini dengan pesan yang jelas, dan jangan dorong ke remote.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill memeriksa perubahan dan pesan terbaru, memilih kumpulan berkas paling kecil yang masuk akal, menjalankan pemeriksaan yang relevan, lalu membuat komit. Skill tidak mendorong, mengamend, atau mengubah cabang kecuali Anda memintanya.

Konten teknis (SKILL.md asli)

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

Create Commit

Create small, reviewable commits that follow this repository's contribution rules. Do not push, amend, rebase, reset, or change branches unless the user explicitly asks.

Workflow

  1. Inspect git status --short, the staged and unstaged diffs, and recent commit messages.

  2. Determine the smallest coherent commit. Preserve unrelated user changes; never use git add -A or git add ..

  3. If the intended files or scope are unclear, ask the user before staging or committing.

  4. Stage only the chosen paths with git add <path>....

  5. Select a Conventional Commit message. Prefer a scoped type when useful:

    docs(scope): describe documentation change
    feat(scope): describe user-facing addition
    fix(scope): describe corrected behavior
    test(scope): describe test change
    chore(scope): describe maintenance work
    ci: describe workflow change
    

    Use a concise, lowercase imperative subject with no final period. Reuse an explicit user-provided message if it is suitable.

  6. Run the relevant validation commands from CONTRIBUTING.md when they are practical for the changed files. Report any pre-existing or environment-related failure; do not conceal it by weakening checks.

  7. Review the staged diff one final time, then create the commit with git commit -m "<message>".

  8. Confirm success with git status --short and git log -1 --oneline.

Safety rules

  • Do not commit secrets, generated output, local configuration, or unrelated files.
  • Do not modify existing commits, force-push, or push any branch as part of this skill.
  • Do not bypass hooks with --no-verify unless the user explicitly authorizes it after the failure is explained.
  • If validation fails because of the proposed change, fix it before committing when the user asked for a finished commit. If it is unrelated, report it clearly.
Pertanyaan umum

Apakah ia akan mengirim komit saya ke server?

Tidak. Skill tidak mendorong kecuali Anda secara eksplisit memintanya.

Bisakah ia mengomit semua sekaligus?

Tidak. Skill menghindari menambahkan semua berkas secara buta dan hanya menyiapkan jalur yang dimaksud.

Apakah ia menulis pesannya untuk saya?

Ya. Ia mengusulkan pesan bergaya Conventional Commits, atau memakai pesan yang Anda berikan.

Detail

Deskripsi asli dari pembuat

Create a safe, focused Git commit for this repository. Use when the user asks to commit completed work, prepare a commit, or choose a Conventional Commit message. Inspect the working tree, stage only intended files, validate relevant changes, and create the commit without pushing.

repo: DevCaress/guia-entrevistas-de-programacion

Popularitas

Bintang GitHub
8.2k
Peringkat
#12545
Lisensi
MIT
Diperbarui
8/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa