About commit
A commit skill for agents that checks diffs, stages only intended files, creates a style-matched commit, and reports its hash. It includes safeguards against committing secrets or bypassing hooks.
Key features
- 01Review working tree and diffs
- 02Stage only intended files
- 03Write a Conventional Commit when needed
- 04Report commit hash and message
- 05Avoid secrets and hook bypasses
Use cases
- 01Commit a focused set of changes
- 02Check a diff before committing
- 03Handle a failing commit hook safely
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ owainlewis/ blueprint --skill commitAfter installing, type/commitin Claude Code to confirm it loaded.
Details
From the project READMECommit
- Inspect the working tree and diffs. If there are no intended changes, or you cannot explain the diff, stop.
- Stage only the intended files, not broad adds.
- Use the user's message if provided. Otherwise write a Conventional Commit matching the repo's existing style: imperative subject, add a body only when the reason, checks, or risk matter.
- Commit and report the hash and message.
Rules
- Never commit
.env, credentials, or keys. - Never bypass hooks with
--no-verify. If a hook fails, fix the cause or stop and report.
Comments
Markdown supported