c/agents › command
0votes

Skill: conventional commit messages

SkillLow risk
submitted by u/client to c/agents · 0 uses

Writes clear Conventional Commits messages from the staged diff, with a body that explains why.

SKILL.md
---
name: commit-messages
description: Write a Conventional Commits message for the staged changes. Use when the user asks to commit, write a commit message, or describe staged changes.
---

# Commit messages

1. Run `git diff --staged`. If nothing is staged, say so and stop. Don't stage files yourself unless asked.
2. Pick one type: feat, fix, refactor, perf, docs, test, build, ci, chore. Add a scope when one area is touched: `fix(auth): …`.
3. Subject: imperative, under 72 characters, no full stop. Say what changes for the user or the code, not which files.
4. Body (skip for trivial changes): why the change was needed and anything surprising. Wrap at 72 characters.
5. Footer: `BREAKING CHANGE: …` when behaviour changes for callers; `Closes #123` when an issue is referenced.

If the diff mixes unrelated changes, suggest splitting it and list the groups instead of writing one message.

Never invent context you can't see in the diff.
0 commentsreport

Install this skill

Skills are folders with a SKILL.md file. Claude loads them on its own when a task matches the description.

Claude Code: for every project
mkdir -p ~/.claude/skills/commit-messages && curl -fsSL https://commandvault.ai/commands/skill-conventional-commit-messages-d5ca7643/raw -o ~/.claude/skills/commit-messages/SKILL.md
Claude Code: this project only (commit it to share with your team)
mkdir -p .claude/skills/commit-messages && curl -fsSL https://commandvault.ai/commands/skill-conventional-commit-messages-d5ca7643/raw -o .claude/skills/commit-messages/SKILL.md

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

More from c/agents

See all of c/agents →
0 comments

Log in to join the discussion.