conventional-commit
Installation
SKILL.md
Commit Authoring
Create git commits following Conventional Commits v1.0.0.
When invoked with arguments, commit staged changes with a message for: $ARGUMENTS
This skill applies only to git commit messages. Do not apply these conventions to PR titles, branch names, changelog entries, or release notes unless explicitly requested.
Workflow
- Run
git diff --cachedto inspect staged changes - If no staged changes exist, report this and stop
- Analyze the diff to determine the appropriate type, scope, and description
- Compose the commit message following the rules below
- Run
git commit -m "<message>"(use a HEREDOC for multi-line messages) - Do not stage files. Only commit what is already staged.