Design Solution (AIWeave TRD)

Gjør et én-linjes krav om til et TRD via syv arkitektur-beslutningslinser

av zuoyebang · zuoyebang/aiweave

Krever oppsett ★ 6.4/10

Design Solution (AIWeave TRD) — Gjør et én-linjes krav om til et TRD via syv arkitektur-beslutningslinser

Hva den gjør

Kjører et requirement through AIWeave's seven decision lenses – IO, data modeling, concurrency, transactions, caching, resilience and tail latency – and emits a technical design document with the chosen option, the upgrade trigger and the doc it should land in for each lens. It writes no code and no docs, only the decision record. Slash-command only, and useful only inside a Go backend project that has adopted the AIWeave skeleton.

Testrapport

On a read-heavy batch-query API the seven-lens pass produced a visibly deeper design than the no-skill run: it forced an explicit fan-out failure decision per dependency (profile all-or-nothing, tier and unread count best-effort partial) where the baseline only listed partial failure as an open question, and it added per-hop deadline budget propagation, single-flight pluss cross-request micro-batching, a counter-versus-COUNT decision and a mapping from every conclusion to the doc that should record it. The methodology behind that is real – 2,226 lines of decision trees in design-spec/ – but it does not ship with the skill. The installed skill folder is a single SKILL.md whose links are literal (path) placeholders and whose first step reads design-spec/00-07, docs-spec and BUILD_STATUS.md from the project, so outside a Go repo that has adopted the whole AIWeave skeleton it has nothing to read. It also sets disable-model-invocation, so it never activates on its own – you must type the slash command.

Testet på: 2026-07-28 · Claude Code 2.x (agent harness)

Installer

git clone https://github.com/zuoyebang/aiweave.git
mkdir -p ~/.claude/skills
cd aiweave && cp -r templates/skills/design-solution ~/.claude/skills/design-solution
cp -r design-spec docs-spec skills-spec ~/.claude/skills/design-solution/

Kommandoer og eksempelprompter

  • /design-solutionGjør et én-linjes krav om til et TRD via syv arkitektur-beslutningslinser

Skills utløses av vanlige forespørsler — ingen kommandoer å huske. Etter installasjonen aktiverer prompter som disse skillen (på engelsk):

  • Design the architecture for a read-heavy batch query endpoint in Go
  • Write a TRD for this feature using AIWeave's seven design lenses
  • Run the caching and resilience lenses on this new backend requirement