git-commit
Skill by tisfeng
Drafts, creates and reports Angular-style local Git commits. It checks the commit scope before staging and validates the message after committing. It is for developers who want consistent commit messages without any push.
Install git-commit
Built from the published package, never by AI.
git clone --depth 1 https://github.com/tisfeng/Easydict /tmp/Easydict && mkdir -p ~/.claude/skills && cp -r /tmp/Easydict/.agents/skills/git-commit ~/.claude/skills/git-commitRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/tisfeng/Easydict /tmp/Easydict && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Easydict/.agents/skills/git-commit ~/.gemini/antigravity-cli/skills/git-commitAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
git-commit is an agent skill that drafts, creates or reports Angular-style local Git commits. It works from a scope-checked staged diff. A preview mode returns a draft without changing Git, and confirm mode waits for approval before staging.
Before writing, the skill checks HEAD, the index and candidate paths again. It stops on conflicts or unexpected changes instead of overwriting or amending. It validates the message with a bundled validator, runs git commit with a message file, and checks that the stored message matches the preview. It never runs git push, rebase or merge. Branch integration is left to other skills, such as worktree-rebase-merge. It suits developers who want consistent commit messages and careful handling of their working tree.
Written from the project's SKILL.md and checked against it.
What it can do
- Draft commit messagesReturns a full Angular-style commit message from the staged diff without changing Git.
- Create local commitsStages the approved paths once, runs git commit with a message file and checks the result.
- Report existing commitsReads a named commit or range and reports its real message and statistics.
- Suggest branch namesReturns valid branch name candidates for other skills without creating a branch.
- Scope and state checksConfirms HEAD, index, candidate paths and content before writing, and stops on drift.
What you need
- A local Git repository
Try asking
- Draft a commit message for my staged changes
- Create a local commit for the approved files in this repo
- Summarize the message and stats of commit abc1234
Good to know
- Does not run git push, rebase or merge.
- Does not amend commits or retry writes after a failure.
- Preview and draft modes do not stage files or create commits.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/git-commit/SKILL.md, .agents/skills/git-commit/scripts/branch_name.py, .agents/skills/git-commit/scripts/commit-change-stats.py, .agents/skills/git-commit/scripts/validate-commit-message.py, .agents/skills/git-commit/tests/test_branch_name.py, .agents/skills/git-commit/tests/test_commit_change_stats.py, .agents/skills/git-commit/tests/test_validate_commit_message.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
agents/openai.yaml245 B -
references/branch-naming.md3 KB -
references/commit-message.md7 KB -
references/post-commit-report-example.md2 KB
Show all 12 files
-
references/reporting.md3 KB -
scripts/branch_name.py4 KB -
scripts/commit-change-stats.py7 KB -
scripts/validate-commit-message.py15 KB -
tests/test_branch_name.py4 KB -
tests/test_commit_change_stats.py7 KB -
tests/test_validate_commit_message.py18 KB
Alternatives to git-commit
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
git-commit: common questions
Does git-commit push my changes?
No. The source states that the skill does not run git push, rebase or merge.
What happens if the commit message check fails?
The skill keeps the message file, does not amend, and does not report the delivery as complete.
Can it commit without asking first?
Only when the user explicitly calls the skill or the host has authorized automatic local commits. In confirm mode it waits for approval before staging.
How do I install git-commit?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is git-commit free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is git-commit safe to use?
It scores 87 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to git-commit?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
