跳到正文
Skillpedia
智能体29k · #9574

agent-workflow-designer

它能做什么

它帮助设计需要运行多个步骤的 AI 工作流,在编写任何代码之前,先展示模式、交接规则和失败处理方式。适合构建智能体流水线的团队。

适用场景

  • ✓当单个提示词不够用,你的 AI 任务需要多个步骤时。
  • ✓当你需要在一个智能体和多个智能体之间做选择时。
  • ✓当你的智能体流水线出现上下文臃肿或交接失败的问题时。

技能链接

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/agent-workflow-designer/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/skills/agent-workflow-designer/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想要一个 AI 工作流,把博客选题经过调研、起草和审阅,并在各步骤之间有清晰的交接。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体选择一种模式,例如顺序、并行、路由或编排器,然后借助脚手架脚本生成一个包含交接规则和错误处理的骨架。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Agent Workflow Designer

Tier: POWERFUL
Category: Engineering
Domain: Multi-Agent Systems / AI Orchestration


Overview

Design production-grade multi-agent workflows with clear pattern choice, handoff contracts, failure handling, and cost/context controls.

Core Capabilities

  • Workflow pattern selection for multi-step agent systems
  • Skeleton config generation for fast workflow bootstrapping
  • Context and cost discipline across long-running flows
  • Error recovery and retry strategy scaffolding
  • Documentation pointers for operational pattern tradeoffs

When to Use

  • A single prompt is insufficient for task complexity
  • You need specialist agents with explicit boundaries
  • You want deterministic workflow structure before implementation
  • You need validation loops for quality or safety gates

Quick Start

# Generate a sequential workflow skeleton
python3 scripts/workflow_scaffolder.py sequential --name content-pipeline

# Generate an orchestrator workflow and save it
python3 scripts/workflow_scaffolder.py orchestrator --name incident-triage --output workflows/incident-triage.json

Pattern Map

  • sequential: strict step-by-step dependency chain
  • parallel: fan-out/fan-in for independent subtasks
  • router: dispatch by intent/type with fallback
  • orchestrator: planner coordinates specialists with dependencies
  • evaluator: generator + quality gate loop

Detailed templates: references/workflow-patterns.md


Recommended Workflow

  1. Select pattern based on dependency shape and risk profile.
  2. Scaffold config via scripts/workflow_scaffolder.py.
  3. Define handoff contract fields for every edge.
  4. Add retry/timeouts and output validation gates.
  5. Dry-run with small context budgets before scaling.

Common Pitfalls

  • Over-orchestrating tasks solvable by one well-structured prompt
  • Missing timeout/retry policies for external-model calls
  • Passing full upstream context instead of targeted artifacts
  • Ignoring per-step cost accumulation

Best Practices

  1. Start with the smallest pattern that can satisfy requirements.
  2. Keep handoff payloads explicit and bounded.
  3. Validate intermediate outputs before fan-in synthesis.
  4. Enforce budget and timeout limits in every step.
常见问题

有哪些模式可以选择?

顺序、并行、路由和编排器工作流。

它能生成一个起始文件吗?

能。脚本可以创建工作流骨架,并把它保存到文件中。

它会管理成本和上下文吗?

会。它为长时间运行的流程加入了上下文和成本控制。

详情

作者的原始描述

Use when architecting a multi-step LLM or agent pipeline, choosing single vs multi-agent, or fixing context bloat and broken handoffs. Scaffolds the pattern, handoff contracts and failure handling with workflow_scaffolder.py.

repo: alirezarezvani/claude-skills

热度

GitHub 星标
29k
排名
#9574
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能