Tooluck logoTooluck
SKILL.md

commit-craft

Agent skill fromccplugins/awesome-claude-code-plugins

Use before any git commit, branch, or pull request — defines the project's conventions for atomic commits, message format, branch naming, and PR hygiene so history stays navigable, bisectable, and safe to ship.

How to install commit-craft

install commit-craft
# install the awesome-claude-code-plugins pack with the skills CLI
npx skills add ccplugins/awesome-claude-code-plugins

# or add only this skill to Claude Code: copy the folder

plugins/craftsman/skills/commit-craft/

# into

~/.claude/skills/commit-craft/ (all projects)

.claude/skills/commit-craft/ (one project)

plugins/craftsman/skills/commit-craft/SKILL.md

Apache-2.0Full file
1# Commit Craft
2
3## Overview
4
5Version-control history is documentation that outlives every summary. A commit is read far more
6often than it's written — during review, bisects, blame, and reverts months later. Sloppy history
7turns those into archaeology; disciplined history makes them a one-line answer.
8
9**Core principle:** every commit should be a single, reversible, explainable unit of change.
10
11## When this applies
12
13Any time work reaches git: staging a commit, cutting a branch, or opening a PR. Skip it only for
14throwaway experiments you never intend to keep. It does not depend on any other plugin being
15installed.
16
17## Permission gate (do this first)
18
19- **Only commit, push, or open a PR when the user asks.** Finishing a code change is not implicit
20 permission to commit it — surface the diff and let them decide.
21- **Never commit directly to the default branch without asking.** If the current branch is `main`/
22 `master` and the user hasn't said otherwise, branch first (see naming below), then commit.
23- **Never use `--no-verify`, `--no-gpg-sign`, or skip hooks** unless the user explicitly asks. A
24 failing hook is a signal to fix, not to bypass.
25
26## Commits
27
28**Atomic.** One logical change per commit. Don't mix a refactor with a feature, or a formatting
29sweep with a bug fix — a reviewer (and a future `git revert`) should be able to take or drop the
30change as a whole. Split unrelated work into separate commits.
31
32**Message format:**
33
34```
35…

Excerpt shown under the repository's Apache-2.0 license.

More skills in awesome-claude-code-plugins

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates