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 Updated

File contents

bgutschke/skills commit 04b56e7517

Frequently asked questions

npx get-skill add bgutschke/draft-commit-message