Commit
Creates and executes one coherent git commit from staged or selected working-tree changes. Use when the user asks to commit changes, stage and commit a logical change, or create a git commit with an appropriate message. Do not use for a draft-only message request or an operation that only pushes existing commits.
Install
npx skills add NeverSight/learn-skills.dev --skill commitgit clone --depth 1 https://github.com/NeverSight/learn-skills.dev.git /tmp/learn-skills.dev
mkdir -p ~/.claude/skills
cp -r /tmp/learn-skills.dev/data/skills-md/0xd669/skills/commit ~/.claude/skills/commitPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
Create exactly one coherent commit while preserving changes outside its intended
scope. Write the commit message in English and communicate with the user in their
language. Follow explicit user instructions and applicable repository guidance
before the defaults below.
## Repository Context
- Status: !`git status --short`
- Staged changes: !`git diff --cached`
- Unstaged changes: !`git diff`
- Untracked files: !`git ls-files --others --exclude-standard`
- Unmerged files: !`git diff --name-only --diff-filter=U`
- Current branch: !`git branch --show-current`
- Recent commits: !`git log --oneline -10`
## 1. Define the Commit Scope
1. If the worktree and index contain no changes, tell the user there is nothing
to commit and stop.
2. Select the target changes in this order:
- If the user named files or a logical change, use that scope. If unrelated
changes are already staged, explain the conflict and ask how to proceed
before changing the index.
- Otherwise, if staged changes exist, treat the staged diff as the complete
target. Leave unstaged and untracked changes untouched.
- Otherwise, group unstaged and untracked changes by purpose. If they form one
clear logical change, use that group. If there are multiple plausible groups
or a file's inclusion is ambiguous, present the groups and ask which one to
commit.
3. Judge cohesion by behavior and purpose, not by file count alone. Keep tests,Details
- Skill name
commit- Repository
- NeverSight/learn-skills.dev
- Path
data/skills-md/0xd669/skills/commit/SKILL.md- Repo updated
- 18 November 2026
FAQ
What does the Commit skill do?
Creates and executes one coherent git commit from staged or selected working-tree changes. Use when the user asks to commit changes, stage and commit a logical change, or create a git commit with an appropriate message. Do not use for a draft-only message request or an operation that only pushes existing commits.
How do I install the Commit skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add NeverSight/learn-skills.dev --skill commit. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Commit popular?
It lives in NeverSight/learn-skills.dev, which has 223 GitHub stars and 42 forks.
Related skills
Council
223NeverSight/learn-skills.dev
Convene the Council of High Intelligence — multi-persona deliberation with historical thinkers for deeper analysis of complex problems.
Megaeth Developer
223NeverSight/learn-skills.dev
End-to-end MegaETH development playbook (Feb 2026). Covers wallet operations, token swaps (Kyber Network), eth_sendRawTransactionSync (EIP-7966) for instant receipts, JSON-RPC batching, real-time mini-block subscriptions, storage-aware contract patterns (Solady RedBlackTreeLib), MegaEVM gas model, WebSocket keepalive, bridging from Ethereum, and debugging with mega-evme. Use when building on MegaETH, managing wallets, sending transactions, or deploying contracts.
Openclaw Stock Skill
223NeverSight/learn-skills.dev
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
Conventionalcommits
223NeverSight/learn-skills.dev
Conventional Commits specification for semantic versioning and changelog generation. Use when writing commit messages, configuring commit linting, or automating releases.
Plantuml
61SpillwaveSolutions/plantuml
Generate leftover PlantUML types Mermaid cannot do easily (Salt wireframes, use case, timing, ArchiMate, nwdiag, WBS) and convert them to PNG/SVG. Use when asked for a wireframe, PlantUML image export, extract puml from markdown, or prepare Confluence uploads. Class, ER, state, sequence, and C4 default to design-doc-mermaid on GitHub wiki.
Git Best Practices
223NeverSight/learn-skills.dev
Git workflow patterns for commits, branching, PRs, and history management across heterogeneous repositories. Use when creating commits, managing branches, opening pull requests, or rewriting history. Do not use for non-git implementation tasks or repo-specific release policy decisions without repository documentation.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.