🎯

main-workflow-router

🎯Skill

from bacoco/bmad-skills

VibeIndex|
What it does

Routes and tracks project workflows across OpenSpec (L0-1) and BMAD (L2-4) phases, intelligently guiding users through development stages based on project complexity and intent.

πŸ“¦

Part of

bacoco/bmad-skills(12 items)

main-workflow-router

Installation

npxRun with npx
npx bmad-skills --global
npxRun with npx
npx bmad-skills
npxRun with npx
npx bmad-skills --path /your/custom/path
Install ScriptRun install script
curl -fsSL https://raw.githubusercontent.com/bacoco/bmad-skills/main/scripts/install-to-home.sh | bash
git cloneClone repository
git clone https://github.com/bacoco/bmad-skills.git

+ 11 more commands

πŸ“– Extracted from docs: bacoco/bmad-skills
3Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

Routes work to OpenSpec (L0-1) or BMAD (L2-4). Tracks status and guides through phases.

Overview

# 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//

- 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.

More from this repository10

🎯
bmad-ux-design🎯Skill

Designs comprehensive user experiences by creating detailed wireframes, user flows, and design systems aligned with product requirements.

🎯
bmad-security-review🎯Skill

Conducts comprehensive security reviews, identifying vulnerabilities, threat models, and generating prioritized remediation plans for system hardening.

🎯
bmad-product-planning🎯Skill

Generates comprehensive product requirement documents (PRDs), breaks down features into epics, and creates structured roadmaps for product development.

🎯
core-skill-creation🎯Skill

Guides developers through creating specialized Claude skills by providing comprehensive workflows, best practices, and validation processes for extending Claude's capabilities.

🎯
bmad-development-execution🎯Skill

Implements software stories by writing code, creating tests, and generating implementation documentation with traceability and quality discipline.

🎯
bmad-observability-readiness🎯Skill

Establishes comprehensive observability foundations by designing instrumentation, metrics, logging, and alerting strategies for system performance and reliability.

🎯
openspec-change-proposal🎯Skill

Generates lightweight, concise proposals and task outlines for small code changes and bug fixes with minimal overhead.

🎯
bmad-discovery-research🎯Skill

Brainstorms and researches project ideas by transforming vague concepts into structured discovery briefs with clear goals, constraints, and opportunities.

🎯
bmad-story-planning🎯Skill

Breaks down product epics into granular, developer-ready user stories with detailed acceptance criteria and task dependencies.

🎯
bmad-test-strategy🎯Skill

Generates comprehensive test strategies, ATDD scenarios, and quality checklists to ensure software meets defined standards and mitigates risks.