Agent skill
git-commit
This skill should be used when creating conventional commits for current changes. It groups related changes into logical commits, ensures all files are committed, and verifies the working directory is clean afterward.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/git-commit-codyswanngt-lisa
SKILL.md
Git Commit Workflow
Create conventional commits for current changes. Optional hint: $ARGUMENTS
Workflow
See what has changed
!git status !git diff --stat
Apply these requirements
- Branch Check: If on
dev,staging, ormain, create a feature branch named after the changes - Commit Strategy: Group related changes into logical conventional commits (feat, fix, chore, docs, etc.)
- Commit ALL Files: Every file must be assigned to a commit group - no file gets left out or unstaged
- Commit Creation: Stage and commit each group with clear messages
- Verification: Run
git statusto confirm working directory is clean - must show "nothing to commit"
Use conventional commit format
feat:for new featuresfix:for bug fixesdocs:for documentationchore:for maintenancestyle:for formattingrefactor:for code restructuringtest:for test additions
Never
- use
--no-verifyflag - attempt to bypass tests or quality checks
- skip tests or quality checks
- stash changes - ALL changes must be committed
- skip or exclude any files from the commit - even if they're unrelated
- leave uncommitted changes in the working directory
- ask the user which files to commit - commit everything
Execute
Execute the workflow now.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?