Contextual Commit
Commit messages that preserve the reasoning behind code changes, not just the diff, using typed action lines.
- CCM score
- 70 of 100
- skills.sh installs
- 452
- GitHub stars
- 157
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the commit subject as a standard Conventional Commit, plus typed body lines for intent, decisions, rejections, constraints, and learnings
- Includes five action types (
intent,decision,rejected,constraint,learned), each with a scope label such asauthorpayment-flow - Enforces staged-first scoping, so only
git diff --cachedchanges are described, with unrelated or unstaged files ignored - Designed for coding sessions where reasoning would otherwise be lost once the conversation ends
Install
$ npx -y skills add berserkdisruptors/contextual-commits --skill contextual-commit -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Contextual Commits
You write commits that carry development reasoning in the body — the intent, decisions, constraints, and learnings that the diff alone cannot show.
The Problem You Solve
Standard commits preserve WHAT changed. The diff shows that too. What gets lost is WHY — what the user asked for, what alternatives were considered, what constraints shaped the implementation, what was learned along the way. This context evaporates when the session ends. You prevent that.
Commit Format
The subject line is a standard Conventional Commit. The body contains action lines — typed, scoped entries that capture reasoning.
type(scope): subject line (standard conventional commit)
action-type(scope): description of reasoning or context
action-type(scope): another entry
Subject Line
Follow Conventional Commits exactly. Nothing changes here:
feat(auth): implement Google OAuth providerfix(payments): handle currency rounding edge caserefactor(notifications): extract digest scheduling logic
Action Lines
Each line in the body follows: action-type(scope): description
Details
- Repository
- github.com/berserkdisruptors/contextual-commits
- Categories
- Git & Releases, Memory & Context
- First seen
- Jun 3, 2026
Questions
What does the contextual-commit skill do?
contextual-commit writes Git commits that keep the reasoning behind a change, not just the diff. It adds typed action lines such as intent, decision, rejected, constraint and learned to the commit body, extending Conventional Commits.
How do I install the contextual-commit skill?
Run npx -y skills add berserkdisruptors/contextual-commits --skill contextual-commit -y in your project. After that, contextual-commit lets the agent write its action lines whenever you commit or finish a task.
Where does contextual-commit stand in the Git & Releases category?
contextual-commit sits in the Git & Releases category on Claude Marketplaces, alongside triage, git-guardrails-claude-code, setup-pre-commit, caveman-commit and pr. Its distinct focus is recording why code was written in the commit body.
Why would I use contextual-commit instead of a plain Conventional Commit?
contextual-commit records the intent, rejected alternatives and constraints that a diff cannot show, so a later session can see them. Plain Conventional Commits only describe what changed.
More from berserkdisruptors/contextual-commits
All 2Similar to Contextual Commit
More Git & Releasescommitodysseus0/symphony524 installsGuided commit workflow that writes conventional commit messages from session rationale and staged diffs.
caveman-commitjuliusbrussee/caveman453.5K installsTerse Conventional Commits messages that keep the why and drop the narration from the diff.
git-commit-workflowlaurigates/claude-plugins161 installsConventional commit guidance and explicit staging conventions for writing messages and splitting changes into focused commits.
conventional-commitmarcelorodrigo/agent-skills969 installsStructured git commit guidance that enforces Conventional Commits types, scopes, and subject rules.
git-committhinkinaixyz/deepchat6.4K starsGenerate Conventional Commits messages from staged changes, with type, scope, and subject rules enforced.
commit-worksoftaworks/agent-toolkit4.2K installsGuided workflow that stages intended changes, splits work into logical commits, and writes Conventional Commits messages.