Draft Commit Message

Drafts a Conventional Commits message for the currently staged changes, matched to the target repo's own discovered commit-message convention (commitlint config, written doc, or git-log pattern) where one exists, falling back to a generic standards-based convention otherwise. Reads the diff and branch inside a Haiku subagent so the raw diff never enters the main session. Never runs git add or git commit, even when the request is to commit changes outright — it only returns message text for review. Use when the user types /draft-commit-message, explicitly asks to draft, write, or generate a commit message, or asks to commit changes outright ("commit this", "commit these changes") — in the last case this skill supplies just the message-drafting step, leaving staging and committing to the harness's own default flow or a separate explicit request.

bgutschke 04b56e7 4 files · 27.4 KB Updated

File contents

bgutschke/skills/tree/main/skills/engineering/draft-commit-message commit 04b56e7517

Frequently asked questions

npx skillmds@latest add bgutschke/draft-commit-message