appiq-solution 1.4.3 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/#Tools/APPIQ-METHOD/.cursor/commands/analyze.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/appiq.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/help.md +1 -1
- package/#Tools/APPIQ-METHOD/.cursor/commands/story.md +1 -1
- package/#Tools/APPIQ-METHOD/activate-appiq.js +1 -1
- package/#Tools/APPIQ-METHOD/bmad-core/agents/init-flow-po.md +219 -0
- package/#Tools/APPIQ-METHOD/commands/analyze.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/appiq.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/help.md +1 -1
- package/#Tools/APPIQ-METHOD/commands/story.md +1 -1
- package/#Tools/APPIQ-METHOD/package.json +1 -1
- package/#Tools/APPIQ-METHOD/tools/appiq-installer.js +31 -34
- package/#Tools/APPIQ-METHOD/tools/epic-solution-installer.js +47 -49
- package/#Tools/APPIQ-METHOD/tools/setup-ide-commands.js +40 -37
- package/#Tools/APPIQ-METHOD/tools/smart-installer.js +16 -13
- package/bmad-core/agent-teams/team-all.yaml +14 -0
- package/bmad-core/agent-teams/team-flutter-mobile.yaml +114 -0
- package/bmad-core/agent-teams/team-fullstack.yaml +28 -0
- package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
- package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
- package/bmad-core/agents/analyst.md +85 -0
- package/bmad-core/agents/architect.md +90 -0
- package/bmad-core/agents/bmad-master.md +108 -0
- package/bmad-core/agents/bmad-orchestrator.md +150 -0
- package/bmad-core/agents/bmad-smart-launcher.md +170 -0
- package/bmad-core/agents/dev.md +95 -0
- package/bmad-core/agents/init-flow-po.md +219 -0
- package/bmad-core/agents/pm.md +85 -0
- package/bmad-core/agents/po.md +76 -0
- package/bmad-core/agents/qa.md +86 -0
- package/bmad-core/agents/sm.md +67 -0
- package/bmad-core/agents/ux-expert.md +71 -0
- package/bmad-core/bmad-core/user-guide.md +0 -0
- package/bmad-core/checklists/architect-checklist.md +443 -0
- package/bmad-core/checklists/change-checklist.md +182 -0
- package/bmad-core/checklists/pm-checklist.md +375 -0
- package/bmad-core/checklists/po-master-checklist.md +441 -0
- package/bmad-core/checklists/security-validation-checklist.md +332 -0
- package/bmad-core/checklists/story-dod-checklist.md +101 -0
- package/bmad-core/checklists/story-draft-checklist.md +156 -0
- package/bmad-core/core-config.yaml +20 -0
- package/bmad-core/core-config.yaml.bak +20 -0
- package/bmad-core/data/backend-services-integration.md +686 -0
- package/bmad-core/data/bmad-kb.md +803 -0
- package/bmad-core/data/brainstorming-techniques.md +36 -0
- package/bmad-core/data/elicitation-methods.md +134 -0
- package/bmad-core/data/shadcn-ui-integration.md +388 -0
- package/bmad-core/data/technical-preferences.md +149 -0
- package/bmad-core/enhanced-ide-development-workflow.md +43 -0
- package/bmad-core/tasks/advanced-elicitation.md +117 -0
- package/bmad-core/tasks/brownfield-create-epic.md +160 -0
- package/bmad-core/tasks/brownfield-create-story.md +147 -0
- package/bmad-core/tasks/correct-course.md +70 -0
- package/bmad-core/tasks/create-brownfield-story.md +304 -0
- package/bmad-core/tasks/create-deep-research-prompt.md +289 -0
- package/bmad-core/tasks/create-flutter-story.md +197 -0
- package/bmad-core/tasks/create-next-story.md +112 -0
- package/bmad-core/tasks/document-project.md +341 -0
- package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
- package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
- package/bmad-core/tasks/index-docs.md +179 -0
- package/bmad-core/tasks/intelligent-epic-creation.md +234 -0
- package/bmad-core/tasks/kb-mode-interaction.md +75 -0
- package/bmad-core/tasks/review-story.md +145 -0
- package/bmad-core/tasks/shard-doc.md +187 -0
- package/bmad-core/tasks/smart-project-analysis.md +289 -0
- package/bmad-core/tasks/validate-next-story.md +134 -0
- package/bmad-core/templates/architecture-tmpl.yaml +650 -0
- package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
- package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
- package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
- package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
- package/bmad-core/templates/flutter-mobile-prd-tmpl.yaml +330 -0
- package/bmad-core/templates/flutter-story-tmpl.yaml +376 -0
- package/bmad-core/templates/flutter-ui-spec-tmpl.yaml +415 -0
- package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
- package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
- package/bmad-core/templates/fullstack-architecture-tmpl.yaml +812 -0
- package/bmad-core/templates/market-research-tmpl.yaml +252 -0
- package/bmad-core/templates/prd-tmpl.yaml +202 -0
- package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
- package/bmad-core/templates/story-tmpl.yaml +137 -0
- package/bmad-core/user-guide.md +251 -0
- package/bmad-core/workflows/brownfield-fullstack.yaml +311 -0
- package/bmad-core/workflows/brownfield-service.yaml +187 -0
- package/bmad-core/workflows/brownfield-ui.yaml +197 -0
- package/bmad-core/workflows/greenfield-fullstack.yaml +284 -0
- package/bmad-core/workflows/greenfield-service.yaml +206 -0
- package/bmad-core/workflows/greenfield-ui.yaml +235 -0
- package/bmad-core/working-in-the-brownfield.md +373 -0
- package/package.json +1 -1
- package/tools/appiq-installer.js +31 -34
- package/tools/epic-solution-installer.js +47 -49
- package/tools/setup-ide-commands.js +40 -37
- package/tools/smart-installer.js +16 -13
@@ -0,0 +1,43 @@
|
|
1
|
+
# Enhanced Development Workflow
|
2
|
+
|
3
|
+
This is a simple step-by-step guide to help you efficiently manage your development workflow using the BMad Method. Refer to the **[<ins>User Guide</ins>](user-guide.md)** for any scenario that is not covered here.
|
4
|
+
|
5
|
+
## Create new Branch
|
6
|
+
|
7
|
+
1. **Start new branch**
|
8
|
+
|
9
|
+
## Story Creation (Scrum Master)
|
10
|
+
|
11
|
+
1. **Start new chat/conversation**
|
12
|
+
2. **Load SM agent**
|
13
|
+
3. **Execute**: `*draft` (runs create-next-story task)
|
14
|
+
4. **Review generated story** in `docs/stories/`
|
15
|
+
5. **Update status**: Change from "Draft" to "Approved"
|
16
|
+
|
17
|
+
## Story Implementation (Developer)
|
18
|
+
|
19
|
+
1. **Start new chat/conversation**
|
20
|
+
2. **Load Dev agent**
|
21
|
+
3. **Execute**: `*develop-story {selected-story}` (runs execute-checklist task)
|
22
|
+
4. **Review generated report** in `{selected-story}`
|
23
|
+
|
24
|
+
## Story Review (Quality Assurance)
|
25
|
+
|
26
|
+
1. **Start new chat/conversation**
|
27
|
+
2. **Load QA agent**
|
28
|
+
3. **Execute**: `*review {selected-story}` (runs review-story task)
|
29
|
+
4. **Review generated report** in `{selected-story}`
|
30
|
+
|
31
|
+
## Commit Changes and Push
|
32
|
+
|
33
|
+
1. **Commit changes**
|
34
|
+
2. **Push to remote**
|
35
|
+
|
36
|
+
## Repeat Until Complete
|
37
|
+
|
38
|
+
- **SM**: Create next story → Review → Approve
|
39
|
+
- **Dev**: Implement story → Complete → Mark Ready for Review
|
40
|
+
- **QA**: Review story → Mark done
|
41
|
+
- **Commit**: All changes
|
42
|
+
- **Push**: To remote
|
43
|
+
- **Continue**: Until all features implemented
|
@@ -0,0 +1,117 @@
|
|
1
|
+
# Advanced Elicitation Task
|
2
|
+
|
3
|
+
## Purpose
|
4
|
+
|
5
|
+
- Provide optional reflective and brainstorming actions to enhance content quality
|
6
|
+
- Enable deeper exploration of ideas through structured elicitation techniques
|
7
|
+
- Support iterative refinement through multiple analytical perspectives
|
8
|
+
- Usable during template-driven document creation or any chat conversation
|
9
|
+
|
10
|
+
## Usage Scenarios
|
11
|
+
|
12
|
+
### Scenario 1: Template Document Creation
|
13
|
+
|
14
|
+
After outputting a section during document creation:
|
15
|
+
|
16
|
+
1. **Section Review**: Ask user to review the drafted section
|
17
|
+
2. **Offer Elicitation**: Present 9 carefully selected elicitation methods
|
18
|
+
3. **Simple Selection**: User types a number (0-8) to engage method, or 9 to proceed
|
19
|
+
4. **Execute & Loop**: Apply selected method, then re-offer choices until user proceeds
|
20
|
+
|
21
|
+
### Scenario 2: General Chat Elicitation
|
22
|
+
|
23
|
+
User can request advanced elicitation on any agent output:
|
24
|
+
|
25
|
+
- User says "do advanced elicitation" or similar
|
26
|
+
- Agent selects 9 relevant methods for the context
|
27
|
+
- Same simple 0-9 selection process
|
28
|
+
|
29
|
+
## Task Instructions
|
30
|
+
|
31
|
+
### 1. Intelligent Method Selection
|
32
|
+
|
33
|
+
**Context Analysis**: Before presenting options, analyze:
|
34
|
+
|
35
|
+
- **Content Type**: Technical specs, user stories, architecture, requirements, etc.
|
36
|
+
- **Complexity Level**: Simple, moderate, or complex content
|
37
|
+
- **Stakeholder Needs**: Who will use this information
|
38
|
+
- **Risk Level**: High-impact decisions vs routine items
|
39
|
+
- **Creative Potential**: Opportunities for innovation or alternatives
|
40
|
+
|
41
|
+
**Method Selection Strategy**:
|
42
|
+
|
43
|
+
1. **Always Include Core Methods** (choose 3-4):
|
44
|
+
- Expand or Contract for Audience
|
45
|
+
- Critique and Refine
|
46
|
+
- Identify Potential Risks
|
47
|
+
- Assess Alignment with Goals
|
48
|
+
|
49
|
+
2. **Context-Specific Methods** (choose 4-5):
|
50
|
+
- **Technical Content**: Tree of Thoughts, ReWOO, Meta-Prompting
|
51
|
+
- **User-Facing Content**: Agile Team Perspective, Stakeholder Roundtable
|
52
|
+
- **Creative Content**: Innovation Tournament, Escape Room Challenge
|
53
|
+
- **Strategic Content**: Red Team vs Blue Team, Hindsight Reflection
|
54
|
+
|
55
|
+
3. **Always Include**: "Proceed / No Further Actions" as option 9
|
56
|
+
|
57
|
+
### 2. Section Context and Review
|
58
|
+
|
59
|
+
When invoked after outputting a section:
|
60
|
+
|
61
|
+
1. **Provide Context Summary**: Give a brief 1-2 sentence summary of what the user should look for in the section just presented
|
62
|
+
|
63
|
+
2. **Explain Visual Elements**: If the section contains diagrams, explain them briefly before offering elicitation options
|
64
|
+
|
65
|
+
3. **Clarify Scope Options**: If the section contains multiple distinct items, inform the user they can apply elicitation actions to:
|
66
|
+
- The entire section as a whole
|
67
|
+
- Individual items within the section (specify which item when selecting an action)
|
68
|
+
|
69
|
+
### 3. Present Elicitation Options
|
70
|
+
|
71
|
+
**Review Request Process:**
|
72
|
+
|
73
|
+
- Ask the user to review the drafted section
|
74
|
+
- In the SAME message, inform them they can suggest direct changes OR select an elicitation method
|
75
|
+
- Present 9 intelligently selected methods (0-8) plus "Proceed" (9)
|
76
|
+
- Keep descriptions short - just the method name
|
77
|
+
- Await simple numeric selection
|
78
|
+
|
79
|
+
**Action List Presentation Format:**
|
80
|
+
|
81
|
+
```text
|
82
|
+
**Advanced Elicitation Options**
|
83
|
+
Choose a number (0-8) or 9 to proceed:
|
84
|
+
|
85
|
+
0. [Method Name]
|
86
|
+
1. [Method Name]
|
87
|
+
2. [Method Name]
|
88
|
+
3. [Method Name]
|
89
|
+
4. [Method Name]
|
90
|
+
5. [Method Name]
|
91
|
+
6. [Method Name]
|
92
|
+
7. [Method Name]
|
93
|
+
8. [Method Name]
|
94
|
+
9. Proceed / No Further Actions
|
95
|
+
```
|
96
|
+
|
97
|
+
**Response Handling:**
|
98
|
+
|
99
|
+
- **Numbers 0-8**: Execute the selected method, then re-offer the choice
|
100
|
+
- **Number 9**: Proceed to next section or continue conversation
|
101
|
+
- **Direct Feedback**: Apply user's suggested changes and continue
|
102
|
+
|
103
|
+
### 4. Method Execution Framework
|
104
|
+
|
105
|
+
**Execution Process:**
|
106
|
+
|
107
|
+
1. **Retrieve Method**: Access the specific elicitation method from the elicitation-methods data file
|
108
|
+
2. **Apply Context**: Execute the method from your current role's perspective
|
109
|
+
3. **Provide Results**: Deliver insights, critiques, or alternatives relevant to the content
|
110
|
+
4. **Re-offer Choice**: Present the same 9 options again until user selects 9 or gives direct feedback
|
111
|
+
|
112
|
+
**Execution Guidelines:**
|
113
|
+
|
114
|
+
- **Be Concise**: Focus on actionable insights, not lengthy explanations
|
115
|
+
- **Stay Relevant**: Tie all elicitation back to the specific content being analyzed
|
116
|
+
- **Identify Personas**: For multi-persona methods, clearly identify which viewpoint is speaking
|
117
|
+
- **Maintain Flow**: Keep the process moving efficiently
|
@@ -0,0 +1,160 @@
|
|
1
|
+
# Create Brownfield Epic Task
|
2
|
+
|
3
|
+
## Purpose
|
4
|
+
|
5
|
+
Create a single epic for smaller brownfield enhancements that don't require the full PRD and Architecture documentation process. This task is for isolated features or modifications that can be completed within a focused scope.
|
6
|
+
|
7
|
+
## When to Use This Task
|
8
|
+
|
9
|
+
**Use this task when:**
|
10
|
+
|
11
|
+
- The enhancement can be completed in 1-3 stories
|
12
|
+
- No significant architectural changes are required
|
13
|
+
- The enhancement follows existing project patterns
|
14
|
+
- Integration complexity is minimal
|
15
|
+
- Risk to existing system is low
|
16
|
+
|
17
|
+
**Use the full brownfield PRD/Architecture process when:**
|
18
|
+
|
19
|
+
- The enhancement requires multiple coordinated stories
|
20
|
+
- Architectural planning is needed
|
21
|
+
- Significant integration work is required
|
22
|
+
- Risk assessment and mitigation planning is necessary
|
23
|
+
|
24
|
+
## Instructions
|
25
|
+
|
26
|
+
### 1. Project Analysis (Required)
|
27
|
+
|
28
|
+
Before creating the epic, gather essential information about the existing project:
|
29
|
+
|
30
|
+
**Existing Project Context:**
|
31
|
+
|
32
|
+
- [ ] Project purpose and current functionality understood
|
33
|
+
- [ ] Existing technology stack identified
|
34
|
+
- [ ] Current architecture patterns noted
|
35
|
+
- [ ] Integration points with existing system identified
|
36
|
+
|
37
|
+
**Enhancement Scope:**
|
38
|
+
|
39
|
+
- [ ] Enhancement clearly defined and scoped
|
40
|
+
- [ ] Impact on existing functionality assessed
|
41
|
+
- [ ] Required integration points identified
|
42
|
+
- [ ] Success criteria established
|
43
|
+
|
44
|
+
### 2. Epic Creation
|
45
|
+
|
46
|
+
Create a focused epic following this structure:
|
47
|
+
|
48
|
+
#### Epic Title
|
49
|
+
|
50
|
+
{{Enhancement Name}} - Brownfield Enhancement
|
51
|
+
|
52
|
+
#### Epic Goal
|
53
|
+
|
54
|
+
{{1-2 sentences describing what the epic will accomplish and why it adds value}}
|
55
|
+
|
56
|
+
#### Epic Description
|
57
|
+
|
58
|
+
**Existing System Context:**
|
59
|
+
|
60
|
+
- Current relevant functionality: {{brief description}}
|
61
|
+
- Technology stack: {{relevant existing technologies}}
|
62
|
+
- Integration points: {{where new work connects to existing system}}
|
63
|
+
|
64
|
+
**Enhancement Details:**
|
65
|
+
|
66
|
+
- What's being added/changed: {{clear description}}
|
67
|
+
- How it integrates: {{integration approach}}
|
68
|
+
- Success criteria: {{measurable outcomes}}
|
69
|
+
|
70
|
+
#### Stories
|
71
|
+
|
72
|
+
List 1-3 focused stories that complete the epic:
|
73
|
+
|
74
|
+
1. **Story 1:** {{Story title and brief description}}
|
75
|
+
2. **Story 2:** {{Story title and brief description}}
|
76
|
+
3. **Story 3:** {{Story title and brief description}}
|
77
|
+
|
78
|
+
#### Compatibility Requirements
|
79
|
+
|
80
|
+
- [ ] Existing APIs remain unchanged
|
81
|
+
- [ ] Database schema changes are backward compatible
|
82
|
+
- [ ] UI changes follow existing patterns
|
83
|
+
- [ ] Performance impact is minimal
|
84
|
+
|
85
|
+
#### Risk Mitigation
|
86
|
+
|
87
|
+
- **Primary Risk:** {{main risk to existing system}}
|
88
|
+
- **Mitigation:** {{how risk will be addressed}}
|
89
|
+
- **Rollback Plan:** {{how to undo changes if needed}}
|
90
|
+
|
91
|
+
#### Definition of Done
|
92
|
+
|
93
|
+
- [ ] All stories completed with acceptance criteria met
|
94
|
+
- [ ] Existing functionality verified through testing
|
95
|
+
- [ ] Integration points working correctly
|
96
|
+
- [ ] Documentation updated appropriately
|
97
|
+
- [ ] No regression in existing features
|
98
|
+
|
99
|
+
### 3. Validation Checklist
|
100
|
+
|
101
|
+
Before finalizing the epic, ensure:
|
102
|
+
|
103
|
+
**Scope Validation:**
|
104
|
+
|
105
|
+
- [ ] Epic can be completed in 1-3 stories maximum
|
106
|
+
- [ ] No architectural documentation is required
|
107
|
+
- [ ] Enhancement follows existing patterns
|
108
|
+
- [ ] Integration complexity is manageable
|
109
|
+
|
110
|
+
**Risk Assessment:**
|
111
|
+
|
112
|
+
- [ ] Risk to existing system is low
|
113
|
+
- [ ] Rollback plan is feasible
|
114
|
+
- [ ] Testing approach covers existing functionality
|
115
|
+
- [ ] Team has sufficient knowledge of integration points
|
116
|
+
|
117
|
+
**Completeness Check:**
|
118
|
+
|
119
|
+
- [ ] Epic goal is clear and achievable
|
120
|
+
- [ ] Stories are properly scoped
|
121
|
+
- [ ] Success criteria are measurable
|
122
|
+
- [ ] Dependencies are identified
|
123
|
+
|
124
|
+
### 4. Handoff to Story Manager
|
125
|
+
|
126
|
+
Once the epic is validated, provide this handoff to the Story Manager:
|
127
|
+
|
128
|
+
---
|
129
|
+
|
130
|
+
**Story Manager Handoff:**
|
131
|
+
|
132
|
+
"Please develop detailed user stories for this brownfield epic. Key considerations:
|
133
|
+
|
134
|
+
- This is an enhancement to an existing system running {{technology stack}}
|
135
|
+
- Integration points: {{list key integration points}}
|
136
|
+
- Existing patterns to follow: {{relevant existing patterns}}
|
137
|
+
- Critical compatibility requirements: {{key requirements}}
|
138
|
+
- Each story must include verification that existing functionality remains intact
|
139
|
+
|
140
|
+
The epic should maintain system integrity while delivering {{epic goal}}."
|
141
|
+
|
142
|
+
---
|
143
|
+
|
144
|
+
## Success Criteria
|
145
|
+
|
146
|
+
The epic creation is successful when:
|
147
|
+
|
148
|
+
1. Enhancement scope is clearly defined and appropriately sized
|
149
|
+
2. Integration approach respects existing system architecture
|
150
|
+
3. Risk to existing functionality is minimized
|
151
|
+
4. Stories are logically sequenced for safe implementation
|
152
|
+
5. Compatibility requirements are clearly specified
|
153
|
+
6. Rollback plan is feasible and documented
|
154
|
+
|
155
|
+
## Important Notes
|
156
|
+
|
157
|
+
- This task is specifically for SMALL brownfield enhancements
|
158
|
+
- If the scope grows beyond 3 stories, consider the full brownfield PRD process
|
159
|
+
- Always prioritize existing system integrity over new functionality
|
160
|
+
- When in doubt about scope or complexity, escalate to full brownfield planning
|
@@ -0,0 +1,147 @@
|
|
1
|
+
# Create Brownfield Story Task
|
2
|
+
|
3
|
+
## Purpose
|
4
|
+
|
5
|
+
Create a single user story for very small brownfield enhancements that can be completed in one focused development session. This task is for minimal additions or bug fixes that require existing system integration awareness.
|
6
|
+
|
7
|
+
## When to Use This Task
|
8
|
+
|
9
|
+
**Use this task when:**
|
10
|
+
|
11
|
+
- The enhancement can be completed in a single story
|
12
|
+
- No new architecture or significant design is required
|
13
|
+
- The change follows existing patterns exactly
|
14
|
+
- Integration is straightforward with minimal risk
|
15
|
+
- Change is isolated with clear boundaries
|
16
|
+
|
17
|
+
**Use brownfield-create-epic when:**
|
18
|
+
|
19
|
+
- The enhancement requires 2-3 coordinated stories
|
20
|
+
- Some design work is needed
|
21
|
+
- Multiple integration points are involved
|
22
|
+
|
23
|
+
**Use the full brownfield PRD/Architecture process when:**
|
24
|
+
|
25
|
+
- The enhancement requires multiple coordinated stories
|
26
|
+
- Architectural planning is needed
|
27
|
+
- Significant integration work is required
|
28
|
+
|
29
|
+
## Instructions
|
30
|
+
|
31
|
+
### 1. Quick Project Assessment
|
32
|
+
|
33
|
+
Gather minimal but essential context about the existing project:
|
34
|
+
|
35
|
+
**Current System Context:**
|
36
|
+
|
37
|
+
- [ ] Relevant existing functionality identified
|
38
|
+
- [ ] Technology stack for this area noted
|
39
|
+
- [ ] Integration point(s) clearly understood
|
40
|
+
- [ ] Existing patterns for similar work identified
|
41
|
+
|
42
|
+
**Change Scope:**
|
43
|
+
|
44
|
+
- [ ] Specific change clearly defined
|
45
|
+
- [ ] Impact boundaries identified
|
46
|
+
- [ ] Success criteria established
|
47
|
+
|
48
|
+
### 2. Story Creation
|
49
|
+
|
50
|
+
Create a single focused story following this structure:
|
51
|
+
|
52
|
+
#### Story Title
|
53
|
+
|
54
|
+
{{Specific Enhancement}} - Brownfield Addition
|
55
|
+
|
56
|
+
#### User Story
|
57
|
+
|
58
|
+
As a {{user type}},
|
59
|
+
I want {{specific action/capability}},
|
60
|
+
So that {{clear benefit/value}}.
|
61
|
+
|
62
|
+
#### Story Context
|
63
|
+
|
64
|
+
**Existing System Integration:**
|
65
|
+
|
66
|
+
- Integrates with: {{existing component/system}}
|
67
|
+
- Technology: {{relevant tech stack}}
|
68
|
+
- Follows pattern: {{existing pattern to follow}}
|
69
|
+
- Touch points: {{specific integration points}}
|
70
|
+
|
71
|
+
#### Acceptance Criteria
|
72
|
+
|
73
|
+
**Functional Requirements:**
|
74
|
+
|
75
|
+
1. {{Primary functional requirement}}
|
76
|
+
2. {{Secondary functional requirement (if any)}}
|
77
|
+
3. {{Integration requirement}}
|
78
|
+
|
79
|
+
**Integration Requirements:** 4. Existing {{relevant functionality}} continues to work unchanged 5. New functionality follows existing {{pattern}} pattern 6. Integration with {{system/component}} maintains current behavior
|
80
|
+
|
81
|
+
**Quality Requirements:** 7. Change is covered by appropriate tests 8. Documentation is updated if needed 9. No regression in existing functionality verified
|
82
|
+
|
83
|
+
#### Technical Notes
|
84
|
+
|
85
|
+
- **Integration Approach:** {{how it connects to existing system}}
|
86
|
+
- **Existing Pattern Reference:** {{link or description of pattern to follow}}
|
87
|
+
- **Key Constraints:** {{any important limitations or requirements}}
|
88
|
+
|
89
|
+
#### Definition of Done
|
90
|
+
|
91
|
+
- [ ] Functional requirements met
|
92
|
+
- [ ] Integration requirements verified
|
93
|
+
- [ ] Existing functionality regression tested
|
94
|
+
- [ ] Code follows existing patterns and standards
|
95
|
+
- [ ] Tests pass (existing and new)
|
96
|
+
- [ ] Documentation updated if applicable
|
97
|
+
|
98
|
+
### 3. Risk and Compatibility Check
|
99
|
+
|
100
|
+
**Minimal Risk Assessment:**
|
101
|
+
|
102
|
+
- **Primary Risk:** {{main risk to existing system}}
|
103
|
+
- **Mitigation:** {{simple mitigation approach}}
|
104
|
+
- **Rollback:** {{how to undo if needed}}
|
105
|
+
|
106
|
+
**Compatibility Verification:**
|
107
|
+
|
108
|
+
- [ ] No breaking changes to existing APIs
|
109
|
+
- [ ] Database changes (if any) are additive only
|
110
|
+
- [ ] UI changes follow existing design patterns
|
111
|
+
- [ ] Performance impact is negligible
|
112
|
+
|
113
|
+
### 4. Validation Checklist
|
114
|
+
|
115
|
+
Before finalizing the story, confirm:
|
116
|
+
|
117
|
+
**Scope Validation:**
|
118
|
+
|
119
|
+
- [ ] Story can be completed in one development session
|
120
|
+
- [ ] Integration approach is straightforward
|
121
|
+
- [ ] Follows existing patterns exactly
|
122
|
+
- [ ] No design or architecture work required
|
123
|
+
|
124
|
+
**Clarity Check:**
|
125
|
+
|
126
|
+
- [ ] Story requirements are unambiguous
|
127
|
+
- [ ] Integration points are clearly specified
|
128
|
+
- [ ] Success criteria are testable
|
129
|
+
- [ ] Rollback approach is simple
|
130
|
+
|
131
|
+
## Success Criteria
|
132
|
+
|
133
|
+
The story creation is successful when:
|
134
|
+
|
135
|
+
1. Enhancement is clearly defined and appropriately scoped for single session
|
136
|
+
2. Integration approach is straightforward and low-risk
|
137
|
+
3. Existing system patterns are identified and will be followed
|
138
|
+
4. Rollback plan is simple and feasible
|
139
|
+
5. Acceptance criteria include existing functionality verification
|
140
|
+
|
141
|
+
## Important Notes
|
142
|
+
|
143
|
+
- This task is for VERY SMALL brownfield changes only
|
144
|
+
- If complexity grows during analysis, escalate to brownfield-create-epic
|
145
|
+
- Always prioritize existing system integrity
|
146
|
+
- When in doubt about integration complexity, use brownfield-create-epic instead
|
147
|
+
- Stories should take no more than 4 hours of focused development work
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Correct Course Task
|
2
|
+
|
3
|
+
## Purpose
|
4
|
+
|
5
|
+
- Guide a structured response to a change trigger using the `{root}/checklists/change-checklist`.
|
6
|
+
- Analyze the impacts of the change on epics, project artifacts, and the MVP, guided by the checklist's structure.
|
7
|
+
- Explore potential solutions (e.g., adjust scope, rollback elements, re-scope features) as prompted by the checklist.
|
8
|
+
- Draft specific, actionable proposed updates to any affected project artifacts (e.g., epics, user stories, PRD sections, architecture document sections) based on the analysis.
|
9
|
+
- Produce a consolidated "Sprint Change Proposal" document that contains the impact analysis and the clearly drafted proposed edits for user review and approval.
|
10
|
+
- Ensure a clear handoff path if the nature of the changes necessitates fundamental replanning by other core agents (like PM or Architect).
|
11
|
+
|
12
|
+
## Instructions
|
13
|
+
|
14
|
+
### 1. Initial Setup & Mode Selection
|
15
|
+
|
16
|
+
- **Acknowledge Task & Inputs:**
|
17
|
+
- Confirm with the user that the "Correct Course Task" (Change Navigation & Integration) is being initiated.
|
18
|
+
- Verify the change trigger and ensure you have the user's initial explanation of the issue and its perceived impact.
|
19
|
+
- Confirm access to all relevant project artifacts (e.g., PRD, Epics/Stories, Architecture Documents, UI/UX Specifications) and, critically, the `{root}/checklists/change-checklist`.
|
20
|
+
- **Establish Interaction Mode:**
|
21
|
+
- Ask the user their preferred interaction mode for this task:
|
22
|
+
- **"Incrementally (Default & Recommended):** Shall we work through the change-checklist section by section, discussing findings and collaboratively drafting proposed changes for each relevant part before moving to the next? This allows for detailed, step-by-step refinement."
|
23
|
+
- **"YOLO Mode (Batch Processing):** Or, would you prefer I conduct a more batched analysis based on the checklist and then present a consolidated set of findings and proposed changes for a broader review? This can be quicker for initial assessment but might require more extensive review of the combined proposals."
|
24
|
+
- Once the user chooses, confirm the selected mode and then inform the user: "We will now use the change-checklist to analyze the change and draft proposed updates. I will guide you through the checklist items based on our chosen interaction mode."
|
25
|
+
|
26
|
+
### 2. Execute Checklist Analysis (Iteratively or Batched, per Interaction Mode)
|
27
|
+
|
28
|
+
- Systematically work through Sections 1-4 of the change-checklist (typically covering Change Context, Epic/Story Impact Analysis, Artifact Conflict Resolution, and Path Evaluation/Recommendation).
|
29
|
+
- For each checklist item or logical group of items (depending on interaction mode):
|
30
|
+
- Present the relevant prompt(s) or considerations from the checklist to the user.
|
31
|
+
- Request necessary information and actively analyze the relevant project artifacts (PRD, epics, architecture documents, story history, etc.) to assess the impact.
|
32
|
+
- Discuss your findings for each item with the user.
|
33
|
+
- Record the status of each checklist item (e.g., `[x] Addressed`, `[N/A]`, `[!] Further Action Needed`) and any pertinent notes or decisions.
|
34
|
+
- Collaboratively agree on the "Recommended Path Forward" as prompted by Section 4 of the checklist.
|
35
|
+
|
36
|
+
### 3. Draft Proposed Changes (Iteratively or Batched)
|
37
|
+
|
38
|
+
- Based on the completed checklist analysis (Sections 1-4) and the agreed "Recommended Path Forward" (excluding scenarios requiring fundamental replans that would necessitate immediate handoff to PM/Architect):
|
39
|
+
- Identify the specific project artifacts that require updates (e.g., specific epics, user stories, PRD sections, architecture document components, diagrams).
|
40
|
+
- **Draft the proposed changes directly and explicitly for each identified artifact.** Examples include:
|
41
|
+
- Revising user story text, acceptance criteria, or priority.
|
42
|
+
- Adding, removing, reordering, or splitting user stories within epics.
|
43
|
+
- Proposing modified architecture diagram snippets (e.g., providing an updated Mermaid diagram block or a clear textual description of the change to an existing diagram).
|
44
|
+
- Updating technology lists, configuration details, or specific sections within the PRD or architecture documents.
|
45
|
+
- Drafting new, small supporting artifacts if necessary (e.g., a brief addendum for a specific decision).
|
46
|
+
- If in "Incremental Mode," discuss and refine these proposed edits for each artifact or small group of related artifacts with the user as they are drafted.
|
47
|
+
- If in "YOLO Mode," compile all drafted edits for presentation in the next step.
|
48
|
+
|
49
|
+
### 4. Generate "Sprint Change Proposal" with Edits
|
50
|
+
|
51
|
+
- Synthesize the complete change-checklist analysis (covering findings from Sections 1-4) and all the agreed-upon proposed edits (from Instruction 3) into a single document titled "Sprint Change Proposal." This proposal should align with the structure suggested by Section 5 of the change-checklist.
|
52
|
+
- The proposal must clearly present:
|
53
|
+
- **Analysis Summary:** A concise overview of the original issue, its analyzed impact (on epics, artifacts, MVP scope), and the rationale for the chosen path forward.
|
54
|
+
- **Specific Proposed Edits:** For each affected artifact, clearly show or describe the exact changes (e.g., "Change Story X.Y from: [old text] To: [new text]", "Add new Acceptance Criterion to Story A.B: [new AC]", "Update Section 3.2 of Architecture Document as follows: [new/modified text or diagram description]").
|
55
|
+
- Present the complete draft of the "Sprint Change Proposal" to the user for final review and feedback. Incorporate any final adjustments requested by the user.
|
56
|
+
|
57
|
+
### 5. Finalize & Determine Next Steps
|
58
|
+
|
59
|
+
- Obtain explicit user approval for the "Sprint Change Proposal," including all the specific edits documented within it.
|
60
|
+
- Provide the finalized "Sprint Change Proposal" document to the user.
|
61
|
+
- **Based on the nature of the approved changes:**
|
62
|
+
- **If the approved edits sufficiently address the change and can be implemented directly or organized by a PO/SM:** State that the "Correct Course Task" is complete regarding analysis and change proposal, and the user can now proceed with implementing or logging these changes (e.g., updating actual project documents, backlog items). Suggest handoff to a PO/SM agent for backlog organization if appropriate.
|
63
|
+
- **If the analysis and proposed path (as per checklist Section 4 and potentially Section 6) indicate that the change requires a more fundamental replan (e.g., significant scope change, major architectural rework):** Clearly state this conclusion. Advise the user that the next step involves engaging the primary PM or Architect agents, using the "Sprint Change Proposal" as critical input and context for that deeper replanning effort.
|
64
|
+
|
65
|
+
## Output Deliverables
|
66
|
+
|
67
|
+
- **Primary:** A "Sprint Change Proposal" document (in markdown format). This document will contain:
|
68
|
+
- A summary of the change-checklist analysis (issue, impact, rationale for the chosen path).
|
69
|
+
- Specific, clearly drafted proposed edits for all affected project artifacts.
|
70
|
+
- **Implicit:** An annotated change-checklist (or the record of its completion) reflecting the discussions, findings, and decisions made during the process.
|