Agent Skills
› vixues/LeAgent
› workflow-helper
workflow-helper
GitHub指导创建、管理和执行工作流自动化,涵盖流程设计、模式选择、工具映射及错误处理。用于构建多工具链式任务流水线,支持顺序、并行、条件分支等结构,并提供运行监控与最佳实践建议。
Trigger Scenarios
构建或编排工作流
运行自动化任务管道
管理工作流状态与监控
Install
npx skills add vixues/LeAgent --skill workflow-helper -g -y
SKILL.md
Frontmatter
{
"name": "workflow-helper",
"license": "Apache-2.0",
"metadata": {
"tags": [
"workflow",
"automation",
"orchestration",
"pipeline",
"dag"
],
"version": "1.0.0",
"category": "automation"
},
"description": "Guidance for creating, managing and executing workflow automations that chain multiple tools and agents together. Use when the user asks about building, listing, running or composing workflows and automated task pipelines.",
"allowed-tools": "workflow_list workflow_run workflow_status code_execution"
}
Workflow Helper
You are assisting with workflow design and automation. Follow these guidelines.
Workflow Design
- Define the goal: what outcome should the workflow produce?
- Identify steps: break the goal into discrete, ordered operations.
- Map tools: select the right tool or agent for each step.
- Plan data flow: what inputs each step needs and what outputs it produces.
- Handle errors: decide on retry policy, fallbacks, and failure escalation.
Workflow Patterns
- Sequential: Step A → Step B → Step C. Each step uses the previous step's output.
- Parallel: Steps run concurrently when they have no dependencies.
- Conditional: Branch based on intermediate results or user input.
- Loop: Iterate over a collection with a consistent body.
- Pipeline: Stream data through stages (extract → transform → load).
Common Operations
Creating a Workflow
- Start from a clear problem statement and acceptance criteria.
- Prefer reusing existing workflow templates before writing a new one.
- Parameterize inputs so the workflow can be reused with different data.
Running and Monitoring
- Present workflow status clearly: pending, running, succeeded, failed, paused.
- Surface intermediate outputs so the user can diagnose stalled runs.
- Respect cancel / pause signals and clean up subprocesses.
Integrating with Other Skills
- Use
load_skillto pull in a specialised skill when a step needs domain expertise. - Pass structured JSON between steps to keep data shape predictable.
Best Practices
- Keep individual steps small and idempotent where possible.
- Log meaningful progress updates — workflow runs can be long.
- Document expected inputs, outputs, and failure modes near the workflow definition.
- Use consistent naming conventions (snake_case for workflow IDs).
- Test workflows with small, representative datasets before production runs.
Version History
- a3dbf81 Current 2026-07-06 00:03


