brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
bmad-builderMeta-skill for scaffolding and validating custom PLANNING/ORCHESTRATION skills within the BMAD Planning & Orchestrator plugin. Produces the full skill directory: SKILL.md, scripts, and templates — all pre-targeted at this plugin's path conventions. Includes a scope-violation checker so newly created skills never drift into dev/lint/build/coverage territory.…
Independent GitHub snapshot · Automated classification · Original documentation governs
Function: Scaffold and validate custom planning/orchestration skills for the BMAD Planning & Orchestrator plugin. Produces compliant SKILL.md files, shell scripts, and templates — pre-wired to this plugin's path conventions — and runs scope-violation checks to keep new skills inside the PLAN/ORCHESTRATE boundary.
This skill produces planning artifacts and skill skeleton files. It does NOT write application code, run tests, lint, check coverage, or execute builds. If a skill being designed is tempted to "implement", "fix the code", "run the suite", or "review the diff" — that is a scope violation. Plan and hand off instead.
Always clarify which intent applies before starting.
Gather requirements (use TodoWrite to track):
bmad-; e.g. bmad-example)bmad-risk-assessment)Run the scaffold script to create the directory:
bash ${CLAUDE_PLUGIN_ROOT}/skills/bmad-builder/scripts/scaffold-skill.sh <skill-name>
This creates skills/<skill-name>/ with scripts/ and templates/ subdirectories and a starter SKILL.md.
Fill the SKILL.md using the skill template:
${CLAUDE_PLUGIN_ROOT}/skills/bmad-builder/templates/skill.template.mdREFERENCE.md in the new skill's own folder${CLAUDE_PLUGIN_ROOT} for all paths to bundled scripts/templatesbmad-output/ (honor user-configured folder)Validate the new skill:
bash ${CLAUDE_PLUGIN_ROOT}/skills/bmad-builder/scripts/validate-skill.sh \
${CLAUDE_PLUGIN_ROOT}/skills/<skill-name>/SKILL.md
Fix all errors; review all warnings before declaring done.
Run the validator directly against any SKILL.md path:
bash ${CLAUDE_PLUGIN_ROOT}/skills/bmad-builder/scripts/validate-skill.sh <path-to-SKILL.md>
The validator checks:
name field present and lowercase-hyphendescription field present with trigger phrasesallowed-tools field present (warns if missing)allowed-tools or bodyUse when you want an empty directory skeleton without generating content:
bash ${CLAUDE_PLUGIN_ROOT}/skills/bmad-builder/scripts/scaffold-skill.sh <skill-name>
Then fill SKILL.md manually using the template as a guide.
Every skill created by this builder MUST comply with the Scope Law:
The validate-skill.sh script enforces this automatically by flagging forbidden terms.
When designing skills, track the BMAD Method conventions:
| Convention | Rule |
|---|---|
| Scale Tracks | Quick Flow / BMad Method / Enterprise — user confirms interactively |
| Story size | ~2-8h, one dev-day max; split if larger |
| Delivery tracking | Stories remaining / completion rate — NO Fibonacci points, velocity, or burndown |
| Story name | {epic}.{story}.{slug}.story.md |
| Story status | backlog → ready-for-dev → in-progress → review → done |
| Decision log | Decisions thread through decision-log.md |
| Project constitution | project-context.md loaded across skills |
| Three intents | Create / Update / Validate where applicable |
| Script | Purpose |
|---|---|
scripts/scaffold-skill.sh <name> | Creates skills/<name>/ with subdirs and starter SKILL.md |
scripts/validate-skill.sh <SKILL.md> | Validates frontmatter, scope, size, and attribution footer |
Invoke with the ${CLAUDE_PLUGIN_ROOT} prefix shown above. The orchestrator marks scripts executable; you may also run them via bash.
| Template | Use for |
|---|---|
templates/skill.template.md | Skeleton for a new planning/orchestration SKILL.md |
templates/document.template.md | Generic planning document (PRD section, brief, spec section, etc.) |
For creating a full skill package in parallel:
| Agent | Task | Output |
|---|---|---|
| Agent 1 | Draft SKILL.md body from gathered requirements | skills/<name>/SKILL.md |
| Agent 2 | Write domain scripts (validators, checklists) | skills/<name>/scripts/ |
| Agent 3 | Write domain templates | skills/<name>/templates/ |
| Agent 4 | Write REFERENCE.md if body exceeds 5K tokens | skills/<name>/REFERENCE.md |
Coordination: gather requirements first (sequential), write spec to bmad-output/skill-spec.md, then fan out. Main context validates all outputs with validate-skill.sh and assembles the final package.
${CLAUDE_PLUGIN_ROOT} for all internal paths — never hardcode ~/.claude or absolute machine paths.bmad-output/ by default.
Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of
bmad-bmb-builder. All methodology credit belongs to the BMAD Code Organization.