commit
Thin git stage-and-commit wrapper. Stages the specified files and commits with a clear message. Does not perform finalization (history updates, plan cleanup)…
by CERTCC★ 22 GitHub stars
Install commit in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Skill: Commit
Stage and commit changes. This skill does only one thing: git add + git commit. The caller is responsible for all finalization steps (updating history files, cleaning plan files, running linters and tests) before invoking this skill.
Procedure
Step 1 — Verify working tree
Run git status and confirm:
- Only the expected files are staged or modified.
- No unintended changes are present.
Step 2 — Stage files
git add <files>
Stage only the files changed by the current task. Do not use git add -A
unless every change in the working tree belongs to this commit.
Step 3 — Commit
uv run git commit -m "<subject line>
<body: what changed and why, as bullet points>"
Commit message conventions:
- Subject line: imperative mood, ≤72 characters, no trailing period
- Body: bullet points describing what changed and why
Constraints
- Do not run
git push— that is the user's responsibility. - Do not stage unrelated files.
- Never amend an existing commit unless the user explicitly asks.
- Run all validation (
format-code,run-linters,run-tests,format-markdown) and complete all finalization before calling this skill. - Always stage the new entry file when
append-historywas called — the tool creates a new file underplan/history/YYMM/<type>/; stage it withgit add plan/history/. The monthlyREADME.mdis gitignored — do not stage it.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the commit skill do?
Thin git stage-and-commit wrapper. Stages the specified files and commits with a clear message. Does not perform finalization (history updates, plan cleanup) — the caller owns that. Use after all finalization and validation steps are complete.
How do I install the commit skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the commit skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…