Standardizes git commit messages by analyzing changes and enforcing Conventional Commit formatting.
Install
mkdir -p .claude/skills/commit-rubentalstra && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/13223" && unzip -o skill.zip -d .claude/skills/commit-rubentalstra && rm skill.zipInstalls to .claude/skills/commit-rubentalstra
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Stage and commit the current changes as a single Conventional Commit that passes this repo's commit-msg rules. Use when the user asks to commit work in OpenWorkspace.Key capabilities
- →Stage intended files for commit
- →Compose Conventional Commit messages
- →Validate commit messages against `commit-msg` hooks
- →Show the last commit details
- →Prevent commits on `main`/`master` branches
- →Add a body or breaking change footer to commits
How it works
This skill stages current changes and composes a Conventional Commit message based on predefined types and scopes. It then executes the commit, validating the message against local `commit-msg` hooks.
Inputs & outputs
When to use commit
- →Committing finished work
- →Formatting commit messages
- →Verifying commit message conventions
About this skill
Create one Conventional Commit for the current change set in OpenWorkspace.
Steps
- Run
git statusandgit diff --staged(andgit difffor unstaged) to see exactly what will be committed. If nothing is staged, stage the intended files withgit add— confirm the set is coherent and unrelated changes are left out. - Confirm you are not on
main/master. If you are, stop and tell the user to branch first (git checkout -b <type>/<topic>) — the hooks will reject a commit on main anyway. - Compose the message:
type(scope): subject— type ∈feat fix docs style refactor perf test build ci chore.- scope = the crate or app touched (
domain db auth floorplan crypto i18n notify jobs ui config observability web worker app frontend server) or a cross-cutting scope (ci dev deps release). - subject: imperative mood, ≤50 chars, no trailing period.
- Add a body only when the why isn't obvious from the subject. Use a
BREAKING CHANGE:footer or!after the scope for breaking changes (pre-V1: a breaking change bumps MINOR). - Never add an assistant/AI mention or any co-author/"generated with" trailer — commits are authored by the human only.
- Commit with
git commit -m "..."(and-magain for a body). The localcommit-msghook validates the result; if it rejects, read the message and fix it rather than bypassing. - Show the user the final
git log -1 --stat.
Do not push or open a PR unless explicitly asked.
When not to use it
- →When pushing commits to a remote repository
- →When opening a pull request
- →When the user explicitly asks to bypass commit hooks
Limitations
- →The skill does not push commits
- →The skill does not open pull requests
- →The skill prevents committing directly to `main`/`master`
How it compares
This skill enforces Conventional Commit standards and validates messages automatically, unlike manually crafting and committing messages.
Compared to similar skills
commit side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| commit (this skill) | 0 | 1mo | Review | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| openspec-onboard | 10 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices