Gitmoji skill
Skill retlehs/gitmoji-skill
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.From its SKILL.md
npx -y skills add retlehs/gitmoji-skillAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
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 --fixupandgit commit --squash: do not add a Gitmoji; Git generates thefixup!/squash!subject and it will be squashed away.- Reverts: use
βͺοΈfor explicit reverts. Letgit revertgenerate its defaultRevert "β¦"subject, then prependβͺοΈif you edit it. - Merges: let
git mergegenerate 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
What ships with it: 2 files
4.2 KB alongside SKILL.md
references/
- gitmojis.md3.3 KB
- README.md967 B