
Git Commit
Automates git commits in Conventional Commits format with enforced scoping and project-specific conventions. It pulls guidelines from CLAUDE.md, shows your last five commits for context, and won't let you skip the scope or write vague messages like "fix bug". The HEREDOC pattern for multi-line commits is smart for linking requirements and tasks. Honestly, the real value is in the guardrails: it forces present tense verbs, caps subjects at 50 characters, and checks your project's conventions before committing. Good for teams that care about readable history but don't want to memorize the commit format every time.
- skills.sh installs
- 322
- GitHub stars
- 72
- last updated
- Aug 21, 2026
Install
$ npx -y skills add fvadicamo/dev-agent-skills --skill git-commit --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/fvadicamo/dev-agent-skills
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026