Git Commit
Create narrow auditable local commits. Use when verified work must be staged and committed without absorbing unrelated changes.
Install
npx skills add Dimon94/skills --skill git-commitgit clone --depth 1 https://github.com/Dimon94/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/git-commit ~/.claude/skills/git-commitPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Git Commit Create local commits only. One semantic boundary per commit; scope stops at the commit — no push, review item, merge, or branch switch. ```text git status --short --branch for each dirty path in-scope → stage explicit paths or hunks untouched → leave alone inspect cached diff; run git diff --cached --check gate: passing build, or smallest test red → green gate fails → stop, no commit commit with this shape: <type>(<scope>): <imperative subject, ≤72 chars> Problem: what was wrong or missing Change: what this commit does Reason: why this approach over the alternative Verify: the check run and its result Risk: what could still break or was not covered ``` Filled example: ```text fix(auth): reject expired tokens at the middleware boundary Problem: expired tokens passed middleware and failed deep in handlers Change: validate exp claim once in authMiddleware, return 401 there Reason: one guard at the boundary beats a guard in every handler Verify: pnpm test auth — 12 passed, including new expiry case Risk: clients with clock skew may see earlier 401s ``` After commit, report the hash and the pre-commit `git status` output showing unrelated dirt untouched.
Details
- Skill name
git-commit- Repository
- Dimon94/skills
- Path
skills/git-commit/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Git Commit skill do?
Create narrow auditable local commits. Use when verified work must be staged and committed without absorbing unrelated changes.
How do I install the Git Commit skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add Dimon94/skills --skill git-commit. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Git Commit popular?
It lives in Dimon94/skills, which has 107 GitHub stars and 21 forks.
Related skills
Maintain Verification Skill
107Dimon94/skills
Periodic pass that keeps a project's verification skill and feature map honest: parallel source readers per feature, one live session driving every feature, at most one PR of proven corrections. Use for /maintain-verification-skill or "audit the verify skill".
Create Verification Skill
107Dimon94/skills
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform. Use for /create-verification-skill, "make a control skill for this repo", or when a project has no scripted way to prove UI/CLI/service behavior.
How
107Dimon94/skills
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.
Git Push PR
107Dimon94/skills
Push a verified branch and create or update exactly one GitHub pull request. Use when the user asks to 推送远程/建 PR/更新 PR and grants push authority. Read-only without explicit authority; never approves, merges, or closes issues.
Gh Merge PR
107Dimon94/skills
审查并合并单个 GitHub PR,读回落地结果、关闭对应 Issue、删除源分支并回收临时工作树。用于 current-head Review 或完整合入收尾;仅 Review 保持只读,裸分支转交 git-push-pr。
Git Rebase Main
107Dimon94/skills
将已完成的任务分支合回本地 main,并关闭对应 Issue、删除任务分支、回收临时工作树。用于本地 rebase、合回主分支与收尾;不推送目标分支。仅更新待发 PR 的分支时直接 rebase。
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.