·
Last changedVersion:
No hardening report available.
Transforms raw git diffs and change descriptions into clear, story-driven commit messages that follow the Conventional Commits specification. Instead of "update file.js", you get messages that communicate intent, context, and impact.
Have at least one of the following ready:
git diff or git diff --stagedAsk the user (or infer from the diff) for:
If the user provides a raw git diff, extract this context automatically from the diff.
Map the change to a Conventional Commits type using this guide:
| Type | Use When |
|---|---|
| A new feature or capability is added |
| A bug or incorrect behavior is corrected |
| Code restructured without changing behavior |
| A change that improves performance |
| Documentation only changes |
| Formatting, whitespace, missing semicolons (no logic change) |
| Adding or updating tests |
| Build process, dependency updates, config changes |
| CI/CD pipeline changes |
| Reverting a previous commit |
See the Conventional Commits specification for detailed examples.
Follow this structure:
Subject line (first line):
Body (the story):
Footer:
Closes #123, Fixes #456, Refs #789BREAKING CHANGE: <description>Produce the commit message in a copyable code block, followed by a one-line plain-English explanation of the story you told.
Example output:
If the diff contains logically separate changes, split them into multiple commit messages and tell the user. Use this heuristic:
| Situation | How to Handle |
|---|---|
User provides no context beyond a diff | Infer type and scope from file names and changed symbols |
Changes span many files with no clear theme | Ask: "Is this one logical change, or multiple?" |
Breaking change detected | Add |
User says "keep it short" | Omit body, just write a strong subject line |
No issue number available | Omit the footer entirely |
To gather the context needed, run git diff --staged in your terminal to see staged changes, or git diff for all working tree changes, then paste the output into the chat.
See the Conventional Commits specification for type examples and scope guidelines.
Need this version hardened?
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
—
—
MIT
HARDENING.md
LICENSE
SKILL.md
references/conventional-commits-guide.md