Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)40k Β· #7231

gitmoji

Fungsinya

Asisten ini membuat pesan 'commit' untuk programmer dengan menggunakan emoji untuk menunjukkan apa yang dilakukan oleh perubahan kode. Asisten ini membantu merapikan riwayat perubahan kode.

Kapan dipakai

  • βœ“Saat Anda ingin menambahkan emoji ke pesan commit.
  • βœ“Saat Anda membutuhkan bantuan untuk memilih emoji yang tepat untuk suatu perubahan kode.
  • βœ“Saat Anda ingin mengikuti standar pesan commit dengan emoji.

Link skill

https://github.com/github/awesome-copilot/blob/main/skills/gitmoji/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/github/awesome-copilot/blob/main/skills/gitmoji/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

β€œBuatkan pesan commit gitmoji untuk perubahan ini: saya memperbarui halaman login agar menggunakan desain baru.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Asisten ini menganalisis perubahan yang Anda buat pada kode. Setelah itu, asisten ini memilih emoji yang paling tepat untuk jenis perubahan tersebut (misalnya menambah fitur, memperbaiki bug, dan sebagainya) lalu menulis pesan lengkapnya.

Konten teknis (SKILL.md asli)

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

Gitmoji

Generates commit messages that follow the gitmoji convention: every commit starts with an emoji that identifies the intent of the change at a glance. Given a diff, a list of staged files, or a plain description of a change, this skill picks the single most appropriate gitmoji and writes a concise, well-formed commit message around it.

This skill only generates the message β€” it never runs git commit or any other git command. The output is a copyable message for the user to use.

When to Use This Skill

  • User says "write a gitmoji commit", "gitmoji this change", or "add an emoji to my commit message"
  • User asks "which gitmoji should I use for this?"
  • User pastes a git diff or describes a change in a project that uses gitmoji-style commit history
  • User wants an expressive, scannable commit history using emojis

When not to use: if the project follows plain Conventional Commits (feat:, fix:, ...) without emojis, use the conventional-commit or commit-message-storyteller skill instead. If unsure which convention the project uses, ask the user to provide recent commit history (for example, the output of git log --oneline -10).

Message Format

The gitmoji specification:

<intention> [scope?][:?] <message>
  • intention β€” exactly one gitmoji expressing the goal of the commit
  • scope (optional) β€” the section of the codebase affected, in parentheses
  • message β€” a brief imperative explanation of the change

Examples:

✨ add multi-tenant support to the billing service
πŸ› (auth) prevent token refresh loop on expired sessions
♻️ (api): extract pagination logic into shared helper

Emoji Style: Unicode vs Shortcode

Gitmoji supports two equivalent notations:

Style Example When to prefer
Unicode ✨ add dark mode Default β€” renders everywhere, shorter subject line
Shortcode :sparkles: add dark mode Platforms that render shortcodes (GitHub, GitLab) or teams that grep commit logs by code

Match the repository's existing history. If recent commits use :sparkles:-style shortcodes, generate shortcodes; otherwise default to unicode emojis.

How It Works

Step 1: Understand the Change

Work from whatever the user provides:

  1. A git diff β€” read it and identify what changed and why
  2. A list of staged/modified files β€” infer intent from file names and paths
  3. A plain description β€” use it directly

If the intent is genuinely ambiguous (e.g. "updated auth.js" could be a fix, a feature, or a refactor), ask one short clarifying question rather than guessing.

Step 2: Identify the Dominant Intent

Determine the primary purpose of the change. Common intents and their gitmojis:

Emoji Shortcode Intent
✨ :sparkles: Introduce new features
πŸ› :bug: Fix a bug
πŸš‘οΈ :ambulance: Critical hotfix
πŸ“ :memo: Add or update documentation
♻️ :recycle: Refactor code (no behavior change)
βœ… :white_check_mark: Add, update, or pass tests
⚑️ :zap: Improve performance
🎨 :art: Improve structure / format of the code
πŸ”₯ :fire: Remove code or files
πŸ”’οΈ :lock: Fix security or privacy issues
⬆️ :arrow_up: Upgrade dependencies
πŸ”§ :wrench: Add or update configuration files
πŸ’„ :lipstick: Add or update the UI and style files
πŸ’₯ :boom: Introduce breaking changes
🚨 :rotating_light: Fix compiler / linter warnings
🌐 :globe_with_meridians: Internationalization and localization

This is only the most common subset β€” always consult references/gitmoji-reference.md for the full official list of 75 gitmojis before settling on one; a more specific emoji often exists (e.g. 🩹 for a trivial fix, ✏️ for a typo, 🚚 for a file move).

Step 3: Pick Exactly One Emoji

Rules for ambiguous cases:

  • Specific beats generic β€” a typo fix is ✏️, not πŸ›; moving files is 🚚, not ♻️; a trivial non-critical fix is 🩹, not πŸ›
  • Tests: βœ… for adding/updating passing tests; πŸ§ͺ only for intentionally failing tests (e.g. TDD red step)
  • Fix vs hotfix: πŸš‘οΈ only for urgent production fixes; everyday bug fixes are πŸ›
  • Security fix: πŸ”’οΈ wins over πŸ› when the bug is a security issue

…

Pertanyaan umum

Apa itu 'commit'?

Commit seperti menyimpan kemajuan kode Anda. Setiap 'commit' mencatat sekumpulan perubahan, dan sebuah pesan menjelaskan apa yang telah dilakukan.

Apa itu 'gitmoji'?

Gitmoji adalah konvensi yang menggunakan emoji untuk memberikan gambaran singkat tentang apa yang dilakukan setiap 'commit', sehingga riwayat kode lebih visual dan mudah dipahami.

Apakah asisten ini membuat perubahan kode untuk saya?

Tidak, asisten ini hanya membuat teks pesan untuk 'commit'. Anda tetap perlu menerapkan perubahan pada kode dan menggunakan perintah 'commit' dari Git.

Detail

Deskripsi asli dari pembuat

Generates commit messages following the gitmoji convention (https://gitmoji.dev) β€” picks the right emoji for the intent of the change and writes a well-formed message. Use when asked to "write a gitmoji commit", "add an emoji to my commit message", "which gitmoji should I use", "gitmoji this change", or when a project uses gitmoji-style commit messages. Works from a git diff, staged changes, or a

repo: github/awesome-copilot

Popularitas

Bintang GitHub
40k
Peringkat
#7231
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa