Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问许可证需确认审计异常

main-workflow-router主工作流程路由器

Agent Skill

main-workflow-router 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

412

周安装

17

GitHub Stars

67

下载量

135
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/bacoco/bmad-skills --skill main-workflow-router

简介

main-workflow-router 用于查找和筛选相关信息。

  • 适合在关键词搜索或任务场景中快速定位候选结果。
  • 可结合来源仓库和原始 README 核验具体用法。
  • 安装前应确认权限范围、维护状态及是否触发联网或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

End-to-End Orchestration Skill

When to Invoke

ALWAYS auto-invoke at the start of any BMAD project:

  • User says "start project", "new project", "initialize BMAD", "begin"
  • User says "what's next?", "where am I?", "check status", "workflow status"
  • User begins describing a product idea without mentioning BMAD explicitly
  • At the beginning of ANY product development conversation
  • User asks for guidance on the development process

Special auto-behaviors:

  • If no workflow-status.md exists → automatically run initialization workflow
  • If workflow-status.md exists → read current status and recommend next action
  • If user mentions a specific phase → route to the appropriate skill
  • If user is mid-project → check phase completion and suggest next step

Routing intelligence based on user intent:

FIRST: Assess complexity level (0-4)

  • Level 0-1 (bug fix, small change, simple feature) → Route to OpenSpec
  • Level 2-4 (new product, complex feature, architecture) → Route to BMAD

For OpenSpec work (Level 0-1):

  • Mentions "bug", "fix", "small change", "quick" → openspec-change-proposal
  • Has proposal, says "implement", "apply" → openspec-change-implementation
  • Change complete, says "archive", "close" → openspec-change-closure

For BMAD work (Level 2-4):

  • Mentions "idea", "brainstorm", "explore" → bmad-discovery-research
  • Mentions "PRD", "requirements", "plan" → bmad-product-planning
  • Mentions "UX", "UI", "design" → bmad-ux-design
  • Mentions "architecture", "tech stack", "build" → bmad-architecture-design
  • Mentions "test strategy", "QA", "ATDD" → bmad-test-strategy
  • Mentions "stories", "breakdown", "backlog" → bmad-story-planning
  • Mentions "implement story", "code", "develop" → bmad-development-execution

Critical decision: OpenSpec vs BMAD

  • Small, well-defined, existing codebase → OpenSpec
  • Greenfield, complex, or needs discovery → BMAD
  • When in doubt, ask user about complexity level

Do NOT invoke when:

  • User is clearly asking for a specific skill (let that skill handle it)
  • User is in the middle of implementing code (appropriate skill is active)
  • User is asking technical questions unrelated to workflow

Auto-Activation Behavior

This skill applies specialized routing heuristics whenever it auto-invokes:

1. Conversation Start Detection

When a conversation begins and the user mentions:

  • Product development topics
  • Project ideas or features
  • Building or creating something
  • BMAD or OpenSpec methodology

Auto-action: Initialize workflow files if none exist and recommend the right path.

2. Status Check Detection

When user asks:

  • "Where am I?"
  • "What's next?"
  • "What should I do now?"
  • "Check workflow status"

Auto-action: Read workflow-status.md, summarize phase progress, and suggest next skill.

3. Phase Transition Detection

When a downstream skill completes its phase:

  • Analyst delivers discovery brief → confirm Planning readiness
  • PM delivers PRD/epics → prepare Solutioning
  • Architecture delivers decision doc → move to Implementation

Auto-action: Update workflow status and queue the appropriate next capability.

4. Routing Intelligence

Based on user intent, automatically route to:

  • Mentions "idea", "brainstorm" → bmad-discovery-research
  • Mentions "PRD", "requirements" → bmad-product-planning
  • Mentions "UX", "UI" → bmad-ux-design
  • Mentions "architecture", "tech stack" → bmad-architecture-design
  • Mentions "test strategy", "QA" → bmad-test-strategy
  • Mentions "stories", "backlog" → bmad-story-planning
  • Mentions "implement", "code" → bmad-development-execution
  • Mentions "small change", "bug" → openspec-change-proposal

5. Safety Checks

Before routing, verify:

  • Required artifacts from previous phase exist
  • Quality gates in CHECKLIST.md are satisfied
  • No unresolved blockers in workflow-status.md

If checks fail, halt routing and request the missing prerequisites.

Mission

Serve as the global orchestrator for all product development work, intelligently routing between BMAD (Level 2-4 complex projects) and OpenSpec (Level 0-1 lightweight changes). Assess scope, initialize appropriate state management, and sequence skills through correct phase gates for optimal workflow efficiency.

Inputs Required

  • project_summary: current objective, level, and stakeholder context
  • artifacts_index: list of delivered files and their status
  • status_files: docs/bmad-workflow-status.md, docs/sprint-status.yaml, or equivalents if they exist

Outputs

  • workflow-status.md - Project status tracking document (generated from assets/workflow-status-template.md.template)
  • Updated workflow and sprint status records via scripts/workflow_status.py and scripts/sprint_status.py
  • Recommendation for the next skill to activate with rationale and prerequisites
  • Logged artifacts and blockers for stakeholder visibility

Template location: .claude/skills/main-workflow-router/assets/workflow-status-template.md.template

Process

  1. Assess Complexity & Choose Workflow

- Determine project level (0-4) from user description - Level 0-1: Route to OpenSpec (propose → implement → archive) - Level 2-4: Route to BMAD (analysis → planning → solutioning → implementation) - When ambiguous: Ask clarifying questions about scope and complexity

  1. Initialize State Management

- For BMAD: Create/update docs/bmad-workflow-status.md and docs/sprint-status.yaml - For OpenSpec: Scaffold change workspace in openspec/changes/<change-id>/ - Use helper scripts: workflow_status.py, sprint_status.py, scaffold_change.py

  1. Review Context & Prerequisites

- Check existing artifacts from previous phases - Validate gate criteria from preceding skills - Identify missing prerequisites or blockers

  1. Route to Next Skill

- For OpenSpec: openspec-change-proposal → openspec-change-implementation → openspec-change-closure - For BMAD: Route through phases (analyst → pm → ux/architecture/tea → stories → dev) - Communicate required inputs and outstanding risks

  1. Update State & Report Progress

- Update workflow status files - Log completed artifacts and next actions - Highlight blockers and recommend remediation - Escalate from OpenSpec to BMAD if scope grows beyond Level 1

Quality Gates

All items in CHECKLIST.md must be satisfied to progress between phases. Never advance without required artifacts.

Error Handling

  • When status files are absent, run initialization scripts and request missing information.
  • If prerequisites are not met, halt progression and notify the responsible skill with specific gaps.
  • Downgrade to lightweight workflows (e.g., OpenSpec) when project level is 0-1 and BMAD overhead is unnecessary.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.19%
按下载量换算50

Claude

26.02%
按下载量换算35

Cursor

19.12%
按下载量换算26

Gemini CLI

9.63%
按下载量换算13

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

来源信息

继续浏览同类 Skills