Agent Skillsvixues/LeAgent › workflow-helper

workflow-helper

GitHub

指导创建、管理和执行工作流自动化,涵盖流程设计、模式选择、工具映射及错误处理。用于构建多工具链式任务流水线,支持顺序、并行、条件分支等结构,并提供运行监控与最佳实践建议。

backend/leagent/skills/builtin/workflow-helper/SKILL.md vixues/LeAgent

Trigger Scenarios

构建或编排工作流 运行自动化任务管道 管理工作流状态与监控

Install

npx skills add vixues/LeAgent --skill workflow-helper -g -y
More Options

Non-standard path

npx skills add https://github.com/vixues/LeAgent/tree/main/backend/leagent/skills/builtin/workflow-helper -g -y

Use without installing

npx skills use vixues/LeAgent@workflow-helper

指定 Agent (Claude Code)

npx skills add vixues/LeAgent --skill workflow-helper -a claude-code -g -y

安装 repo 全部 skill

npx skills add vixues/LeAgent --all -g -y

预览 repo 内 skill

npx skills add vixues/LeAgent --list

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

  1. Define the goal: what outcome should the workflow produce?
  2. Identify steps: break the goal into discrete, ordered operations.
  3. Map tools: select the right tool or agent for each step.
  4. Plan data flow: what inputs each step needs and what outputs it produces.
  5. 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_skill to 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

Same Skill Collection

backend/leagent/skills/builtin/attendance-signin-sheet/SKILL.md
backend/leagent/skills/builtin/data-analyzer/SKILL.md
backend/leagent/skills/builtin/document-processor/SKILL.md
backend/leagent/skills/builtin/procurement-audit/SKILL.md
backend/leagent/skills/builtin/skill-packager/SKILL.md
backend/leagent/skills/builtin/travel-expense-audit/SKILL.md

Metadata

Files
0
Version
1f16bad
Hash
4b91c9b0
Indexed
2026-07-06 00:03

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-05 13:52
浙ICP备14020137号-1 $Map of visitor$