c-w-z

Commit Decision Record — AI skill for Claude Code

AI community

Decision records without ADR files: each reason lives in its commit, docs show only the current state.

How to install Commit Decision Record

This entry records only its repository, not the path inside it, so there is no exact command to give. Open c-w-z/commit-decision-record and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Commit Decision Record does

Decision records without ADR files: each reason lives in its commit, docs show only the current state. A repo template for projects built with AI coding agents.

Alternatives in AI

  • Scientific Agents — Expert-thinking AGENTS.md profiles that teach AI agents to reason like senior scientists and engineers 141 ★
  • Awel — 🌸 Local, Open Source AI agent/App Builder that lives inside your Next.js app 38 ★
  • Sync Cost Model — /sync-cost-model — Refresh cost-model.md against current Anthropic docs 29 ★

README

commit-decision-record

A GitHub template repository for projects that people and AI coding agents build together. Each decision keeps its reason in the commit that makes it, and the docs show only the current state.

Compared with ADR

An architecture decision record (ADR) keeps each decision in its own file. This template keeps each decision in a commit.

Question ADR commit-decision-record
Where is the reason? One file for each decision, for example in docs/adr/ The body of the commit that makes the change: Why, Rejected, Cost, Evidence, Supersedes
What happens when a decision is overturned? A new ADR. The old ADR is marked superseded and stays in the tree A new commit with Supersedes:. The docs change to the new decision. The old reason stays only in Git history
What does an AI agent read? All ADRs in the tree, also the superseded ones Only the current docs. The trace-decision skill searches history when somebody asks for a reason
How does code point to its decision? A link that somebody adds by hand A comment next to the code links the design section. Without a comment link, the `trace-decision` skill goes from the lines to their commits
Can the record and the change get out of step? Yes. The ADR is a separate file No. The reason is in the same commit as the change

Use ADRs if people must read the decisions without Git, for example on a website for stakeholders. The full list of rejected approaches is in [Rejected approaches in docs/doc-rules.md](docs/doc-rules.md#rejected-approaches).

Contents

The template gives:

  • AGENTS.md: hard conventions for AI assistants, and pointers to the docs and skills.
  • CONTRIBUTING.md: the formats and rules for commits, pull requests (PRs) and issues.
  • docs/doc-rules.md: what to document, where, and how to write it.
  • docs/development.md: setup, build, test, CI and branch protection.
  • `docs