From sabertaz
Generates Conventional Commits messages, then commits changes. Use when the user says "commit", "git commit", or asks to commit changes, wants to create a commit, or when work is complete and ready to commit.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sabertaz:generating-commitsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Generate Conventional Commits messages and commit changes.
Generate Conventional Commits messages and commit changes.
Activate this skill when:
MUST NEVER add co-author or mention Claude Code/Cursor (ANY agents) in commit messages
Read CLAUDE.md for commit preferences.
Priority: Project preferences override default Conventional Commits.
Look for sections mentioning:
If no preferences defined in the project, fall back to standard Conventional Commits.
Collect information about the current git state:
# Current git status
git status
# Current git diff (staged changes)
git diff --staged
# Recent commits for context
git log --oneline -10
# Current branch
git branch --show-current
Edge case: If git diff --staged output is empty (no staged changes), prompt the user to stage files first using git add <files>. Do not proceed with commit until files are staged.
Analyze the diff content to understand the nature and purpose of the changes. Generate 3 commit message candidates based on the changes:
Format:
type(scope): concise subject line describing what changed
[Summary of the modifications]
IMPORTANT: Do not use git add -A or git add .
Commit only the files that are already staged and understood.
Select best candidate, explain reasoning of your choice, then commit with heredoc (for multi-line messages):
git commit -m "$(cat <<'EOF'
type(scope): subject line
[modifications summary]
EOF
)"
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub sabertazimi/skills --plugin sabertaz