idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
Design architecture foundations before implementation. Use when asked to design or refactor architecture, choose Rust/Go crate, package, module, runtime, workflow, or service boundaries, compare mature project architecture, prevent stacked one-off PRs, audit migration debt in
Claude Code
$ npx -y skills add majiayu000/spellbook --skill architecture-foundation --agent claude-code
Codex
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a codex -y
Cursor
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a cursor -y
Gemini CLI
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a gemini-cli -y
GitHub Copilot
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a github-copilot -y
OpenCode
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a opencode -y
Windsurf
$ npx skills add majiayu000/spellbook --skill architecture-foundation -a windsurf -y
name: architecture-foundation description: Design architecture foundations before implementation. Use when asked to design or refactor architecture, choose Rust/Go crate, package, module, runtime, workflow, or service boundaries, compare mature project architecture, prevent stacked one-off PRs, audit migration debt in existing repos, or produce a spec before coding.
Use this skill to turn an architecture discussion into explicit boundaries, contracts, validation gates, and a small execution plan. The goal is not to copy an admired project, but to identify the project's shape and choose the minimum architecture that keeps ownership, effects, errors, and tests clear. For large existing repos, first explain the architecture they already have, then decide whether the work is boundary creation, boundary completion, or boundary deletion.
"make a complete spec", "design the runtime", or "compare good libraries".
rendering, schedulers, persistence, or cross-module contracts.
on one architecture.
workflow definitions, or docs that may disagree about the source of truth.
before implementation.
Do not use this for small, local fixes where the existing architecture is obvious and no boundary decision is needed.
1. Search first.
public APIs, open issues/PRs, and tests before proposing new structure.
before treating it as evidence.
background workers, cron jobs, adapters, and the largest files/tests.
2. Classify the project shape.
provider adapters, billing/settlement, observability.
runtime hooks, rollback, shutdown, and test harness.
queue/backpressure, worker/reconciler, retry, and drain.
reload order, rollback, cleanup, and plugin host interfaces.
headless tests.
middleware, error-to-response boundary.
replay/test harness.
3. Choose one primary state ownership model.
reconciliation systems.
4. Draw the foundation boundaries.
5. Audit existing boundary health before adding tasks.
SQL seed, JSON/YAML config, generated docs, or external provider contract.
`accidental fork`; require an exit condition for compatibility paths.
architecture is directionally correct but half migrated.
them authoritative.
6. Write the contracts before tasks.
messages, mutate projections, or only emit effects for another layer.
databases, or providers.
converted at a boundary.
7. Produce a spec, not just a diagram.
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
想法群聊室 — 反方角色。被 idea-team 主编排器调用,或用户单独说"反方意见"、"挑这个想法的刺"、"为什么会失败"、"找漏洞 / 反例"、"devil's…
想法群聊室 — 调研员角色。被 idea-team 主编排器调用,或用户单独说"调研一下 X"、"X 的现状/竞品/数据"、"找 2026 数据"、"事实底"时触发。**用 WebSearch 拉真实 2026…
想法群聊室主持人 — 把一句话想法丢给多角色 AI 团队(调研员/反方/类比者)做查漏补缺。每个角色有自己的 voice,他们互相 @ 接话;你随时插话。**这是创意扩展工具,不打分、不否决、不堵路**。Use when…
端到端产品教练 — 把一句话想法走到 PRD + 可点击 HTML 原型。会顶嘴、强制砍功能、用 Nielsen + Norman 做友好性硬检。Use when user 说"我有一个想法"、"想做一个产品"、"做 MVP"、"写…
Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.