Skip to content
Development
Skill

/git-commit

Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md.

From plugin
dev-agent-skills
727 skills

Claude Code

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

SKILL.md

git-commit.SKILL.md
name: git-commit
description: Creates git commits following Conventional Commits format with type/scope/subject. Use when user wants to commit changes, create commit, save work, or stage and commit. Enforces project-specific conventions from CLAUDE.md.

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

  • `references/commit_examples.md` - Extended examples by type, good/bad comparisons
Read more
@fvadicamo
Ships withdev-agent-skills

Agent skills and hooks for development workflows - Git, GitHub, skill authoring, safety guardrails, public-repo privacy, and decision records. These skills are designed for Claude Code, the CLI tool by Anthropic.

Stars on GitHub

Momentum

stars in total
72
Star history of fvadicamo/dev-agent-skills on GitHub, a chart by star-history.com

Other skills on dev-agent-skills.

privacy-guard

privacy-guard

Prevents private infrastructure details (node hostnames, internal project names, local usernames and personal emails, absolute…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about git-commit.

Which coding agents can use git-commit?
git-commit installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.