From carl-tools
Capture a technical or product decision with chosen option, rejected alternatives, and rationale — in a format a future agent can read to reconstruct context.
How this skill is triggered — by the user, by Claude, or both
Slash command
/carl-tools:decision-logThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The "why did we do it this way?" skill. Captures decisions at the moment they're made — while the context is alive — so future sessions don't have to reverse-engineer intent from code.
The "why did we do it this way?" skill. Captures decisions at the moment they're made — while the context is alive — so future sessions don't have to reverse-engineer intent from code.
Ask the user (or infer from context):
If the user is in the middle of implementation, infer as much as possible from context (open files, recent commits, current CLAUDE.md discussion) and ask only what's missing.
Create or append to .decisions/YYYYMMDD-<slug>.md in the project root. Use today's date and a kebab-case slug from the decision title.
# [Decision Title]
**Date:** YYYY-MM-DD
**Status:** Active | Superseded by [link] | Deprecated
**Decider:** [person or team]
## Decision
[One clear sentence: we chose X.]
## Context
[What was the situation? What problem were we solving? What constraints existed?]
## Options Considered
### Option A: [Chosen] ✓
[Description]
**Pros:** [list]
**Cons:** [list]
### Option B: [Rejected]
[Description]
**Pros:** [list]
**Cons:** [list]
**Why rejected:** [specific reason]
### Option C: [Rejected] (if applicable)
...
## Rationale
[Why Option A won. The core reasoning. What would have to be true for us to pick differently?]
## Consequences
**Positive:** [what this enables]
**Negative / Trade-offs:** [what we gave up]
**Risks:** [what could go wrong with this choice]
## Revisit When
- [Specific trigger: "if X starts taking more than Y seconds"]
- [Technology changes: "if library Z adds support for W"]
- [Scale changes: "if we exceed N users"]
## Related
- [File or module most affected]
- [Other decisions this relates to]
- [External docs or prior art]
Create or update .decisions/README.md — a running index of all decisions:
# Decision Log
| Date | Decision | Status |
|------|----------|--------|
| YYYY-MM-DD | [Title](./YYYYMMDD-slug.md) | Active |
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub carlkibler/agent-skills --plugin ralph-loop