bmad-spec
Installation
SKILL.md
BMad Spec
Overview
Canonical transformer for the BMad spec-kernel ecosystem. Takes any intent input — vague idea, brain dump, PRD, GDD, RFC, brief, Slack thread, customer email, meeting transcript, mockups, mixed multi-source — and produces SPEC.md carrying the five-field kernel (Why, Capabilities, Constraints, Non-goals, Success signal) plus companion files for load-bearing content that does not fit or would bloat the kernel with expansive line-item detail. Together they are the machine contract every downstream BMad skill consumes.
Multiple skills may call to update the same spec over time.
Conventions
- Bare paths (e.g.
assets/spec-template.md) resolve from the skill root. {skill-root}is this skill's install dir;{project-root}is the working dir.{workflow.<name>}resolves to fields incustomize.toml.
On Activation
- Resolve customization:
uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow. On failure, read{skill-root}/customize.tomldirectly. - Run
{workflow.activation_steps_prepend}. Treat{workflow.persistent_facts}as foundational context (file:entries are loaded). - Load
{project-root}/_bmad/core/config.yaml(andconfig.user.yamlif present), root level andbmmsection. Resolve{user_name},{communication_language},{document_output_language},{planning_artifacts},{project_name},{date}. - Detect mode. Headless when any of: no TTY, programmatic caller (another skill or non-interactive runner), or the first message pre-supplies all inputs and asks for an artifact path back. Interactive otherwise. In interactive mode, greet by
{user_name}in{communication_language}, stay in that language, and mention thatbmad-party-modeandbmad-advanced-elicitationare available for deeper exploration on any field.