story-tmpl.yaml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. # <!-- Powered by BMAD™ Core -->
  2. template:
  3. id: story-template-v2
  4. name: Story Document
  5. version: 2.0
  6. output:
  7. format: markdown
  8. filename: docs/stories/{{epic_num}}.{{story_num}}.{{story_title_short}}.md
  9. title: "Story {{epic_num}}.{{story_num}}: {{story_title_short}}"
  10. workflow:
  11. mode: interactive
  12. elicitation: advanced-elicitation
  13. agent_config:
  14. editable_sections:
  15. - Status
  16. - Story
  17. - Acceptance Criteria
  18. - Tasks / Subtasks
  19. - Dev Notes
  20. - Testing
  21. - Change Log
  22. sections:
  23. - id: status
  24. title: Status
  25. type: choice
  26. choices: [Draft, Approved, InProgress, Review, Done]
  27. instruction: Select the current status of the story
  28. owner: scrum-master
  29. editors: [scrum-master, dev-agent]
  30. - id: story
  31. title: Story
  32. type: template-text
  33. template: |
  34. **As a** {{role}},
  35. **I want** {{action}},
  36. **so that** {{benefit}}
  37. instruction: Define the user story using the standard format with role, action, and benefit
  38. elicit: true
  39. owner: scrum-master
  40. editors: [scrum-master]
  41. - id: acceptance-criteria
  42. title: Acceptance Criteria
  43. type: numbered-list
  44. instruction: Copy the acceptance criteria numbered list from the epic file
  45. elicit: true
  46. owner: scrum-master
  47. editors: [scrum-master]
  48. - id: tasks-subtasks
  49. title: Tasks / Subtasks
  50. type: bullet-list
  51. instruction: |
  52. Break down the story into specific tasks and subtasks needed for implementation.
  53. Reference applicable acceptance criteria numbers where relevant.
  54. template: |
  55. - [ ] Task 1 (AC: # if applicable)
  56. - [ ] Subtask1.1...
  57. - [ ] Task 2 (AC: # if applicable)
  58. - [ ] Subtask 2.1...
  59. - [ ] Task 3 (AC: # if applicable)
  60. - [ ] Subtask 3.1...
  61. elicit: true
  62. owner: scrum-master
  63. editors: [scrum-master, dev-agent]
  64. - id: dev-notes
  65. title: Dev Notes
  66. instruction: |
  67. Populate relevant information, only what was pulled from actual artifacts from docs folder, relevant to this story:
  68. - Do not invent information
  69. - If known add Relevant Source Tree info that relates to this story
  70. - If there were important notes from previous story that are relevant to this one, include them here
  71. - Put enough information in this section so that the dev agent should NEVER need to read the architecture documents, these notes along with the tasks and subtasks must give the Dev Agent the complete context it needs to comprehend with the least amount of overhead the information to complete the story, meeting all AC and completing all tasks+subtasks
  72. elicit: true
  73. owner: scrum-master
  74. editors: [scrum-master]
  75. sections:
  76. - id: testing-standards
  77. title: Testing
  78. instruction: |
  79. List Relevant Testing Standards from Architecture the Developer needs to conform to:
  80. - Test file location
  81. - Test standards
  82. - Testing frameworks and patterns to use
  83. - Any specific testing requirements for this story
  84. elicit: true
  85. owner: scrum-master
  86. editors: [scrum-master]
  87. - id: change-log
  88. title: Change Log
  89. type: table
  90. columns: [Date, Version, Description, Author]
  91. instruction: Track changes made to this story document
  92. owner: scrum-master
  93. editors: [scrum-master, dev-agent, qa-agent]
  94. - id: dev-agent-record
  95. title: Dev Agent Record
  96. instruction: This section is populated by the development agent during implementation
  97. owner: dev-agent
  98. editors: [dev-agent]
  99. sections:
  100. - id: agent-model
  101. title: Agent Model Used
  102. template: "{{agent_model_name_version}}"
  103. instruction: Record the specific AI agent model and version used for development
  104. owner: dev-agent
  105. editors: [dev-agent]
  106. - id: debug-log-references
  107. title: Debug Log References
  108. instruction: Reference any debug logs or traces generated during development
  109. owner: dev-agent
  110. editors: [dev-agent]
  111. - id: completion-notes
  112. title: Completion Notes List
  113. instruction: Notes about the completion of tasks and any issues encountered
  114. owner: dev-agent
  115. editors: [dev-agent]
  116. - id: file-list
  117. title: File List
  118. instruction: List all files created, modified, or affected during story implementation
  119. owner: dev-agent
  120. editors: [dev-agent]
  121. - id: qa-results
  122. title: QA Results
  123. instruction: Results from QA Agent QA review of the completed story implementation
  124. owner: qa-agent
  125. editors: [qa-agent]