Workflows
Workflows are like prompts on steroids. They harness the untapped power and control of LLMs through progressive disclosureâbreaking complex tasks into focused steps that execute sequentially. Instead of random AI slop where you hope for the best, workflows give you repeatable, reliable, high-quality outputs.
This guide explains what workflows are, why theyâre powerful, and how to think about designing them.
What Is a Workflow?
Section titled âWhat Is a Workflow?âA workflow is a structured process where the AI executes steps sequentially to accomplish a task. Each step has a specific purpose, and the AI moves through them methodicallyâwhether that involves extensive collaboration or minimal user interaction.
Think of it this way: instead of asking âhelp me build a nutrition planâ and getting a generic response, a workflow guides you (or runs automatically) through discovery, assessment, strategy, shopping lists, and prep schedulesâeach step building on the last, nothing missed, no shortcuts taken.
How do workflows differ from skills?
Section titled âHow do workflows differ from skills?âActually they really do not - a workflow can be a skill, and a skill can be a workflow. The main thing with a BMad workflow is the suggestion to follow certain conventions, which actually are also skill best practices. A skill has a few optional and required fields to add as the main file workflow and get stored in a specific location depending on your tool choice for automatic invocation by the llm - whereas workflows are generally intentionally launched, with from another process calling them, or a user invoking via a slash command. In the near future, workflows will optionally be installable as skills also - but if you like, you can add front matter to your custom workflows based on the skill spec from Anthropic, and put them in the proper location your tool dictates.
The Power of Progressive Disclosure
Section titled âThe Power of Progressive DisclosureâHereâs why workflows work so well: the AI only sees the current step. It doesnât know about step 5 when itâs on step 2. It canât get ahead of itself, skip steps, or lose focus. Each step gets the AIâs full attention, completing fully before the next step loads.
This is the opposite of a giant prompt that tries to handle everything at once and inevitably misses details or loses coherence.
Workflows exist on a spectrum:
- Interactive workflows guide users through complex decisions via collaboration and facilitation
- Automated workflows run with minimal user input, processing documents or executing tasks
- Hybrid workflows combine bothâsome steps need user input, others run automatically
Real-World Workflow Examples
Section titled âReal-World Workflow ExamplesâTax Organizer Workflow
A tax preparation workflow that helps users organize financial documents for tax filing. Runs in a single session, follows prescriptive IRS categories, produces a checklist of required documents with missing-item alerts. Sequential and compliance-focused.
Meal Planning Workflow
Creates personalized weekly meal plans through collaborative nutrition planning. Users can stop mid-session and return later because the workflow tracks progress. Intent-based conversation helps discover preferences rather than following a script. Multi-session, creative, and highly interactive.
Course Creator Workflow
Helps instructors design course syllabi. Branches based on course typeâacademic courses need accreditation sections, vocational courses need certification prep, self-paced courses need different structures entirely.
Therapy Intake Workflow
Guides mental health professionals through structured client intake sessions. Highly sensitive and confidential, uses intent-based questioning to build rapport while ensuring all required clinical information is collected. Continuable across multiple sessions.
Software Architecture Workflow (BMM Module)
Part of a larger software development pipeline. Runs after product requirements and UX design are complete, takes those documents as input, then collaboratively walks through technical decisions: system components, data flows, technology choices, architectural patterns. Produces an architecture document that implementation teams use to build consistently.
Shard Document Workflow
Nearly hands-off automated workflow. Takes a large document as input, uses a custom npx tool to split it into smaller files, deletes the original, then augments an index with content details so the LLM can efficiently find and reference specific sections later. Minimal user interactionâjust specify the input document.
These examples show the range: from collaborative creative processes to automated batch jobs, workflows ensure completeness and consistency whether the work involves deep collaboration or minimal human oversight.
The Facilitative Philosophy
Section titled âThe Facilitative PhilosophyâWhen workflows involve users, they should be facilitative, not directive. The AI treats users as partners and domain experts, not as passive recipients of generated content.
Collaborative dialogue, not command-response: The AI and user work together throughout. The AI brings structured thinking, methodology, and technical knowledge. The user brings domain expertise, context, and judgment. Together they produce something better than either could alone.
The user is the expert in their domain: A nutrition planning workflow doesnât dictate meal plansâit guides users through discovering what works for their lifestyle. An architecture workflow doesnât tell architects what to buildâit facilitates systematic decision-making so choices are explicit and consistent.
Intent-based facilitation: Workflows should describe goals and approaches, not scripts. Instead of âAsk: What is your age? Then ask: What is your goal weight?â use âGuide the user through understanding their health profile. Ask 1-2 questions at a time. Think about their responses before asking follow-ups. Probe to understand their actual needs.â
The AI figures out exact wording and question order based on conversation context. This makes interactions feel natural and responsive rather than robotic and interrogative.
When to be prescriptive: Some workflows require exact scriptsâmedical intake, legal compliance, safety-critical procedures. But these are the exception, not the rule. Default to facilitative intent-based approaches unless compliance or regulation demands otherwise.
Why Workflows Matter
Section titled âWhy Workflows MatterâWorkflows solve three fundamental problems with AI interactions:
Focus: Each step contains only instructions for that phase. The AI sees one step at a time, preventing it from getting ahead of itself or losing focus.
Continuity: Workflows can span multiple sessions. Stop mid-workflow and return later without losing progressâsomething free-form prompts canât do.
Quality: Sequential enforcement prevents shortcuts. The AI must complete each step fully before moving on, ensuring thorough, complete outputs instead of rushed, half-baked results.
How Workflows Work
Section titled âHow Workflows WorkâThe Basic Structure
Section titled âThe Basic StructureâWorkflows consist of multiple markdown files, each representing one step:
my-workflow/âââ workflow.md # Entry point and configurationâââ steps/ # Step files (steps-c/ for create, steps-e/ for edit, steps-v/ for validate)â âââ step-01-init.mdâ âââ step-02-profile.mdâ âââ step-N-final.mdâââ data/ # Reference materials, CSVs, examplesâââ templates/ # Output document templatesThe workflow.md file is minimalâit contains the workflow name, description, goal, the AIâs role, and how to start. Importantly, it does not list all steps or detail what each does. This is progressive disclosure in action.
Sequential Execution
Section titled âSequential ExecutionâWorkflows execute in strict sequence: step-01 â step-02 â step-03 â ... â step-N
The AI cannot skip steps or optimize the sequence. It must complete each step fully before loading the next. This ensures thoroughness and prevents shortcuts that compromise quality.
Continuable Workflows
Section titled âContinuable WorkflowsâSome workflows are complex enough that users might need multiple sessions. These âcontinuable workflowsâ track which steps are complete in the output documentâs frontmatter, so users can stop and resume later without losing progress.
Use continuable workflows when:
- The workflow produces large documents
- Multiple sessions are likely
- Complex decisions benefit from reflection
- The workflow has many steps (8+)
Keep it simple (single-session) when tasks are quick, focused, and can be completed in one sitting.
Workflow Chaining
Section titled âWorkflow ChainingâWorkflows can be chained together where outputs become inputs. The BMM module pipeline is a perfect example:
brainstorming â research â brief â PRD â UX â architecture â epics â sprint-planning â implement-story â review â repeatEach workflow checks for required inputs from prior workflows, validates theyâre complete, and produces output for the next workflow. This creates powerful end-to-end pipelines for complex processes.
The Tri-Modal Pattern
Section titled âThe Tri-Modal PatternâFor critical workflows that produce important artifacts, BMad uses a tri-modal structure: Create, Validate, and Edit. Each mode is a separate workflow path that can run independently or flow into the others.
Create mode builds new artifacts from scratch. But hereâs where it gets interesting: create mode can also function as a conversion tool. Feed it a non-compliant documentâsomething that doesnât follow BMad standardsâand it will extract the essential content and rebuild it as a compliant artifact. This means you can bring in existing work and automatically upgrade it to follow proper patterns.
Validate mode runs standalone and checks artifacts against standards. Because itâs separate, you can run validation whenever you wantâimmediately after creation, weeks later when things have changed, or even using a different LLM entirely. Itâs like having a quality assurance checkpoint thatâs always available but never forced.
Edit mode modifies existing artifacts while enforcing standards. As you update documents to reflect changing requirements or new understanding, edit mode ensures you donât accidentally drift away from the patterns that make the artifacts useful. It checks compliance as you work and can route back to create mode if it detects something that needs full conversion.
All BMad planning workflows and the BMB module (will) use this tri-modal pattern. The pristine example is the workflow workflow in BMBâit creates workflow specifications, validates them against standards, and lets you edit them while maintaining compliance. You can study that workflow to see the pattern in action.
This tri-modal approach gives you the best of both worlds: the creativity and flexibility to build what you need, the quality assurance of validation that can run anytime, and the ability to iterate while staying true to standards that make the artifacts valuable across sessions and team members.
Design Decisions
Section titled âDesign DecisionsâBefore building a workflow, answer these questions:
Module affiliation: Is this standalone or part of a module? Module-based workflows can access module-specific variables and reference other workflow outputs. Also when part of a module, generally they will be associated to an agent.
Continuable or single-session?: Will users need multiple sessions, or can this be completed in one sitting?
Edit/Validate support?: Do you need Create/Edit/Validate modes (tri-modal structure)? Use tri-modal for complex, critical workflows requiring quality assurance. Use create-only for simple, one-off workflows.
Document output?: Does this produce a persistent file, or perform actions without output?
Intent or prescriptive?: Is this intent-based facilitation (most workflows) or prescriptive compliance (medical, legal, regulated)?
Learning from Examples
Section titled âLearning from ExamplesâThe best way to understand workflows is to study real examples. Look at the official BMad modules:
- BMB (Module Builder): Workflow and agent creation workflows
- BMM (Business Method Module): Complete software development pipeline from brainstorming through sprint planning
- BMGD (Game Development Module): Game design briefs, narratives, architecture
- CIS (Creativity, Innovation, Strategy): Brainstorming, design thinking, storytelling, innovation strategy
Study the workflow.md files to understand how each workflow starts. Examine step files to see how instructions are structured. Notice the frontmatter variables, menu handling, and how steps chain together.
Copy patterns that work. Adapt them to your domain. The structure is consistent across all workflowsâthe content and steps change, but the architecture stays the same.
When to Use Workflows
Section titled âWhen to Use WorkflowsâUse workflows when:
- Tasks are multi-step and complex: Break down complexity into manageable pieces
- Quality and completeness matter: Sequential enforcement ensures nothing gets missed
- Repeatability is important: Get consistent results every time
- Tasks span multiple sessions: Continuable workflows preserve progress
- You need to chain processes: Output of one workflow becomes input of another
- Compliance or standards matter: Enforce required steps and documentation
Donât use workflows when:
- Tasks are simple and one-off: A single prompt works fine for quick questions
- Flexibility trumps structure: Free-form conversation is better for exploration
Modified BMad Workflows
- Tasks are truly one-step
If thereâs only one thing to do and it can be explained in under about 300 lines - donât bother with step files. Instead, you can still have a short single file workflow.md file.
The Bottom Line
Section titled âThe Bottom LineâWorkflows transform AI from a tool that gives variable, unpredictable results into a reliable system for complex, multi-step processes. Through progressive disclosure, sequential execution, guided facilitation, and thoughtful design, workflows give you control and repeatability that ad-hoc prompting alone canât match.
Theyâre not just for software development. You can create workflows for any guided process - meal planning, course design, therapy intake, tax preparation, document processing, creative writing, event planningâany complex task that benefits from structure and thoroughness.
Start simple. Study examples. Build workflows for your own domain. Youâll wonder how you ever got by with just prompts.