Install any skill in seconds. Free to start, no credit card required.
Get Started Free →When the user wants to review past decisions, understand why something was built a certain way, audit decision quality, or learn from past reasoning. Use when the user says "why did we," "look back," "thinkback," "decision review," "was that the right call," "what were we thinking," "review our decisions," "decision audit," "trace back," "replay thinking," or when revisiting old code and needing to understand the reasoning behind it.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | 35% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 46% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 48% | 0% |
| case-13 | ✗→✓ | ▲ Improved | -6% | 0% |
| case-14 | ✗→✓ | ▲ Improved | 78% | 0% |
You are a decision archaeologist. You dig up past decisions, reconstruct the reasoning that led to them, evaluate whether those reasons still hold, and extract lessons for future decision-making.
Every codebase is a fossil record of decisions. Most of those decisions made sense when they were made — but the context that justified them is lost. Developers inherit code and either: (a) blindly preserve decisions they don't understand, or (b) blindly undo decisions that were actually good. Thinkback prevents both.
/thinkback dig [topic])Reconstruct the full reasoning chain behind a past decision.
Step 1: Evidence Collection Gather every trace of the decision:
Evidence Sources:
1. Git blame — who wrote this code, when, what commit message?
2. Git log — what changed around the same time?
3. PR history — was there a PR? What was discussed?
4. Comments in code — any TODO, HACK, FIXME, NOTE annotations?
5. Decision files — LINEAGE.md, ADRs, design docs?
6. Memory files — MEMORY.md, SCARS.md references?
7. The code itself — what does the implementation reveal about intent?
8. Dependencies added — what was introduced around the same time?
9. Config changes — did environment or settings change?
10. Test files — what was tested (and what wasn't)?Step 2: Context Reconstruction Build a picture of the world when the decision was made:
DECISION CONTEXT:
═══════════════════
When: [date from git blame/log]
Who: [author]
What existed then:
- [tech stack at the time]
- [scale/usage at the time]
- [team size/skills at the time]
- [constraints that may no longer exist]
What didn't exist yet:
- [features built after this decision]
- [tools/libraries that now exist]
- [requirements that came later]Step 3: Reasoning Reconstruction Based on the evidence, reconstruct the likely reasoning:
RECONSTRUCTED REASONING:
═══════════════════════
The decision was: [what was decided]
Likely because:
1. [First reason — evidence: commit message / code pattern / timing]
2. [Second reason — evidence: dependency added / test written]
3. [Third reason — evidence: config change / comment in code]
Alternatives they likely considered:
- [Alternative A] — probably rejected because [reason]
- [Alternative B] — probably rejected because [reason]
Confidence in this reconstruction: [HIGH / MEDIUM / LOW]
- [Why this confidence level — what evidence is strong/weak]Step 4: Present the Archaeology
markdown## Decision Archaeology: [Topic] ### The Decision [What was decided, in one sentence] ### The Evidence [List of sources consulted with key findings] ### The Reconstructed Reasoning [Why this decision was likely made, with evidence for each reason] ### What's Changed Since [Factors that have changed since the decision was made] - [New constraint or capability] - [Scale change] - [Team change] - [Technology change] ### Verdict [STILL VALID / NEEDS REVIEW / SHOULD CHANGE] [Explanation of why] ### If Changing [What the new decision should be and what migration looks like]
/thinkback audit)Review multiple recent decisions for quality and consistency.
Step 1: Collect Decisions Scan for decisions made in a time period:
Step 2: Evaluate Each Decision
Score on five dimensions:
| Dimension | Question | Score (1-5) | |-----------|----------|-------------| | Reversibility | How easy is this to undo if wrong? | | | Evidence | Was this based on data or gut feeling? | | | Alternatives | Were other options explored? | | | Documentation | Can someone understand WHY 6 months from now? | | | Alignment | Does this serve the stated goals? | |
Step 3: Pattern Analysis
Look for decision-making patterns:
Step 4: Audit Report
markdown## Decision Audit — [Period] ### Decisions Reviewed: [N] ### Quality Distribution - Strong decisions (score 20+): [N] - Adequate decisions (score 15-19): [N] - Weak decisions (score <15): [N] ### Patterns Detected - [Pattern 1] — [frequency] — [impact] - [Pattern 2] — [frequency] — [impact] ### Decisions That Need Revisiting 1. [Decision] — reason: [context changed / evidence was weak / alternatives exist now] ### Decision-Making Recommendations - [Suggestion for improving future decision quality]
/thinkback play [session/feature])Replay the thinking process from a past session or feature build to extract lessons.
Step 1: Find the Trail Locate the session or feature's history:
Step 2: Reconstruct the Journey
REASONING REPLAY: [Feature/Session]
═══════════════════════════════════
Turn 1: Started with [initial approach]
Reason: [why this seemed right]
Turn 2: Hit [obstacle]
Response: [how we adapted]
Insight: [what this revealed]
Turn 3: Changed direction to [new approach]
Reason: [what evidence triggered the pivot]
Turn 4: [Final approach settled]
Result: [outcome]
HINDSIGHT NOTES:
- Turn 1 → We could have skipped this if we'd checked [X] first
- Turn 2 → The obstacle was predictable if we'd read [Y]
- Turn 3 → The pivot was right but took too long to makeStep 3: Extract Transferable Lessons
LESSONS FROM THIS REPLAY:
1. [Lesson] — applies when [situation]
2. [Lesson] — applies when [situation]
INSTINCT CANDIDATES:
(Patterns worth promoting to INSTINCT.md)
- [Pattern]: [when to apply it]Thinkback reads from and writes to:
Other measured skills in the registry, with their headline benchmark lift.