Commit

Create or amend a Git commit with author verification, diff review, and a conventional message. Use only when the user explicitly invokes $commit or 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/codex/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, and commit changes
- `$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 configured identity should be the user's intended name and email for this repository. If either is empty or unexpected (for example, a CI or bot identity), warn 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:
- No `.env`, `credentials.json`, `token.json`, or `client_secret_*.json` files are staged
- No files in `secrets/` are staged
Read the full skill on GitHub

Details

Skill name
commit
Path
codex/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 invokes $commit or 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

Designing Architecture

5

tomada1114/tomada-claude-plugins

Decide a new app's hard-to-reverse design choices from its signed-off requirements and UX drafts before any issue is filed — design lock, app shape, sandbox and OS permissions, persistence, backend and sync, auth, key dependencies, locales, distribution — through researched option rounds with the user, and write each decision in the present tense, with its reasoning, into the repository skill that owns the subject (its SKILL.md or references/), or AGENTS.md's Architecture section for a layer rule. Creates no architecture overview, roadmap, decision record, or ADR; a subject with no owning skil

Software Development

Codex CLI Config

5

tomada1114/tomada-claude-plugins

Reference for OpenAI Codex CLI configuration, permissions, sandboxing, and autonomy — sandbox_mode and permission profiles, approval_policy, Rules (.rules / prefix_rule), config.toml precedence and trust, AGENTS.md discovery, task design (Mini Codex, Done When, Plan mode), Skills/Plugins/subagents/MCP, and running Codex unattended in CI or Automations. Use when configuring Codex CLI, loosening or tightening its sandbox, diagnosing why a config.toml, AGENTS.md, or Rules file is not taking effect, or writing task prompts and AGENTS.md content Codex will act on well. Also applies when Codex CLI i

Software Development

Discord Bot Architect

5

Dreydrey9000/claude-skills

Specialized skill for building production-ready Discord bots. Covers Discord.js (JavaScript) and Pycord (Python), gateway intents, slash commands, interactive components, rate limiting, and sharding.

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.