♻️ Refactor: gitmoji: refactor code without changing behaviour. In gitmoji, the recycle emoji marks a refactor: a change to the structure of code that does not change what the code does. Renaming a variable, splitting a large function, or moving a class to a better folder are all refactors. Keeping refactors in their own commits makes reviews easier. A reviewer can check a pure refactor quickly, because the tests should pass unchanged and the behaviour should be identical. When a refactor is mixed with a new feature, every line has to be read twice.
The emoji is a label, not a guarantee. A refactor only stays safe if there are tests covering the code you move around. If there are none, write a few first. They protect the change you are making now and every later change to the same code.
Use when writing commit messages, pull request titles, changelogs or status updates that use emoji (gitmoji-style) to signal the type or status of a change - e.g. ✨ new feature, 🐛 bug fix, 🔥 hotfix, 🚧 work in progress, ✅ tests, ⬆️ dependency upgrade. Also use to interpret emoji status markers in a repo or board.
'Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.'
Automate changelog generation from commits, PRs, and releases following Keep a Changelog format. Use when setting up release workflows, generating release notes, or standardizing commit conventions.