Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ---
  2. name: bmad-help
  3. description: 'Analyzes current state and user query to answer BMad questions or recommend the next skill(s) to use. Use when user asks for help, bmad help, what to do next, or what to start with in BMad.'
  4. ---
  5. # BMad Help
  6. ## Purpose
  7. Help the user understand where they are in their BMad workflow and what to do next, and also answer broader questions when asked that could be augmented with remote sources such as module documentation sources.
  8. ## Desired Outcomes
  9. When this skill completes, the user should:
  10. 1. **Know where they are** — which module and phase they're in, what's already been completed
  11. 2. **Know what to do next** — the next recommended and/or required step, with clear reasoning
  12. 3. **Know how to invoke it** — skill name, menu code, action context, and any args that shortcut the conversation
  13. 4. **Get offered a quick start** — when a single skill is the clear next step, offer to run it for the user right now rather than just listing it
  14. 5. **Feel oriented, not overwhelmed** — surface only what's relevant to their current position; don't dump the entire catalog
  15. 6. **Get answers to general questions** — when the question doesn't map to a specific skill, use the module's registered documentation to give a grounded answer
  16. ## Data Sources
  17. - **Catalog**: `{project-root}/_bmad/_config/bmad-help.csv` — assembled manifest of all installed module skills
  18. - **Config**: `config.yaml` and `user-config.yaml` files in `{project-root}/_bmad/` and its subfolders — resolve `output-location` variables, provide `communication_language` and `project_knowledge`
  19. - **Artifacts**: Files matching `outputs` patterns at resolved `output-location` paths reveal which steps are possibly completed; their content may also provide grounding context for recommendations
  20. - **Project knowledge**: If `project_knowledge` resolves to an existing path, read it for grounding context. Never fabricate project-specific details.
  21. - **Module docs**: Rows with `_meta` in the `skill` column carry a URL or path in `output-location` pointing to the module's documentation (e.g., llms.txt). Fetch and use these to answer general questions about that module.
  22. ## CSV Interpretation
  23. The catalog uses this format:
  24. ```
  25. module,skill,display-name,menu-code,description,action,args,phase,after,before,required,output-location,outputs
  26. ```
  27. **Phases** determine the high-level flow:
  28. - `anytime` — available regardless of workflow state
  29. - Numbered phases (`1-analysis`, `2-planning`, etc.) flow in order; naming varies by module
  30. **Dependencies** determine ordering within and across phases:
  31. - `after` — skills that should ideally complete before this one
  32. - `before` — skills that should run after this one
  33. - Format: `skill-name` for single-action skills, `skill-name:action` for multi-action skills
  34. **Required gates**:
  35. - `required=true` items must complete before the user can meaningfully proceed to later phases
  36. - A phase with no required items is entirely optional — recommend it but be clear about what's actually required next
  37. **Completion detection**:
  38. - Search resolved output paths for `outputs` patterns
  39. - Fuzzy-match found files to catalog rows
  40. - User may also state completion explicitly, or it may be evident from the current conversation
  41. **Descriptions carry routing context** — some contain cycle info and alternate paths (e.g., "back to DS if fixes needed"). Read them as navigation hints, not just display text.
  42. ## Response Format
  43. For each recommended item, present:
  44. - `[menu-code]` **Display name** — e.g., "[CP] Create PRD"
  45. - Skill name in backticks — e.g., `bmad-create-prd`
  46. - For multi-action skills: action invocation context — e.g., "tech-writer lets create a mermaid diagram!"
  47. - Description if present in CSV; otherwise your existing knowledge of the skill suffices
  48. - Args if available
  49. **Ordering**: Show optional items first, then the next required item. Make it clear which is which.
  50. ## Constraints
  51. - Present all output in `{communication_language}`
  52. - Recommend running each skill in a **fresh context window**
  53. - Match the user's tone — conversational when they're casual, structured when they want specifics
  54. - If the active module is ambiguous, retrieve all meta rows remote sources to find relevant info also to help answer their question