Git Commit

Complete git commit workflow including pre-commit review, staging, message generation, and verification. Use when creating commits or preparing changes for commit.

49 stars 102 forksGit & Code Review

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hw-native-sys/simpler --skill git-commit
Manual install
git clone --depth 1 https://github.com/hw-native-sys/simpler.git /tmp/simpler
mkdir -p ~/.claude/skills
cp -r /tmp/simpler/.claude/skills/git-commit ~/.claude/skills/git-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

# Git Commit Workflow

## Prerequisites

Check what changed to determine review/test needs:

```bash
git diff --name-only
git diff --cached --name-only
```

| File Types Changed | Run Tests |
| ------------------ | --------- |
| C++ (`.cpp`, `.h`) | Yes |
| Python (`.py`) | Yes |
| Build system (`CMakeLists.txt`) | Yes |
| Docs only (`.md`) | Skip |
| Config only (`.gitignore`, `.json`) | Skip |

## Pre-Commit Testing

When tests are needed, follow the testing skill for the full strategy: see [`.claude/skills/testing/SKILL.md`](../testing/SKILL.md) — "Pre-Commit Testing Strategy" section.

## Stage Changes

Stage related changes together, never stage build artifacts (`build/`, `*.o`, `outputs/`).

```bash
git add path/to/file1.cpp path/to/file2.h
git diff --staged  # Review before committing
```

## Commit Message Format

### Subject Line

`Type: concise description` (under 72 characters, imperative mood, no period)

**Types**:

| Type | Usage |
| ---- | ----- |
| **Add** | new feature or file |
| **Fix** | bug fix |
| **Update** | enhancement to existing feature |
| **Refactor** | restructuring without behavior change |
| **Support** | tooling, profiling, CI infrastructure |
| **Sim** | simulation-specific changes |
| **CI** | CI/CD pipeline changes |

### Body (required for multi-file changes)

Separate from subject by a blank line. Explain **what** changed and **why**. Use bullet points for multiple items. Wrap at 72 characters.
Read the full skill on GitHub

Details

Skill name
git-commit
Path
.claude/skills/git-commit/SKILL.md
Repo updated
18 November 2026

FAQ

What does the Git Commit skill do?

Complete git commit workflow including pre-commit review, staging, message generation, and verification. Use when creating commits or preparing changes for commit.

How do I install the Git Commit skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add hw-native-sys/simpler --skill git-commit. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Git Commit popular?

It lives in hw-native-sys/simpler, which has 49 GitHub stars and 102 forks.

Related skills

Benchmark

49

hw-native-sys/simpler

Benchmark runtime performance on hardware. If the current branch has commits ahead of upstream/main or uncommitted changes, compares against the fork point (merge-base). Otherwise benchmarks current state only. Use when the user asks to benchmark, measure performance, or compare latency.

Git & Code Review102

Checkout PR

49

hw-native-sys/simpler

Add a remote for a given PR's head repository and checkout a local pr-xxx-work branch. Use when the user wants to work on someone else's PR locally.

Git & Code Review102

Clean Branches

49

hw-native-sys/simpler

Remove stale local and remote git branches that have been merged into main. Detects regular merges and squash merges. Cleans up fork remote branches and prunes tracking refs. Use when the user asks to clean up branches, remove merged branches, or tidy up git.

Git & Code Review102

Github PR

49

hw-native-sys/simpler

Create or update a GitHub pull request after committing, rebasing, and pushing changes. Use when the user asks to create a PR, submit changes for review, or open a pull request.

Git & Code Review102

Fix PR

49

hw-native-sys/simpler

Fix GitHub PR issues — address all PR feedback (inline review threads, review summary bodies, and conversation comments) and resolve CI failures in a loop until the PR is fully clean. Fetches CI errors online and triages review feedback. Use when fixing PR problems, addressing review comments, or resolving CI failures.

Git & Code Review102

Maintainer

49

hw-native-sys/simpler

Maintain GitHub Issues and PRs through an action table, focused user decisions and recurring monitoring or a requested single pass. Use for repository, Issue, track or personal scopes, optionally filtering PR target branches. Scope does not grant repository authority; continuous monitoring requires a working wake mechanism.

Git & Code Review102

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