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

workflow-patterns工作流程模式

Agent Skill

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

总安装

233

周安装

10

GitHub Stars

2

下载量

82
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/masanao-ohba/claude-manifests --skill workflow-patterns

简介

workflow-patterns 用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息,适合围绕代码变更进行整理。

  • 适用于仓库状态跟踪、代码变更分析和协作事项管理场景。
  • 通过 GitHub API 集成实现仓库信息和协作数据的获取。
  • 安装前需确认 GitHub 访问权限和维护状态,注意可能触发网络请求。
  • 建议结合原始 README 核验具体用法,确保符合实际使用边界。

SKILL.md

Workflow Patterns

A technology-agnostic skill for managing multi-agent workflows via team orchestration.

Core Patterns

Team Orchestration Pattern

pattern: team_orchestration
description: "Create team, define tasks with dependencies, spawn workers"
use_when:
  - "Non-trivial tasks (small/medium/large)"
  - "Multiple agents needed"
  - "Quality gates required"

implementation:
  1_create_team: "TeamCreate with descriptive name"
  2_create_tasks: "TaskCreate with blockedBy dependencies"
  3_spawn_workers: "Task tool with team_name to spawn teammates"
  4_monitor: "Watch TaskList and teammate messages"
  5_evaluate: "Task(deliverable-evaluator) when chain complete"
  6_cleanup: "SendMessage(shutdown_request) + TeamDelete"

Task Dependency Pattern

pattern: task_dependencies
description: "Declare execution order via blockedBy relationships"
use_when:
  - "Steps must execute in order"
  - "Some steps can run in parallel"

example:
  tasks:
    - id: 1
      subject: "Implement feature"
      blockedBy: []
    - id: 2
      subject: "Run tests"
      blockedBy: [1]
    - id: 3
      subject: "Review code"
      blockedBy: [1]
    - id: 4
      subject: "Evaluate deliverables"
      blockedBy: [2, 3]

  # Tasks 2 and 3 run in parallel after task 1
  # Task 4 waits for both 2 and 3

Iteration Pattern

pattern: iteration
description: "Retry via new tasks until success or max iterations"
use_when:
  - "Quality gates must pass"
  - "Debugging cycles needed"
  - "Refinement required"

implementation:
  on_test_failure:
    1: "Create debug task (test-failure-debugger)"
    2: "Create fix task (code-developer, blockedBy: debug)"
    3: "Create retest task (test-executor, blockedBy: fix)"

  on_evaluation_fail:
    1: "Create fix tasks from DE recommendations"
    2: "Create retest + re-review tasks"
    3: "Create re-evaluate task (blockedBy: retest, re-review)"

  exit_conditions:
    - "DE returns PASS"
    - "Max iterations (3) reached"
    - "User intervention requested"

Direct Delegation Pattern

pattern: direct_delegation
description: "Simple Task call without team overhead"
use_when:
  - "Trivial tasks"
  - "Single agent needed"
  - "No coordination required"

implementation:
  single_task: "Task(code-developer) with full context"
  no_team: true
  no_task_list: true

Workflow Templates

Standard Implementation Workflow

template: standard_implementation
scale: small|medium

phases:
  analysis:
    - Task(goal-clarifier) → acceptance_criteria
    - Task(task-scale-evaluator) → scale, subtasks

  execution:
    - TeamCreate("dev-workflow")
    - TaskCreate: implement (no deps)
    - TaskCreate: test (blockedBy: implement)
    - TaskCreate: review (blockedBy: implement)
    - TaskCreate: evaluate (blockedBy: test, review)
    - Spawn: code-developer, test-executor, quality-reviewer

  evaluation:
    - Task(deliverable-evaluator) when tasks complete
    - On FAIL: create fix tasks, loop
    - On PASS: cleanup team

  cleanup:
    - SendMessage(shutdown_request) to all teammates
    - TeamDelete

Full Feature Workflow

template: full_feature
scale: large

phases:
  analysis:
    - Task(goal-clarifier) → acceptance_criteria
    - Task(task-scale-evaluator) → scale, subtasks, parallel_groups

  design:
    - Task(design-architect) → architecture spec

  execution:
    - TeamCreate("dev-workflow")
    - TaskCreate per subtask with dependency graph
    - Spawn: code-developer, test-developer, test-executor, quality-reviewer

  evaluation:
    - Task(deliverable-evaluator)
    - Retry loop (max 3)

  cleanup:
    - Shutdown teammates, TeamDelete

Debug Loop

template: debug_loop
trigger: "Test failures during execution"

steps:
  1_analyze:
    - TaskCreate: "Debug test failures"
    - Assign to test-failure-debugger (or use Task delegation)

  2_fix:
    - TaskCreate: "Apply fix" (blockedBy: debug task)
    - Assign to code-developer

  3_verify:
    - TaskCreate: "Re-run tests" (blockedBy: fix task)
    - Assign to test-executor

  4_check:
    - If pass: continue to review/evaluate
    - If fail: loop (max 3 iterations)

Coordination Strategies

Progress Tracking via TaskList

tracking:
  use: "TaskList tool to check status"
  states:
    pending: "Not yet started"
    in_progress: "Being worked on"
    completed: "Done"

  monitoring:
    - "Check TaskList after teammate messages"
    - "Identify blocked tasks"
    - "Assign unblocked tasks to idle teammates"

Inter-Agent Communication

communication:
  teammate_updates:
    via: "SendMessage(type: message)"
    when: "Task completion, blocking issues, questions"

  team_announcements:
    via: "SendMessage(type: broadcast)"
    when: "Critical issues only (expensive)"

  shutdown:
    via: "SendMessage(type: shutdown_request)"
    when: "All work complete, DE returns PASS"

Error Handling

error_handling:
  test_failure:
    action: "Create debug + fix + retest tasks"
    max_retries: 3

  agent_failure:
    action: "Re-spawn teammate, reassign task"

  blocked_task:
    detection: "Task stuck in pending with unresolved blockedBy"
    action: "Investigate blocking task, escalate if needed"

  evaluation_fail:
    action: "Create targeted fix tasks from DE feedback"
    max_iterations: 3

Anti-Patterns

Over-Orchestration

anti_pattern: over_orchestration
description: "Using team for trivial tasks"
symptom: "TeamCreate for single-line change"
solution: "Use direct Task delegation for trivial work"

Missing Exit Conditions

anti_pattern: infinite_loop
description: "Retry without max iteration check"
symptom: "Endless fix-test-fail cycle"
solution: "Always enforce max 3 iterations, escalate to user"

Premature Evaluation

anti_pattern: premature_evaluation
description: "Calling DE before implementation chain completes"
symptom: "DE fails because tests haven't run"
solution: "Use blockedBy to ensure evaluate waits for test + review"

Integration

Used By

primary_users:
  - "/dev-workflow command": "Orchestration patterns"

secondary_users:
  - task-scale-evaluator: "Workflow recommendations"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.54%
按下载量换算31

Claude

31.92%
按下载量换算26

Cursor

18.79%
按下载量换算15

Gemini CLI

9.41%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/masanao-ohba/claude-manifests --skill workflow-patterns 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills