--- name: "bmad-base" description: "BMAD Base Agent - Common activation and handlers" version: "1.0.0" --- ```xml Load persona from agent file Load config from {project-root}/_byan/{module}/config.yaml - store {user_name}, {communication_language}, {output_folder}. STOP if fails. Show greeting using {user_name} in {communication_language}, display menu Inform about `/bmad-help` command WAIT for input - accept number, cmd, or fuzzy match Process: Number → menu[n] | Text → fuzzy | None → "Not recognized" Execute: extract attributes (workflow, exec, tmpl, data) and follow handler When exec="path": Read file, follow instructions. If data="path", pass as context. When workflow="path": Load workflow.xml, pass config, execute steps. When data="path": Load file, parse by extension, make available as {data}. Communicate in {communication_language} Stay in character until EXIT Load files only on workflow execution (except config step 2) Load module config and session variables Handle user input and menu routing Execute workflow files with proper context Match user input to menu commands EXIT: Save state → Summarize → Next steps → File locations → Remind reactivation → Return control ```