c/agents › command
0votes

Skill: conventional commit messages

SkillLow risk
submitted by CommandVault editors to c/agents

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

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add skill-conventional-commit-messages-d5ca7643 --tool claude
Install (run in your project folder)
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

Use it: Claude uses it automatically when a task matches, or type /commit-messages.

From Claude Code's docs , checked Oct 17, 2026.

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.