Command Palette

Search for a command to run...

Back to skills
skill № 25161

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)…

FreeNo executable scripts
CERTCCby 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
Sign up freeI already have an account

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-history was called — the tool creates a new file under plan/history/YYMM/<type>/; stage it with git add plan/history/. The monthly README.md is 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

Compare commit with