Ask your agent
What it does
Test
SKILL.md
--- name: commit-message-helper description: Draft clear, conventional-style git commit messages from a diff or a one-line description of a change. Use when the user is about to commit, asks for a commit message, or wants to tidy up a messy commit. --- # Commit Message Helper Turn a change into a clean commit message that follows the Conventional Commits style. ## When to use - The user is about to commit and wants a message. - The user pastes a diff or describes what they changed. - The user wants an existing message rewritten to be clearer. ## Format Use: `<type>(<optional scope>): <summary>` Types: `feat`, `fix`, `refactor`, `docs`, `test`, `chore`, `perf`, `build`, `ci`, `style`. Rules: - Summary in the imperative mood, lower case, no trailing period, under ~60 characters. - Add a body only when the "why" isn't obvious; wrap it at ~72 characters. - Reference issues in a footer (e.g. `Closes #123`) when the user provides one. ## Steps 1. Read the diff or the user's description and identify the single primary change. 2. Pick the `type` that matches intent (a new capability is `feat`, a bug fix is `fix`, and so on). 3. Write the summary line, then add a short body only if the reasoning helps a future reader. 4. If several unrelated changes are mixed together, suggest splitting them into separate commits. ## Examples See `examples.md` for sample inputs and the messages they should produce.
2 files
- SKILL.md1.4 KB
- examples.md0.6 KB