decision
Skill1 starsChanged 3 months agoMITView on GitHub
Capture a technical decision with its alternative, the reasoning, and your confidence level. Appends to decisions-log.md so the rationale persists across sessions. Use during /work when you make a non-trivial choice, or retroactively when documenting decisions in an existing project.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- sohaibt/product-modetheir own version, first seen Nov 8, 2026
- lulufoo/lulu-workflowtheir own version, first seen Nov 6, 2026
- qbicus/skillstheir own version, first seen Oct 25, 2026
- emiljuchnikowski/ai-os-templatetheir own version, first seen Oct 20, 2026
- tsukumogami/shirabetheir own version, first seen Oct 15, 2026
- chrisalehman/bionictheir own version, first seen Oct 13, 2026
Used with
Projects with it also use brief, plan and 3 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillbrief
Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.
Also in 3 projects that use this
BlockSkillplan
Draft a TDD, PRD, or lightweight plan in the conversation without committing it.
Also in 4 projects that use this
OpenAISkillaudit
Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.
Also in 3 projects that use this
SentrySkillreview
Fixture review skill.
Also in 4 projects that use this
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- sohaibt/product-mode★ 176same name
- aleksander-dytko/ai-pm-workspace★ 34same name
- chrisalehman/bionic★ 9same name
- mhxie/Atelier★ 5same name
- lulufoo/lulu-workflow★ 3same name
- madebypx/PXOS★ 3same name
- Jsnnmsc/10000x-engineer★ 2same name
- roethlar/AgentGovernanceBootstrap★ 2same name
- Tamircohen28/tamirs-superpowers★ 2same name
- yacb2/aidex★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- architectureSkill
- code-reviewSkill
- commandsSkill
- conventionsSkill
- debugSkill
- explainSkill
- isolateSkill
- issueSkill
- journeysSkill
- onboardSkill
- quick-workSkill
- safe-commitSkill
- safe-pushSkill
- scaffoldSkill
- todoSkill
- workSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 53
After Q1-Q4 are answered, ask one more:
- Distinctive: line 61
Check for an existing log:
- Distinctive: line 69
If one exists, use it. If not, ask:
- Very specific: line 79
If user picks the gitignored option, also suggest adding .claude/*.local.md to .gitignore if not already there.
- Very specific: line 131
When the user is in a /work session and they articulate a non-trivial choice in Phase 1 Q3 ("what changes / what doesn't") or Phase 1 Q5 …
- Distinctive: line 135
Don't force — let the user say yes or no.
- Very specific: line 139
Don't capture trivial decisions.
- Distinctive: line 140
Don't accept vague decisions.
- Distinctive: line 141
Don't make up alternatives the user didn't actually consider.
- Distinctive: line 142
Don't auto-mark confidence as 🟢.
- Distinctive: line 143
Don't overwrite previous entries.
- Very specific: line 144
Don't add Co-Authored-By: Claude.
“Common” is measured: kept by at least 6 in 10 of the 16 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/decision — Capture and persist a technical decision
You are Claude. The user wants to capture a technical decision so it survives the conversation. Decisions made in chat evaporate when the session ends — by writing them to a file, they become part of the codebase's tribal knowledge.
Argument (optional): $ARGUMENTS may be a short one-line description of the decision (e.g., "Why Lemon Squeezy over Stripe"). If empty, ask.
Phase 1 — Frame the decision
Walk the user through these 4 questions, one at a time. Wait for an answer before the next. Don't accept hand-wavy answers — push back kindly until each is sharp.
Q1 — What's the decision?
"In one line, what's the decision? Not the reasoning — just the choice."
Example good answers:
- "Use Lemon Squeezy as the primary payment provider"
- "Move from Pages Router to App Router in Next.js"
- "Add a dedup table for webhook idempotency instead of relying on HMAC alone"
Example bad answers (push back):
- "Improve our payment system" → too vague
- "Make better choices" → not a decision
Q2 — What alternative did you consider and reject?
"What's the most credible alternative you considered? Why did the other option exist as a candidate?"
Insist on at least one concrete alternative. If the user says "there was no alternative," push: "There's always an alternative — even 'do nothing'. What was it?"
Q3 — Why did this one win?
"Why this choice over the alternative? Give me the 2-3 most important reasons."
Push for specifics, not buzzwords:
- "Better DX" → "Better DX how? Compared to what?"
- "More scalable" → "What scale? What about the alternative wouldn't scale?"
Q4 — Confidence level
"How confident are you in this decision today?
- 🟢 High — I'd defend this in an interview without hesitation
- 🟡 Medium — it was the right call at the time, but I'd reconsider if circumstances changed
- 🔴 Low — I'd revisit if I had time, or I'm not 100% sure why I made it"
Be honest in your confidence. A 🔴 documented honestly is worth more than a fabricated 🟢.
Phase 2 — Optional: trade-off and known costs
After Q1-Q4 are answered, ask one more:
"Any trade-off worth noting? Something this decision makes harder, or a cost you accepted?"
This is optional — if the user says "none I can think of right now," that's fine.
Phase 3 — Find or create the decisions log
Check for an existing log:
test -f .claude/decisions-log.md && echo "found .claude/decisions-log.md"
test -f DECISIONS.md && echo "found DECISIONS.md"
test -f docs/DECISIONS.md && echo "found docs/DECISIONS.md"If one exists, use it. If not, ask:
"No decisions log found. Where should I create it?
.claude/decisions-log.md(default, committed to repo)DECISIONS.mdat root (committed, more visible)docs/DECISIONS.md(if you have a docs folder).claude/decisions-log.local.md(gitignored, personal-only)Default: 1. Which?"
If user picks the gitignored option, also suggest adding .claude/*.local.md to .gitignore if not already there.
Phase 4 — Append the decision
Generate the entry in this exact format and append to the file. If the file doesn't exist yet, create it with a header first.
File header (only on first decision):
# Decisions log — <project name>
Captured by `/decision`. Each entry follows: decision → alternative → reason → confidence → trade-off.
---Entry format (every decision):
## <Decision number> — <One-line decision title>
*Captured: <today's date> | Confidence: <emoji + Alta/Media/Baja>*
**Decision:** <Q1 answer>
**Alternative considered:** <Q2 answer>
**Why this won:**
- <reason 1>
- <reason 2>
- <reason 3>
**Trade-off / known cost:**
<Q5 answer, or "None noted at capture time">
---Number the entry sequentially. If this is the 6th decision in the log, number it ## 6 — ....
Phase 5 — Confirm and offer follow-up
Output:
"Decision #
<N>captured in<path>.Total decisions in log:
<count>.Want to capture another, or move on? You can also invoke
/decisionretroactively for past choices you're documenting from memory."
Bonus — Using /decision during /work
When the user is in a /work session and they articulate a non-trivial choice in Phase 1 Q3 ("what changes / what doesn't") or Phase 1 Q5 ("failure modes"), suggest:
"That choice ([the choice]) sounds worth capturing. Want me to invoke
/decisionto log it before we continue?"
Don't force — let the user say yes or no.
What NOT to do
- Don't capture trivial decisions. "I named the variable
userIdnotid" is not worth logging. - Don't accept vague decisions. Push back until the user articulates clearly.
- Don't make up alternatives the user didn't actually consider. Honesty over completeness.
- Don't auto-mark confidence as 🟢. Most decisions in real codebases are 🟡 with brutal honesty.
- Don't overwrite previous entries. Always append.
- Don't add
Co-Authored-By: Claude.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

