Workflow Orchestrator
Coordinates multi-skill execution pipelines (e.g., research → plan → build → test)
- License 许可
- MIT
- 最近更新
- 2026-06-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- Workflow Orchestrator
- tags
- [ "orchestration", "pipeline", "workflow" ]
- author
- ForgeWeave Core
- version
- 1.0.0
- skill_id
- workflow-orchestrator
- description
- Coordinates multi-skill execution pipelines (e.g., research → plan → build → test)
- tui_compatibility
- [ "opencode", "claude", "gemini", "qwen" ]
02 资源文件 2
- 参考文档references/orchestration-patterns.md828 B
- 脚本scripts/execute_pipeline.py2.9 KB
03 SKILL.md 正文
Workflow Orchestrator
Purpose
Coordinate the execution of multiple skills in sequence or parallel to achieve a complex goal. Handles dependency resolution, data passing between skills, error recovery, and progress reporting. The top-level orchestrator that makes multi-step agentic workflows reliable.
When to Use
- A complex goal requires 3+ skills in sequence (e.g., research → plan → build → test)
- Multiple independent subtasks can run in parallel
- A pipeline needs retry logic or error recovery
- The user wants a multi-step workflow executed end-to-end
When Not to Use
- Only one skill is needed — invoke it directly
- The steps are manual and need user approval at each stage
- The workflow is a simple linear script — use a script instead
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
goal |
string | Yes | The overall objective |
pipeline_definition |
array | No | Explicit skill order if known (auto-generated if omitted) |
fallback_strategy |
enum | No (default: stop) | stop, retry, skip |
Expected Outputs
| Output | Description |
|---|---|
| Pipeline result | The output of the final skill |
| Execution trace | What ran, in what order, what each produced |
| Status report | Success, failures, and retries |
Exact Workflow Steps
- Accept the goal from the user or from a command
- Decompose the goal into ordered skills using
plannerskill - Identify dependencies between skills (blocking, parallel, sequential)
- Execute skills in dependency order:
- Parallel skills run concurrently
- Sequential skills run in order, passing outputs
- After each skill, validate output using
validation-engine - On failure: retry, skip, or stop based on fallback strategy
- Report results to user with execution trace
Required Checks
- [ ] All skills in the pipeline are available
- [ ] Dependency order is correct (no cycles)
- [ ] Each skill's output is valid before passing to next
- [ ] Fallback strategy is defined for every pipeline step
Failure Modes
| Failure Condition | Response |
|---|---|
| Required skill not available | Report missing skill and suggest alternatives |
| Pipeline step fails after retries | Report failure with partial results |
| Circular dependency detected | Restructure to eliminate the cycle |
Examples
Example: Feature development pipeline
- planner → decompose: code design, implement, test, document
- architecture-designer → design module structure
- code-builder → implement (depends on architecture-designer)
- test-generator → create tests (parallel with docs)
- validation-engine → validate all outputs
- Report results
References
| Reference | Path |
|---|---|
| Planner skill | ../planner/SKILL.md |
| Validation Engine skill | ../validation-engine/SKILL.md |
| Command Executor skill | ../command-executor/SKILL.md |
04 同仓库更多 Skills
Workflow Orchestrator
Coordinates multi-skill execution pipelines (e.g., research → plan → build → test)
Web Research
Browser-driven or scraping-based skill for real-time internet extraction using Playwright and HTTP-based fetching
Validation Engine
Checks outputs from other skills for consistency, correctness, and adherence to AGENTS.md rules
Tool Selector
Determines which tools, APIs, MCP actions, or system capabilities are required for a given task
Test Generator
Creates test plans and test cases (unit, integration, edge cases) based on existing or planned code
Skill Generator
Meta-skill that creates new SKILL.md files from research outputs and patterns discovered in execution