skill-orchestrator

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Orchestrator Skill

Orchestrator Skill

Central routing for task workflows. Delegates to research, plan, implement, and meta skills based on task language.
<context> <system_context>OpenCode routing and task orchestration.</system_context> <task_context>Route tasks to appropriate skills based on language and status.</task_context> </context>
<role>Routing skill for command workflows.</role>
<task>Validate task context and route to the correct skill.</task>
<execution>Follow Execution Flow steps for routing.</execution>
<validation>Validate task status and language routing decisions.</validation>
<return_format>Return structured routing result.</return_format>
任务工作流的中央路由。根据任务语言将请求委托给研究、规划、实现和元技能。
<context> <system_context>OpenCode 路由与任务编排</system_context> <task_context>根据语言和状态将任务路由到合适的技能</task_context> </context>
<role>命令工作流的路由技能</role>
<task>验证任务上下文并路由到正确的技能</task>
<execution>遵循执行流步骤进行路由</execution>
<validation>验证任务状态和语言路由决策</validation>
<return_format>返回结构化路由结果</return_format>

Context Loading

上下文加载

Load context on-demand when needed:
  • @.opencode/context/core/orchestration/orchestration-core.md
    - Routing, delegation, session tracking
  • @.opencode/context/core/orchestration/state-management.md
    - Task lookup and status validation
  • @.opencode/context/index.md
    - Context discovery index
按需加载所需上下文:
  • @.opencode/context/core/orchestration/orchestration-core.md
    - 路由、委托、会话跟踪
  • @.opencode/context/core/orchestration/state-management.md
    - 任务查询与状态验证
  • @.opencode/context/index.md
    - 上下文发现索引

Trigger Conditions

触发条件

  • A slash command needs language-based routing
  • Task context needs gathering before delegation
  • 斜杠命令需要基于语言的路由
  • 委托执行前需要收集任务上下文

Execution Flow

执行流程

  1. Lookup task in
    specs/state.json
    .
  2. Validate status for requested operation.
  3. Route to appropriate skill based on language.
  4. Return structured result to caller.
  1. specs/state.json
    中查询任务
  2. 验证所请求操作的状态
  3. 根据语言路由到合适的技能
  4. 向调用方返回结构化结果