Commit

Create or amend a Git commit with author verification, diff review, and a conventional message. Use only when the user explicitly asks to commit or amend changes.

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Magnus-Gille/claude-skills --skill commit
Manual install
git clone --depth 1 https://github.com/Magnus-Gille/claude-skills.git /tmp/claude-skills
mkdir -p ~/.claude/skills
cp -r /tmp/claude-skills/commit ~/.claude/skills/commit

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# /commit - Standardized Git Commit

Create clean, well-documented git commits with safety checks.

## Usage

- `/commit` - Stage, review, commit, and optionally push
- `/commit <message>` - Commit with a specific message (still runs safety checks)
- `/commit amend` - Amend the explicitly requested commit

## Workflow

### Step 1: Verify Author Identity

```bash
git config user.name
git config user.email
```

- The user's expected `user.name` and `user.email` should be configured in their global `~/.gitconfig` or in the repo's `.git/config`. If `git config user.email` returns an unexpected value (e.g. a CI/bot email, or empty), warn the user before proceeding.
- Do NOT silently fix it — the user should decide whether to update the config or commit under the current identity.

### Step 2: Review Changes

Run in parallel:
```bash
git status
git diff --stat
git diff --staged --stat
```

Present a summary:
- Files modified (staged vs unstaged)
- Files added/deleted
- Untracked files that might need staging

Stage specific task-owned files within the requested commit scope. Preserve unrelated staged and unstaged changes; ask only when ownership or scope is unclear. Inspect the exact staged diff before committing, including any pre-existing staged content. Do not include unrelated staged content in this commit or unstage it without authorization.

### Step 3: Security Check

Before committing, verify:
Read the full skill on GitHub

Details

Skill name
commit
Path
commit/SKILL.md
License
MIT
Repo updated
16 November 2026

FAQ

What does the Commit skill do?

Create or amend a Git commit with author verification, diff review, and a conventional message. Use only when the user explicitly asks to commit or amend changes.

How do I install the Commit skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add Magnus-Gille/claude-skills --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 Magnus-Gille/claude-skills, which has 5 GitHub stars and 0 forks.

Related skills

Close

5

Magnus-Gille/claude-skills

Close a coding-agent session or produce its final handoff only when the user explicitly asks to close, wrap up, or produce an end-of-session handoff.

AI, LLMs & Agents

Cloudflare Private Static Site

5

Magnus-Gille/claude-skills

Create, preview, test, release, verify, or roll back a small static Cloudflare site protected by per-person HTTP Basic Auth. Use for private briefings, reports, one-pagers, document portals, or similar sites that should go from finished content to a custom domain in about ten minutes. Do not use for full applications or when the user requires SSO, identity lifecycle, or Cloudflare Access policy management.

DevOps & Cloud

Code Friction

5

Magnus-Gille/claude-skills

Capture a small, opt-in set of concrete code-changeability observations during a coding task and hand them to Close without affecting readiness.

Software Development

PR Review Pipeline

5

tomada1114/tomada-claude-plugins

Example multi-phase skill — reviews a pull request by spawning a security specialist and a performance specialist in parallel, each primed with a numbered checklist, then merges their findings into a deterministic workspace. Structural reference for building phased skills with sub-agents; not wired to anything, do not invoke it.

Git & Code Review

Bio Phylo Tree Manipulation

9

hackernoon/cuttlefish-agent-skills

Edit phylogenetic tree structure with Biopython Bio.Phylo, and treat rooting as a separate statistical inference rather than a display choice. Covers why most inference returns an unrooted tree so placing the root creates every ancestor/descendant and basal claim; why a distant or lonely outgroup misroots inside the ingroup via long-branch attraction; the outgroup/midpoint/MAD/MinVar/non-reversible-likelihood rooting tradeoffs; why pruning must suppress degree-2 nodes and sum their branch lengths or all patristic distances silently corrupt; and why collapsing by support makes SOFT (uncertainty

Git & Code Review

Review PR Codex

5

Magnus-Gille/claude-skills

Run a requested, read-only cross-model review of a pull request or branch diff using the installed Codex CLI. Use only when the user asks for review-pr-codex or a Codex PR review.

Git & Code Review

Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.