About draft-commit-message
A development skill that drafts commit messages for current changes using a Conventional Commits format. It includes issue references, body conventions, breaking-change notation, and clarifying questions for interactive drafting.
Key features
- 01Conventional Commits subject format
- 02Issue references on the first line
- 03GitHub keywords and issue details in body
- 04Breaking-change notation
- 05Clarifying questions for interactive drafting
Use cases
- 01Drafting a commit message for a change set
- 02Recording linked issues in commit history
- 03Describing breaking changes consistently
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ mtngtools/ agents --skill draft-commit-messageAfter installing, type/draft-commit-messagein Claude Code to confirm it loaded.
Details
From the project READMEDraft Commit Message
Draft a commit message for the current changes. Follow the commit message conventions in git-and-github rule:
- Format:
type(scope): subject (#issue-number)— Conventional Commits - Always include issue reference on first line
- Body: Use GitHub keywords (
closes,addresses,refs) with issue details - Breaking changes: Use
BREAKING CHANGEor!after type/scope - Multiple issues: Comma-separated on first line, detailed at bottom
If drafting interactively with a human, ask clarifying questions about which issues are addressed, whether the change is breaking, and what type of commit this is (feat, fix, refactor, etc.).
Comments
Markdown supported