git-commit
This Claude Code skill creates git commits in Conventional Commits format with required scope and type prefixes, enforcing project-specific conventions defined in CLAUDE.md. Use it when staging and committing code changes, ensuring commits follow standards like present-tense imperative subjects under 50 characters, kebab-case scopes, and project-specific types such as security.
git clone --depth 1 https://github.com/fvadicamo/dev-agent-skills /tmp/git-commit && cp -r /tmp/git-commit/plugins/github-workflow/skills/git-commit ~/.claude/skills/git-commitSKILL.md
# Git commit
Creates git commits following Conventional Commits format.
## Recent project commits
!`git log --oneline -5 2>/dev/null`
## Quick start
```bash
# 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:
```bash
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 comparisonsCreates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing PRs, use github-pr-merge instead.
Merges GitHub Pull Requests after validating pre-merge checklist. Use when user wants to merge PR, close PR, finalize PR, complete merge, approve and merge, or execute merge. Runs pre-merge validation (tests, lint, CI, comments), confirms with user, merges with proper format, handles post-merge cleanup.
Handles PR review comments and feedback resolution. Use when user wants to resolve PR comments, handle review feedback, fix review comments, address PR review, check review status, respond to reviewer, verify PR readiness, review PR comments, analyze review feedback, evaluate PR comments, assess review suggestions, or triage PR comments. Fetches comments via GitHub CLI, classifies by severity, applies fixes with user confirmation, commits with proper format, replies to threads.
Guide for creating Claude Code skills following Anthropic's official best practices. Use when user wants to create a new skill, build a skill, write SKILL.md, update an existing skill, or needs skill creation guidelines. Provides structure, frontmatter fields, naming conventions, and new features like dynamic context injection and subagent execution.