Claude
Skills
Sign in
Back

commit

Included with Lifetime
$97 forever

Stage the intended changes and create one clear conventional commit.

General

What this skill does


# Commit

Create one clear Conventional Commit for the intended current changes.

## Workflow

1. Inspect `git status`, `git diff`, and `git diff --cached`.
2. Read recent commit messages for useful scopes and local phrasing.
3. If there is nothing worth committing, stop.
4. Stage only intended files. Never stage secrets.
5. Use the user's message if provided. Otherwise write a Conventional Commit message: `type(scope): subject`.
6. Create the commit and report the hash and message.

## Rules

- Prefer staging specific files over broad adds.
- Do not commit `.env`, credentials, or keys.
- If the diff is not understood, stop.
- Prefer `feat`, `fix`, `refactor`, `test`, `docs`, or `chore`.
- The subject should say what changed. Add a body when the why, risk, or verification matters.
Files: 1
Size: 0.9 KB
Complexity: 8/100
Category: General

Related in General