Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ---
  2. name: bmad-quick-dev
  3. description: 'Implements any user intent, requirement, story, bug fix or change request by producing clean working code artifacts that follow the project''s existing architecture, patterns and conventions. Use when the user wants to build, fix, tweak, refactor, add or modify any code, component or feature.'
  4. ---
  5. # Quick Dev New Preview Workflow
  6. **Goal:** Turn user intent into a hardened, reviewable artifact.
  7. **CRITICAL:** If a step says "read fully and follow step-XX", you read and follow step-XX. No exceptions.
  8. ## READY FOR DEVELOPMENT STANDARD
  9. A specification is "Ready for Development" when:
  10. - **Actionable**: Every task has a file path and specific action.
  11. - **Logical**: Tasks ordered by dependency.
  12. - **Testable**: All ACs use Given/When/Then.
  13. - **Complete**: No placeholders or TBDs.
  14. ## SCOPE STANDARD
  15. A specification should target a **single user-facing goal** within **900–1600 tokens**:
  16. - **Single goal**: One cohesive feature, even if it spans multiple layers/files. Multi-goal means >=2 **top-level independent shippable deliverables** — each could be reviewed, tested, and merged as a separate PR without breaking the others. Never count surface verbs, "and" conjunctions, or noun phrases. Never split cross-layer implementation details inside one user goal.
  17. - Split: "add dark mode toggle AND refactor auth to JWT AND build admin dashboard"
  18. - Don't split: "add validation and display errors" / "support drag-and-drop AND paste AND retry"
  19. - **900–1600 tokens**: Optimal range for LLM consumption. Below 900 risks ambiguity; above 1600 risks context-rot in implementation agents.
  20. - **Neither limit is a gate.** Both are proposals with user override.
  21. ## Conventions
  22. - Bare paths (e.g. `step-01-clarify-and-route.md`) resolve from the skill root.
  23. - `{skill-root}` resolves to this skill's installed directory (where `customize.toml` lives).
  24. - `{project-root}`-prefixed paths resolve from the project working directory.
  25. - `{skill-name}` resolves to the skill directory's basename.
  26. ## On Activation
  27. ### Step 1: Resolve the Workflow Block
  28. Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`
  29. **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:
  30. 1. `{skill-root}/customize.toml` — defaults
  31. 2. `{project-root}/_bmad/custom/{skill-name}.toml` — team overrides
  32. 3. `{project-root}/_bmad/custom/{skill-name}.user.toml` — personal overrides
  33. 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.
  34. ### Step 2: Execute Prepend Steps
  35. Execute each entry in `{workflow.activation_steps_prepend}` in order before proceeding.
  36. ### Step 3: Load Persistent Facts
  37. 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 under `{project-root}` -- load the referenced contents as facts. All other entries are facts verbatim.
  38. ### Step 4: Load Config
  39. Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve:
  40. - `project_name`, `planning_artifacts`, `implementation_artifacts`, `user_name`
  41. - `communication_language`, `document_output_language`, `user_skill_level`
  42. - `date` as system-generated current datetime
  43. - `sprint_status` = `{implementation_artifacts}/sprint-status.yaml`
  44. - `project_context` = `**/project-context.md` (load if exists)
  45. - CLAUDE.md / memory files (load if exist)
  46. - YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config `{communication_language}`
  47. - Language MUST be tailored to `{user_skill_level}`
  48. - Generate all documents in `{document_output_language}`
  49. ### Step 5: Greet the User
  50. Greet `{user_name}`, speaking in `{communication_language}`.
  51. ### Step 6: Execute Append Steps
  52. Execute each entry in `{workflow.activation_steps_append}` in order.
  53. Activation is complete. Begin the workflow below.
  54. ## WORKFLOW ARCHITECTURE
  55. This uses **step-file architecture** for disciplined execution:
  56. - **Micro-file Design**: Each step is self-contained and followed exactly
  57. - **Just-In-Time Loading**: Only load the current step file
  58. - **Sequential Enforcement**: Complete steps in order, no skipping
  59. - **State Tracking**: Persist progress via spec frontmatter and in-memory variables
  60. - **Append-Only Building**: Build artifacts incrementally
  61. ### Step Processing Rules
  62. 1. **READ COMPLETELY**: Read the entire step file before acting
  63. 2. **FOLLOW SEQUENCE**: Execute sections in order
  64. 3. **WAIT FOR INPUT**: Halt at checkpoints and wait for human
  65. 4. **LOAD NEXT**: When directed, read fully and follow the next step file
  66. ### Critical Rules (NO EXCEPTIONS)
  67. - **NEVER** load multiple step files simultaneously
  68. - **ALWAYS** read entire step file before execution
  69. - **NEVER** skip steps or optimize the sequence
  70. - **ALWAYS** follow the exact instructions in the step file
  71. - **ALWAYS** halt at checkpoints and wait for human input
  72. ## FIRST STEP
  73. Read fully and follow: `./step-01-clarify-and-route.md` to begin the workflow.