When the user wants to explore alternative interfaces for a chosen deepening candidate, use this parallel sub-agent pattern. Based on "Design It Twice" (Ousterhout): your first idea is unlikely to be the best.
當使用者想為選定的深化候選探索替代介面時,使用這個平行子代理模式。基於「Design It Twice」(Ousterhout)——你的第一個想法不太可能是最好的。
Uses the vocabulary in SKILL.md: module, interface, seam, adapter, leverage.
使用 SKILL.md 中的詞彙——模組、介面、接縫、轉接器、槓桿收益。
Before spawning sub-agents, write a user-facing explanation of the problem space for the chosen candidate:
啟動子代理之前,為選定的候選寫一份使用者面向的問題空間說明:
Show this to the user, then immediately proceed to Step 2. The user reads and thinks while the sub-agents work in parallel.
把這個給使用者看,然後立刻進行第 2 步。子代理平行工作時,使用者閱讀與思考。
Spawn 3+ sub-agents in parallel. Each must produce a radically different interface for the deepened module.
用 Agent 工具平行啟動 3+ 個子代理。每個都必須為深化後的模組產出截然不同的介面。
Prompt each sub-agent with a separate technical brief (file paths, coupling details, dependency category from DEEPENING.md, what sits behind the seam). The brief is independent of the user-facing problem-space explanation in Step 1. Give each agent a different design constraint:
用個別技術簡報提示每個子代理(檔案路徑、耦合細節、DEEPENING.md 的相依分類、接縫後面是什麼)。簡報獨立於第 1 步的使用者面向問題空間說明。給每個代理不同的設計約束:
Include both SKILL.md vocabulary and CONTEXT.md vocabulary in the brief so each sub-agent names things consistently with the architecture language and the project's domain language.
把 SKILL.md 詞彙與 CONTEXT.md 詞彙都放進簡報,讓每個子代理用一致的架構語言與專案的領域語言來命名。
Each sub-agent outputs:
每個子代理輸出:
Present designs sequentially so the user can absorb each one, then compare them in prose. Contrast by depth (leverage at the interface), locality (where change concentrates), and seam placement.
依序呈現設計,讓使用者能吸收每個,然後用散文比較它們。以深度(介面上的槓桿收益)、局部性(變更集中之處)與接縫位置對比。
After comparing, give your own recommendation: which design you think is strongest and why. If elements from different designs would combine well, propose a hybrid. Be opinionated: the user wants a strong read, not a menu.
比較之後,給出你自己的建議:你認為哪個設計最強、為什麼。如果不同設計的元素能良好結合,提出混合方案。要有主張——使用者想要明確的判斷,不是選單。