Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
Contextual Commits
An open standard for capturing the WHY in git history
Install: npx skills add berserkdisruptors/contextual-commits
Works with Claude Code, OpenCode · 156 GitHub stars
Install
npx skills add berserkdisruptors/contextual-commitsInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →Contextual Commits
Conventional Commits standardised WHAT changed. Contextual Commits add WHY.
A convention for embedding decision traces in git commit bodies. Every commit carries not just the code change, but the intent and reasoning that shaped it — structured as typed action lines that any tool can parse and any agent can query.
No new tools. No infrastructure. Just better commits.
Standard AI commit:
feat(auth): implement Google OAuth provider
Added GoogleAuthProvider class with passport.js integration.
Created callback route handler at /api/auth/callback/google.
Added refresh token logic with offline access scope.
Updated auth middleware to support multiple providers.
This restates what the diff already shows. Zero signal added.
Contextual commit:
feat(auth): implement Google OAuth provider
intent(auth): social login starting with Google, then GitHub and Apple
decision(oauth-library): passport.js over auth0-sdk for multi-provider flexibility
rejected(oauth-library): auth0-sdk — locks into their session model, incompatible with redis store
constraint(callback-routes): must follow /api/auth/callback/:provider pattern per existing convention
constraint(session-store): redis 24h TTL means tokens must refresh within that window
learned(passport-google): requires explicit offline_access scope for refresh tokens
The subject line tells you what. The body tells you why.
Motivation
AI coding tools are everywhere. Trust in their output isn't. The gap is context.
Every AI coding session produces three outputs:
- Code changes — committed to git. Preserved.
- Decisions — which approach was chosen, what was rejected, what constraints were found. Lost.
- Understanding — deeper comprehension of how the system works and why. Lost.
Two-thirds of every session's value evaporates when the conversation window closes. Commit history is the one context source every AI coding tool can access out of the box — yet the standard AI-generated commit body restates what the diff shows. What agents can't get from the diff is why an approach was chosen, what constraints shaped it, or what was tried and rejected.
Git tracks branches, diffs, and history. The one thing it doesn't track is reasoning. The commit body has always been available for this.
The context that disappears
The agent proposes an approach you already tried and rejected last session — but the reasoning that ruled it out died with the conversation window. It writes a clean implementation that violates a constraint it has no way of knowing about, and discovers it by failing. Three months later, another session sees a pattern in the code that looks arbitrary — it wasn't, but the reason existed in a conversation that no longer exists.
Same problem, three forms. AI coding sessions produce decisions and understanding alongside code, but only the code survives in git.
What agents can and cannot recover
Several categories of context shape AI coding quality. Most can be reverse-engineered from the codebase: architecture, code patterns, test strategy, naming conventions. An agent that reads your code can figure these out.
Two categories cannot be reverse-engineered: what you intended and what you already tried. Intent and historical context — the decisions made, alternatives rejected, constraints discovered, lessons learned — exist only in human memory and disappearing conversations.
Similar plugs
Open-source AI job search agent and job finder: scan job boards, score each job 1-5 against your CV before you apply, tailor an ATS-friendly resume and cover letter, get…
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, and Pi. 44 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.
Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.
Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific…