Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

workflow工作流

Agent Skill

workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

240

周安装

10

GitHub Stars

24

下载量

80
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workflow(工作流)
来源仓库:https://github.com/jsonlee12138/agent-team
仓库路径:skills/workflow
安装命令:
npx skills add https://github.com/jsonlee12138/agent-team --skill workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jsonlee12138/agent-team --skill workflow

简介

workflow 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合整理项目状态和变更事项。

  • 适用于围绕仓库状态、代码变更或协作事项进行信息组织和协调。
  • 通过 npx skills add 命令安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • workflow 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Workflow

Overview

Create and execute controller-side delivery workflows that sit above agent-team. Keep workflow templates reusable, keep run state separate, and use the Go-based agent-team workflow helpers in this repository for template generation, validation, and run-state persistence.

Hard Rules

  • Act as the main controller only. Do not use this skill inside a worker session.
  • Do not modify agent-team source code, config schema, or internal protocol.
  • Require an approved brainstorming/design artifact before writing a new workflow file.
  • Keep template files and run-state files separate at all times.
  • Use existing agent-team commands as the only execution backend.
  • Persist state after every node transition and before every pause or confirmation gate.

Default Paths

Use these defaults unless the user explicitly chooses another project-local path:

  • Workflow templates: .agents/workflow/<workflow-name>.yaml
  • Run-state files: .agents/workflow/runs/<workflow-name>/<run-id>.yaml

Prefer a single reusable workflow template and one run-state file per execution.

Action Routing

Create Workflow

Use this flow when the user asks to create a workflow file.

  1. Verify there is an approved brainstorming/design artifact.
  2. If no approved design exists, stop and invoke brainstorming first.
  3. Choose the smallest preset that matches the design:

- branching for controller dispatch with explicit dev_first / test_first - dev-first for a linear implement-then-verify loop - test-first for tests-before-implementation

  1. Generate the template with agent-team workflow create.
  2. Validate it immediately with agent-team workflow validate.
  3. Summarize the generated roles, entry node, branches, and output path.

Example:

agent-team workflow create feature-delivery \
  --preset branching \
  --output .agents/workflow/feature-delivery.yaml

agent-team workflow validate .agents/workflow/feature-delivery.yaml

Run Workflow

Use this flow when the user asks to run workflow.yaml, resume a run, or inspect workflow progress.

  1. Validate the workflow template before execution.
  2. Initialize run state with agent-team workflow state init unless resuming an existing run.
  3. Resolve each workflow role alias to a concrete worker at runtime.
  4. Create or reuse workers with agent-team worker create and agent-team worker open.
  5. Execute the current node, then persist state with agent-team workflow state....
  6. Pause on worker wait states, proactive worker replies, ambiguous outcomes, or controller confirmations.
  7. Resume by reading the run-state file and continuing from current_node.

Example bootstrap:

agent-team workflow validate .agents/workflow/feature-delivery.yaml
agent-team workflow state init .agents/workflow/feature-delivery.yaml

Execution Loop

Follow this controller loop for every run:

  1. Read the template and current run-state.
  2. Start the current node with agent-team workflow state start.
  3. Execute the node action:

- controller_task: do the task directly, then complete or confirm it. - assign_role_task: assign work to the mapped worker with agent-team worker assign, then move the run into a waiting state for worker feedback. - wait_for_completion: wait for the worker's reply-main message as the default completion signal. - decision: choose an explicit branch outcome and record it. - handoff: assign the follow-up task to the next role and capture the transfer in state. - verify_or_test: run verification or dispatch QA verification, then branch on outcome. - merge: run agent-team worker merge <worker-id> only after explicit controller approval.

  1. Persist one of these outcomes:

- wait when waiting on worker feedback or external verification - block when the run cannot advance without controller intervention - complete when the node finishes and can auto-advance - confirm when a confirmation gate is satisfied and a branch is selected

  1. Stop when the run state becomes completed or blocked.

Default Wait Protocol

  • After assign_role_task, persist the run as waiting and stop active status polling.
  • The normal next signal is the worker's proactive agent-team reply-main "<message>".
  • Do not treat agent-team worker status as the default driver for wait_for_completion.
  • Use agent-team worker status only for assign failure diagnosis, timeout or no-reply investigation, or when the user explicitly asks for a status snapshot.

Worker Preparation

Before the first role-backed node executes:

  1. Confirm every referenced role exists locally or can be installed.
  2. If a role is missing and must be created, follow the role-creator contract instead of authoring role files manually.
  3. Confirm whether to reuse an existing worker or create a new worker for each role alias.
  4. Open worker sessions before assignment so replies can flow back to the controller.

agent-team commands are the bridge layer:

agent-team worker create <role-name>
agent-team worker open <worker-id>
agent-team worker assign <worker-id> "<task>"
agent-team worker status   # exception-only inspection, not routine polling
agent-team reply <worker-id> "<answer>"
agent-team worker merge <worker-id>

Confirmation And Branching

  • Treat requires_confirmation: true as a hard pause.
  • Do not auto-select a branch when worker feedback is ambiguous.
  • Prefer workflow-defined branch labels such as test_first, dev_first, passed, and failed.
  • Re-run a completed node only when the controller explicitly asks for a retry.

Use agent-team workflow state confirm to resolve confirmation nodes deterministically.

References

Commands

  • agent-team workflow create: generate a starter workflow template from a supported preset.
  • agent-team workflow validate: fail-fast validation for workflow structure and node references.
  • agent-team workflow state init|show|start|wait|block|complete|confirm: initialize, inspect, and update run-state files during execution.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.24%
按下载量换算28

Claude

29.31%
按下载量换算23

Cursor

18.71%
按下载量换算15

Gemini CLI

10.36%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills