commit-message-crafter
Generate best-practice git commit messages (Conventional Commits) by inspecting changes, choosing type/scope, and producing concise, high-signal summaries in English.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Commit Message Crafter
Use this skill when the user wants help writing commit messages or asks for best commit messages. When the change set spans distinct concerns (features, fixes, docs, tests), prefer multiple focused commits instead of one large commit.
Quick workflow
- Inspect context and split when needed
- Prefer
git status -sbandgit diff(or PR summary if provided). - Identify: what changed, why, and impact.
- Detect breaking change risk and migrations.
- Group changes by concern (e.g., fix vs test vs docs). If there is more than one clear concern, plan multiple commits.
- Use Conventional Commits only
- Always use Conventional Commits; do not ask about other styles.
- Craft the message(s)
- Subject is imperative, short, and specific.
- Avoid: “WIP”, “misc”, “stuff”, “update”, or long diffs in subject.
- Keep ASCII unless the repo clearly uses non-ASCII.
- Always write commit messages in English.
- If multiple commits are planned, propose a commit plan (ordering + scope) and produce a message for each.
- Optional body and footer
- Use a body when the change is non-trivial or has tradeoffs.
- Wrap body at ~72 chars, use short bullets if helpful.
- Add
BREAKING CHANGE:footer when applicable. - Add issue refs if provided by the user.
Conventional Commits template
<type>(<scope>): <subject>
<body optional>
<footer optional>
Types (choose the most accurate):
-
featnew user-facing behavior -
fixbug fix -
refactorcode change without behavior change -
perfperformance improvement -
docsdocumentation only -
testtests only -
choremaintenance, tooling -
buildbuild system or dependencies -
ciCI-related -
styleformatting-only changes
Reference benchmarks
Read references/benchmarks.md if you need formal standards or reminders.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!