taiyi-architect
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
$ npx -y skills add Dong90/oh-my-taiyiforge --skill taiyi-orchestrator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/taiyi-orchestratorContext preview
The summary Claude sees to decide when to auto-load this skill.
TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。
name: taiyi-orchestrator description: TaiyiForge 统一入口 — 意图解析、阶段路由、Token预算、工件预检。Use when 用户说"开始/继续/审查/测试/设计"等流程相关意图。 paradigm: Navigator
<constraints> SYSTEM OF RECORD: `taiyi status --json --compact` 的 `engineTruth.currentPhase` 是阶段状态的唯一来源。 DO NOT infer current phase from conversation history. DO NOT anticipate or prepare artifacts for future phases. If engineTruth shows a different phase than what you recall, trust engineTruth — halt and reload. PHASE GUARD: If the user's request involves writing/reading code but engineTruth says they are NOT in dev phase, halt and ask: "当前处于 [phase] 阶段,不能直接操作代码。你是要切换到 dev 阶段,还是先完成当前阶段?" </constraints>
<constraint>This is a ROUTER ONLY. Your job ends after Step 8 — do NOT execute scripts/taiyi-forge.sh or any shell command directly. DO NOT implement code, run tests, or write artifacts. Once you have loaded the phase skill and output the route declaration, your work is done.</constraint>
解析用户意图,自动:1) 读项目状态 2) 工件前置检查 3) 意图路由 4) Token预算估选挡位 5) 路由声明 6) 进入对应Skill
读 `.taiyi/changes/<slug>/state.json` 的 `currentPhase` / `completedPhases` / `workflowStatus`。 或用 `jq` 提取:`jq -r '{currentPhase, completedPhases, workflowStatus}' .taiyi/changes/<slug>/state.json` **这是阶段状态的唯一真源,不是对话记忆。**
路由前检查上游工件是否齐全,缺失→回退补齐。
估算token消耗,让用户选挡位(完整/极简/单点/不走flow)。成本因子:前端+20%、schema变更+10%、task<3→-30%、task>10→+50%
探测 AGENTS.md / CLAUDE.md / .cursor/rules/ 等已有AI文档,反问用户处理方式。
进入前输出:路由/Change-ID/已加载/未加载/Token预算/第一动作
每阶段标注必读vs按需,控制token消耗。优先读 `.taiyi/changes/<slug>/PHASE-CONTEXT.md`(~500 tokens),不要全量加载上游工件。
| Skill | Paradigm | |-------|----------| | taiyi-change/requirement | Partner | | taiyi-design/ui-design | Architect | | taiyi-task | Navigator | | taiyi-dev/test/integration | Operator | | taiyi-review/health | Scout |
<fatal_constraints>
</fatal_constraints>
Repo: Dong90/oh-my-taiyiforge
TaiyiForge 辅助 — 架构决策记录 ADR(长期影响决策的可追溯补充)。OpenCode / Claude / Codex / Cursor 通用。
TaiyiForge 辅助 — Token 压缩编排:/taiyi:token compress + Superpowers subagent + ECC…
TaiyiForge 辅助 — 系统/产品架构图(Mermaid · SVG 海报 · 嵌入 DESIGN.md)。OpenCode / Claude / Codex / Cursor…