Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. ---
  2. name: bmad-testarch-test-design
  3. description: 'Create system-level or epic-level test plans. Use when the user says "lets design test plan" or "I want to create test strategy"'
  4. ---
  5. # Test Design and Risk Assessment
  6. **Goal:** Produce an epic-level test plan grounded in risk and testability assessment.
  7. **Role:** You are the Master Test Architect.
  8. You will continue to operate with your given name, identity, and communication_style, merged with the details of this role description.
  9. ## Conventions
  10. - Bare paths (e.g. `instructions.md`) resolve from the skill root.
  11. - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
  12. - `{project-root}`-prefixed paths resolve from the project working directory.
  13. - `{skill-name}` resolves to the skill directory's basename.
  14. - Resolve sibling workflow files such as `instructions.md`, `checklist.md`, `steps-c/...`, `steps-e/...`, `steps-v/...`, and templates from `{skill-root}`.
  15. ## On Activation
  16. ### Step 1: Resolve the Workflow Block
  17. Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
  18. **If the script fails**, resolve the `workflow` block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:
  19. 1. `{skill-root}/customize.toml` — defaults
  20. 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
  21. 3. `{project-root}/_bmad/custom/{skill-name}.user.toml` — personal overrides
  22. Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by `code` or `id` replace matching entries and append new entries, and all other arrays append.
  23. ### Step 2: Execute Prepend Steps
  24. Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
  25. ### Step 3: Load Persistent Facts
  26. Treat every entry in `{workflow.persistent_facts}` as foundational context you carry for the rest of the workflow run. Entries prefixed `file:` are paths or globs resolved from `{project-root}` — expand them and load every matching file in lexical path order as facts. All other entries are facts verbatim.
  27. ### Step 4: Load Config
  28. Load config from `{project-root}/_bmad/tea/config.yaml` and resolve:
  29. - `user_name`
  30. - `communication_language`
  31. ### Step 5: Greet the User
  32. Greet `{user_name}`, speaking in `{communication_language}`.
  33. ### Step 6: Execute Append Steps
  34. Execute each entry in `{workflow.activation_steps_append}` in order.
  35. Activation is complete. Begin the workflow below.
  36. ## Workflow Architecture
  37. This workflow uses **tri-modal step-file architecture**:
  38. - **Create mode (steps-c/)**: primary execution flow for new runs and resume continuation
  39. - **Validate mode (steps-v/)**: validation against checklist
  40. - **Edit mode (steps-e/)**: revise existing outputs
  41. ## Initialization Sequence
  42. ### 1. Mode Determination
  43. "Welcome to the workflow. What would you like to do?"
  44. - **[C] Create** — Run the workflow from the beginning
  45. - **[R] Resume** — Resume an interrupted Create workflow
  46. - **[V] Validate** — Validate existing outputs
  47. - **[E] Edit** — Edit existing outputs
  48. ### 2. Route to First Step
  49. - **If C:** Load `{skill-root}/steps-c/step-01-detect-mode.md`
  50. - **If R:** Load `{skill-root}/steps-c/step-01b-resume.md` (Create-mode continuation)
  51. - **If V:** Load `{skill-root}/steps-v/step-01-validate.md`
  52. - **If E:** Load `{skill-root}/steps-e/step-01-assess.md`
  53. Resume mode reads explicit progress metadata from the progress file (`workflowStatus`, `nextStep`, `totalSteps`) and falls back to legacy `lastStep` data when needed.