gitmoji-skill

star 3

Prefixes commit messages and PR titles with an appropriate Gitmoji. Activate when writing or amending commit messages, drafting PR titles, or choosing a Gitmoji for a change.

retlehs By retlehs schedule Updated 5/20/2026

name: gitmoji-skill description: Prefixes commit messages and PR titles with an appropriate Gitmoji. Activate when writing or amending commit messages, drafting PR titles, or choosing a Gitmoji for a change.

Gitmoji Commits and PRs

When making a commit, start the commit subject with one Gitmoji that describes the primary intent of the change.

When creating or updating a pull request, start the PR title with one Gitmoji that describes the primary intent of the PR.

Use one of these forms:

<gitmoji> <message>
<gitmoji> (<scope>): <message>

If the repository uses Conventional Commits, the Gitmoji stays first:

<gitmoji> <type>: <message>
<gitmoji> <type>(<scope>): <message>
<gitmoji> <type>!: <message>   # breaking change

Examples:

๐ŸŽ‰ Begin project
๐Ÿ“ Add Gitmoji skill docs
โ™ป๏ธ (parser): simplify token handling
๐Ÿ› Fix login redirect loop
โœ… Add webhook parser tests
โœจ feat(search): add invoice filters
๐Ÿ’ฅ feat!: drop Node 18 support

Choosing a Gitmoji

First, check the repository's existing convention. Run:

git log --oneline -20

Also skim CONTRIBUTING.md, .gitmessage, or commit-lint config if present. If the project already has a Gitmoji style (Unicode vs shortcode, position, scope format), follow it exactly.

Otherwise, choose the most specific official Gitmoji for the primary change:

Change Gitmoji
New feature โœจ
Bug fix ๐Ÿ›
Critical hotfix ๐Ÿš‘๏ธ
Documentation ๐Ÿ“
Tests โœ…
Refactor โ™ป๏ธ
Improve structure or formatting ๐ŸŽจ
Performance โšก๏ธ
Remove code or files ๐Ÿ”ฅ
Configuration ๐Ÿ”ง
Development scripts ๐Ÿ”จ
CI build system ๐Ÿ‘ท
Fix CI build ๐Ÿ’š
Upgrade dependencies โฌ†๏ธ
Downgrade dependencies โฌ‡๏ธ
Add dependency โž•
Remove dependency โž–
Lint or compiler warnings ๐Ÿšจ
Security or privacy ๐Ÿ”’
Accessibility โ™ฟ๏ธ
Types ๐Ÿท๏ธ
Move or rename resources ๐Ÿšš
Work in progress ๐Ÿšง
Breaking change ๐Ÿ’ฅ

๐ŸŽจ vs โ™ป๏ธ: use ๐ŸŽจ for code style and structural changes that don't alter behavior (formatting, import sorting, file organization); use โ™ป๏ธ for behavior-preserving rework that changes implementation (extracting functions, renaming, simplifying logic).

๐Ÿ› vs ๐Ÿš‘๏ธ: use ๐Ÿ› for ordinary bug fixes; use ๐Ÿš‘๏ธ only for critical hotfixes shipped urgently to address production breakage.

If no entry above fits, read references/gitmojis.md (the full official list of 75 Gitmojis) and pick the closest match. If still nothing fits, fall back to โœจ for additive work, ๐Ÿ› for fixes, or โ™ป๏ธ for refactors. Do not invent decorative emoji when an official Gitmoji applies.

Skip ๐Ÿ’ฉ, ๐Ÿป, and ๐Ÿฅš โ€” these appear in the official list but are not appropriate for agent-authored commits.

Format Rules

  • Default to Unicode emoji in commit and PR titles. Use shortcodes (:sparkles:) only if the repository's existing commits use them.
  • Keep the subject concise and imperative after the Gitmoji.
  • Use exactly one leading Gitmoji.
  • Place the Gitmoji on the subject line only. Do not add Gitmojis to the commit body or trailers (e.g., Co-Authored-By:, Signed-off-by:).
  • For mixed changes, choose the dominant intent or split the work into separate commits.
  • If a repository convention conflicts with this skill, follow the repository.

Amends, Fixups, and Reverts

  • git commit --amend: keep the original Gitmoji unless the amend changes the intent (e.g., a typo-fix amend that turns into a feature addition).
  • git commit --fixup and git commit --squash: do not add a Gitmoji; Git generates the fixup!/squash! subject and it will be squashed away.
  • Reverts: use โช๏ธ for explicit reverts. Let git revert generate its default Revert "โ€ฆ" subject, then prepend โช๏ธ if you edit it.
  • Merges: let git merge generate its default subject; do not add a Gitmoji to auto-generated merge commits.

Pull Requests

Use the same selection rules for PR titles. For a PR with many commits, choose the Gitmoji that best describes the final user-visible or maintainer-visible outcome.

Gitmoji applies to PR titles and commit subjects only โ€” PR descriptions and commit bodies use the repository's normal template without Gitmojis.

Examples:

โœจ Add saved report filters
๐Ÿ› Fix OAuth callback validation
๐Ÿ“ Document deployment environment variables
Install via CLI
npx skills add https://github.com/retlehs/gitmoji-skill --skill gitmoji-skill
Repository Details
star Stars 3
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator