Skip to content

Conventional Commits skill that stages and commits changes with required scopes and enforced project conventions from CLAUDE.md.

CCM score
58 of 100
skills.sh installs
333
GitHub stars
72
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers commit creation from staged changes, using a type(scope): subject format with a required kebab-case scope
  • Includes a security type beyond standard types, plus HEREDOC templates for multi-line commit bodies
  • Enforces a subject line of 50 characters or fewer, present-tense imperative mood, and no trailing period
  • Designed for projects that follow Conventional Commits and keep their commit conventions in CLAUDE.md

Install

$ npx -y skills add fvadicamo/dev-agent-skills --skill git-commit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Git commit

Creates git commits following Conventional Commits format.

Recent project commits

!git log --oneline -5 2>/dev/null

Quick start

# 1. Stage changes
git add <files>

# 2. Create commit
git commit -m "type(scope): subject"

Project conventions

  • Scope is required (kebab-case): validation, auth, cookie-service, api
  • Additional type beyond standard CC: security (vulnerability fixes or hardening)
  • HEREDOC for multi-line commits:
git commit -m "$(cat <<'EOF'
feat(validation): add URLValidator with domain whitelist

Implement URLValidator class supporting:
- Domain whitelist enforcement
- Dangerous scheme blocking

Addresses Requirement 31
Part of Task 5.1
EOF
)"

Important rules

  • ALWAYS check CLAUDE.md conventions first - use project format if it differs
  • ALWAYS include scope in parentheses
  • ALWAYS use present tense imperative verb for the subject
  • NEVER end subject with a period
  • NEVER exceed 50 chars in the subject line
  • NEVER use generic messages ("update code", "fix bug", "changes")
  • Group related changes into a single focused commit

References

Details

Repository
github.com/fvadicamo/dev-agent-skills
Category
Git & Releases
First seen
Jun 3, 2026

Questions

What does the git-commit skill do?

The git-commit skill creates git commits in Conventional Commits format with a type, a required scope, and a subject line. It checks CLAUDE.md for project-specific conventions and loads recent project commits so the commit message matches the existing style.

How do I install the git-commit skill?

Run npx -y skills add fvadicamo/dev-agent-skills --skill git-commit -y in your project. After that, asking the agent to create a commit, save work, or stage and commit will activate the skill.

Which other skills are in the Git & Releases category?

Git-commit is listed in the Git & Releases category alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. It focuses on commit message format, while those skills cover other parts of the Git workflow.

What rules does the git-commit skill enforce on commit messages?

The skill requires a scope in parentheses, uses present tense imperative subjects, and keeps the subject under 50 characters without a trailing period. It also rejects generic messages like update code or fix bug, and adds a security type for vulnerability fixes or hardening.

More from fvadicamo/dev-agent-skills

All 5

Similar to Git Commit

More Git & Releases