workflow-automation
它能做什么
这项技能引导智能体构建可重复运行的工作流,按顺序执行多个步骤,每一步由合适的智能体处理。适合希望测试或部署等日常流程自动完成的人。
适用场景
- ✓当一个流程包含多个需要按设定顺序运行的步骤的时候。
- ✓当你想要一个可用于测试、部署或审查的可复用工作流的时候。
- ✓当你需要检查某次工作流运行状态的时候。
技能链接
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/workflow-automation/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请创建一个部署工作流:先运行测试,再构建并发布应用,并显示它的状态。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会定义工作流步骤和依赖关系,保存模板,在需要时运行,并报告每个步骤的状态。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Workflow Automation Skill
Purpose
Create and execute automated workflows for complex multi-step processes.
When to Trigger
- Multi-step automated processes
- Reusable workflow creation
- Complex task orchestration
- CI/CD pipeline setup
Commands
Create Workflow
npx claude-flow workflow create --name "deploy-flow" --template ci
Execute Workflow
npx claude-flow workflow execute --name "deploy-flow" --env production
List Workflows
npx claude-flow workflow list
Export Template
npx claude-flow workflow export --name "deploy-flow" --format yaml
View Status
npx claude-flow workflow status --name "deploy-flow"
Built-in Templates
| Template | Description |
|---|---|
ci |
Continuous integration pipeline |
deploy |
Deployment workflow |
test |
Testing workflow |
release |
Release automation |
review |
Code review workflow |
Workflow Structure
name: example-workflow
steps:
- name: analyze
agent: researcher
task: "Analyze requirements"
- name: implement
agent: coder
depends: [analyze]
task: "Implement solution"
- name: test
agent: tester
depends: [implement]
task: "Write and run tests"
Best Practices
- Define clear step dependencies
- Use appropriate agent types per step
- Include validation gates
- Export workflows for reuse
常见问题
包含哪些模板?
这项技能列出了内置的 ci、deploy、test、release 和 review 模板。
我可以导出工作流吗?
可以。这项技能包含一个导出命令,可以以 YAML 格式保存工作流。
谁应该使用它?
经常运行多步骤流程、并希望由智能体协调这些流程的人。
详情
作者的原始描述
Workflow creation, execution, and template management. Automates complex multi-step processes with agent coordination. Use when: automating processes, creating reusable workflows, orchestrating multi-step tasks. Skip when: simple single-step tasks, ad-hoc operations.
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1542
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。