Bmad autonomous planning

From VilnaCRM-Org/user-service · View interactive version

Bmad autonomous planning is an AI agent skill from the GitHub repository VilnaCRM-Org/user-service. Create BMALPH planning artifacts autonomously from a short task description by delegating each planning phase to a focused subagent and orchestrating the handoffs without human interaction.

How to use this skill

Skill file

BMALPH Autonomous Planning

Use this skill when the user wants BMALPH-style planning from a short prompt but

does not want to walk through interactive menus step by step.

Non-Negotiable Rules

bash wrappers, make targets, or other launcher automation.

_bmad/COMMANDS.md, frame every subagent around a BMALPH command name from

that catalog, and only descend into the specific workflow or agent files

required by that command.

available. Do not overload a single subagent with the whole planning flow.

reasoning_effort: xhigh. Do not downshift stage-owning subagents to

gpt-5.4-mini.

clarification, decide on the user's behalf, continue, and record open

questions instead of blocking.

Inputs

Expect the caller to provide:

If the caller does not provide a bundle directory, derive one under the

configured planning artifacts path, for example

<planning_artifacts>/autonomous/<timestamp>-<task-slug>.

Output Bundle

Create a planning bundle with at least:

run-summary.md must also contain:

artifact owned by each subagent

The final assistant response should summarize:

Required Sources

Load only the minimum sources required for the current stage:

  1. _bmad/COMMANDS.md
  2. The local bmalph skill wrapper when available, which in this repository is:
  1. The resolved BMAD config file:
  1. Only the backing agent and workflow files required to satisfy the BMALPH

commands selected for this run:

  1. Repository guidance that constrains implementation, especially:
  1. Only the feature-area code and docs needed to justify the plan

Never bulk-scan the whole repository when a narrow set of files will do.

Stage-to-Command Map

Use these BMALPH commands as the default stage entrypoints for autonomous

planning subagents:

When a validation round needs another subagent pass, prefer the matching

validation command when it exists, for example validate-brief,

validate-prd, validate-architecture, or validate-epics-stories.

Main-Agent Responsibilities

The main agent owns orchestration and artifact quality. It must:

  1. Resolve the bundle path and initialize the planning run.
  2. Map each stage to a concrete BMALPH command before spawning a subagent.
  3. Decide which repository files each subagent needs.
  4. Spawn the stage subagent with model: gpt-5.4,

reasoning_effort: xhigh, and only the minimum context required.

  1. Review the returned draft before moving to the next stage.
  2. Answer workflow questions on behalf of the user.
  3. Decide whether another validation round is necessary.
  4. Maintain continuity across stages so the next subagent sees the correct

upstream artifact set.

  1. Update the Subagent Execution Log in run-summary.md after every phase.

Subagent Contract

For every BMALPH stage, the main agent should hand the subagent:

reasoning_effort: xhigh

Every subagent should return a draft plus findings, not a request to pause for a

human.

Do not hand a subagent only raw workflow-file paths without naming the BMALPH

command it is following.

Workflow

1. Preflight

BMALPH stage commands relevant to this planning run.

broad discovery.

2. Research Stage

Spawn a research subagent through the analyst BMALPH command.

The research subagent should:

The main agent then reviews the result, resolves open choices, and finalizes

research.md.

3. Product Brief Stage

Spawn a brief subagent through the create-brief BMALPH command.

Inputs:

Outputs:

The main agent must review the draft before moving on.

4. PRD Stage

Spawn a PRD subagent through the create-prd BMALPH command.

Inputs:

The PRD subagent should produce an implementation-ready but not code-level

prd.md. The main agent validates coverage, measurability, traceability, and

completeness before proceeding.

5. Architecture Stage

Spawn an architecture subagent through the create-architecture BMALPH

command.

Inputs:

The architecture must fit the repository's actual Symfony, API Platform, DDD,

CQRS, and hexagonal patterns. The main agent validates compatibility and

implementation readiness before moving on. If the PRD is not strong enough, do

not improvise; send the flow back to PRD refinement first.

6. Epics and Stories Stage

Spawn an epics/stories subagent through the create-epics-stories BMALPH

command.

Inputs:

The subagent should produce forward-safe epics and actionable stories in

epics.md. The main agent separately reviews story quality, dependency order,

and acceptance-criteria coverage.

7. Cross-Artifact Readiness Stage

Spawn a readiness subagent through the implementation-readiness BMALPH

command.

Inputs:

This subagent should identify gaps, inconsistencies, and unresolved planning

risks in implementation-readiness.md. The main agent finalizes the readiness

assessment and updates run-summary.md.

Validation Loop

Use 1 to 3 validation rounds per artifact.

For each artifact, the main agent may:

BMALPH validation command when one exists and keeping

model: gpt-5.4 with reasoning_effort: xhigh

Stop early when only minor or repetitive issues remain. Do not loop endlessly.

Decision Policy for Interactive BMALPH Gates

If a BMALPH wrapper or workflow expects user input:

If a phase is blocked by a genuinely missing prerequisite, stop only that phase,

record the blocker explicitly, and do not fabricate the missing input.

Use the BMALPH menu concepts as policy, not as a hard stop:

GitHub Output

Only create a GitHub issue or specs-only PR when the user explicitly asks.

When requested:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.