$npx -y skills add Archive228/loopkit --skill decision-recordCapture an architectural decision so the next session (or engineer) knows WHY. Use after any non-obvious technical choice.
| 1 | # Decision Record (ADR) |
| 2 | Write a short file `docs/decisions/NNN-<slug>.md`: |
| 3 | - **Context** — what forced a decision. The constraints. |
| 4 | - **Options** — the 2-3 real candidates, one line each. |
| 5 | - **Decision** — what you picked, dated. |
| 6 | - **Why** — the tradeoff. What you gave up. "We picked Postgres over Mongo because we need real joins; we accept heavier ops." |
| 7 | - **Consequences** — what this now makes easy and hard. |
| 8 | Hard-to-reverse choices (schema, auth, data store) MUST get one. Future-you will ask "why on earth did we do this" — answer it now. |