Write a lightweight architecture design doc for a decision that deserves thinking before code. Use this when the problem has real ambiguity, tradeoffs, cross-cutting concerns, or future maintenance risk. If the solution is obvious and the doc would only become an implementation manual, say so and recommend
or
instead.
Write
docs/<design-slug>/design.md
using the sections below. Keep solo-developer docs short: prefer 1-3 pages unless the architecture genuinely needs more.
Stop after writing. Do not continue into
,
, or implementation until the human confirms the design.