diff --git a/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml b/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml index 40c56244..bef378f6 100644 --- a/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml +++ b/src/modules/bmm/workflows/4-implementation/dev-story/instructions.xml @@ -1,5 +1,5 @@ - The workflow execution engine is governed by: {project-root}/_bmad/core/tasks/workflow.xml + The workflow execution engine is governed by: {project-root}/.bmad/core/tasks/workflow.xml You MUST have already loaded and processed: {installed_path}/workflow.yaml Communicate all responses in {communication_language} and language MUST be tailored to {user_skill_level} Generate all documents in {document_output_language} @@ -17,7 +17,7 @@ Use {{story_path}} directly Read COMPLETE story file Extract story_key from filename or metadata - + anchor with id task_check @@ -40,12 +40,9 @@ **What would you like to do?** 1. Run `create-story` to create next story from epics with comprehensive context - 2. Run `*validate-create-story` to improve existing stories before development (recommended quality check) + 2. Run `*validate-create-story` to improve existing drafted stories before development 3. Specify a particular story file to develop (provide full path) 4. Check {{sprint_status}} file to see current sprint status - - 💡 **Tip:** Stories in `ready-for-dev` may not have been validated. Consider running `validate-create-story` first for a quality - check. Choose option [1], [2], [3], or [4], or specify story file path: @@ -88,7 +85,7 @@ **Available Options:** 1. Run `create-story` to create next story from epics with comprehensive context - 2. Run `*validate-create-story` to improve existing stories + 2. Run `*validate-create-story` to improve existing drafted stories 3. Specify which story to develop What would you like to do? Choose option [1], [2], or [3]: @@ -142,6 +139,44 @@ Load comprehensive context from story file's Dev Notes section Extract developer guidance from Dev Notes: architecture requirements, previous learnings, technical specifications Use enhanced story context to inform implementation decisions and approaches + + + Search for UX Design Specification file in project (pattern: *ux-design*.md, *ux-spec*.md) + + + Parse frontmatter for: componentLibrary, effectsLibrary, referenceSites + Check if Component Resources section exists in document body + + + 🎨 **UX Design Specification Loaded** + + **Component Resources:** + | Category | Value | + |----------|-------| + | **Base UI Library** | {{componentLibrary}} | + | **Effects Library** | {{effectsLibrary}} | + | **Reference Sites** | {{referenceSites}} | + + ℹ️ Implementation should follow these UX technology standards. + + + + + ⚠️ **UX Design Specification Found but Incomplete** + + The UX Design Specification exists but is missing Component Resources configuration. + + **Recommendation:** Consider running `create-ux-design` workflow to complete the UX specification before development. + + Continuing with development - but UI component choices may not align with UX design intent. + + + + + + ℹ️ No UX Design Specification found. Proceeding without UX component guidance. + + ✅ **Context Loaded** Story and project context available for implementation @@ -325,7 +360,7 @@ Run the full regression suite (do not skip) Confirm File List includes every changed file Execute enhanced definition-of-done validation - Update the story Status to: "review" + Update the story Status to: "Ready for Review" Validate definition-of-done checklist with essential requirements: @@ -349,17 +384,17 @@ Verify current status is "in-progress" (expected previous state) Update development_status[{{story_key}}] = "review" Save file, preserving ALL comments and structure including STATUS DEFINITIONS - ✅ Story status updated to "review" in sprint-status.yaml + ✅ Story marked Ready for Review in sprint status - ℹ️ Story status updated to "review" in story file (no sprint tracking configured) + ℹ️ Story marked Ready for Review in story file (no sprint tracking configured) ⚠️ Story file updated, but sprint-status update failed: {{story_key}} not found - Story status is set to "review" in file, but sprint-status.yaml may be out of sync. + Story is marked Ready for Review in file, but sprint-status.yaml may be out of sync. @@ -376,7 +411,7 @@ Communicate to {user_name} that story implementation is complete and ready for review Summarize key accomplishments: story ID, story key, title, key changes made, tests added, files modified - Provide the story file path and current status (now "review") + Provide the story file path and current status (now "Ready for Review") Based on {user_skill_level}, ask if user needs any explanations about: - What was implemented and how it works