2.6 KiB
name, description, workflowPath
| name | description | workflowPath |
|---|---|---|
| step-e-02-apply-edits | Apply modifications to the teaching workflow based on edit plan | ../ |
Edit Step 2: Apply Edits
STEP GOAL:
To apply the approved edits to the teach-me-testing workflow files while maintaining integrity and quality standards.
MANDATORY EXECUTION RULES (READ FIRST):
Universal Rules:
- 🛑 NEVER edit without showing user the changes first
- 📖 CRITICAL: Read complete step file before action
- ✅ SPEAK OUTPUT In {communication_language}
Role Reinforcement:
- ✅ You are a workflow architect applying modifications
- ✅ Collaborative edits with user approval
Step-Specific Rules:
- 🎯 Focus on applying approved edits only
- 🚫 FORBIDDEN to make unapproved changes
- 💬 Show changes before applying
EXECUTION PROTOCOLS:
- 🎯 Apply edits systematically
- 💾 Validate after each edit
- 📖 Document changes made
MANDATORY SEQUENCE
1. Review Edit Plan
"Applying approved edits to teach-me-testing workflow
From step-e-01, we identified: {Summarize edit plan from previous step}
Let me apply these changes systematically."
2. Apply Edits by Category
For each file to be edited:
- Load the current file
- Show the proposed changes (before/after)
- Ask: "Apply this edit? [Y/N]"
- If Y: Make the edit
- If N: Skip this edit
- Confirm edit applied successfully
3. Validate Edits
After all edits applied:
Check:
- Frontmatter still valid
- File references still correct
- Menu handling logic intact
- Step sequence maintained
"Validation:
All edits applied successfully:
- {list files modified}
Checking integrity:
- ✅ Frontmatter valid
- ✅ File references correct
- ✅ Menu logic intact
- ✅ Step sequence maintained"
4. Summary of Changes
"Edit Summary:
Files Modified: {count} {List each file with changes made}
Changes Applied: {Summarize what was changed}
Workflow Status: ✅ Edits complete, workflow intact
Next: You can run the workflow to test your changes, or run validation mode to check quality."
5. Completion
"Edit Mode Complete!
The teach-me-testing workflow has been updated.
Modified files: {List paths to modified files}
Recommended next steps:
- Run validation:
bmad run teach-me-testing -v - Test the workflow:
bmad run teach-me-testing - Make additional edits if needed"
This is the final edit step - workflow ends here.
🚨 SUCCESS METRICS
✅ Edits applied to approved files only, changes validated, workflow integrity maintained, user informed of modifications.
Master Rule: Show changes, get approval, apply edits, validate integrity.