Agent skill
git-commit-messages
Generates consistent git commit messages following project conventions. Use when committing changes, creating PRs, or when asked to write commit messages.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/git-commit-messages
SKILL.md
Git Commit Message Generator
Format
type(scope): subject in imperative mood
- Body bullet in past tense with period.
- Another change description.
Types
| Type | When to Use |
|---|---|
feat |
Added new functionality |
fix |
Fixed a bug |
refactor |
Restructured code, no behavior change |
chore |
Dependencies, tooling, configs |
docs |
Documentation |
test |
Tests |
cicd |
CI/CD pipelines, deployment |
ai |
AI/Claude configurations |
Rules
- Subject: Imperative mood, lowercase after colon, no period, max 72 chars
- Scope: Derived from path. When changes span multiple scopes, omit the scope entirely
authz– Authorization stack and FGA modelsinfra– Kraftfiles, Dockerfiles, deployment configsnix– Flake and Nix configuration
- Body: Past tense, capital start, period at end
- No attribution: Never include "Co-Authored-By", "Generated with", or any AI/author attribution
- AI-only changes: When changes are exclusively AI-related (skills, prompts, Claude configs), always use
aitype—neverrefactor,chore, or other types - Preview before commit: Always show the proposed commit message to the user for confirmation before executing the commit
Examples
feat(authz): add task permissions with list inheritance
refactor(authz): split monolithic model into modules
- Separated projects.fga and tasks.fga into distinct files.
- Created fga.mod manifest to declare included modules.
chore(nix): update flake inputs to latest versions
- Bumped nixpkgs to 2025-12-21.
- Updated unikraft-nur to v0.12.5.
feat(infra): add Caddy reverse proxy for Unikraft deployment
- Added Kraftfile and rootfs for Caddy unikernel.
- Configured TLS termination and playground proxy.
docs: restructure README for improved clarity
chore: update dependencies and documentation
- Bumped openfga-cli to v0.7.8.
- Updated AGENTS.md with README references.
ai: secure Claude settings by restricting dangerous permissions
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?