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.
Files changed (95) hide show
  1. package/#Tools/APPIQ-METHOD/.cursor/commands/analyze.md +1 -1
  2. package/#Tools/APPIQ-METHOD/.cursor/commands/appiq.md +1 -1
  3. package/#Tools/APPIQ-METHOD/.cursor/commands/help.md +1 -1
  4. package/#Tools/APPIQ-METHOD/.cursor/commands/story.md +1 -1
  5. package/#Tools/APPIQ-METHOD/activate-appiq.js +1 -1
  6. package/#Tools/APPIQ-METHOD/bmad-core/agents/init-flow-po.md +219 -0
  7. package/#Tools/APPIQ-METHOD/commands/analyze.md +1 -1
  8. package/#Tools/APPIQ-METHOD/commands/appiq.md +1 -1
  9. package/#Tools/APPIQ-METHOD/commands/help.md +1 -1
  10. package/#Tools/APPIQ-METHOD/commands/story.md +1 -1
  11. package/#Tools/APPIQ-METHOD/package.json +1 -1
  12. package/#Tools/APPIQ-METHOD/tools/appiq-installer.js +31 -34
  13. package/#Tools/APPIQ-METHOD/tools/epic-solution-installer.js +47 -49
  14. package/#Tools/APPIQ-METHOD/tools/setup-ide-commands.js +40 -37
  15. package/#Tools/APPIQ-METHOD/tools/smart-installer.js +16 -13
  16. package/bmad-core/agent-teams/team-all.yaml +14 -0
  17. package/bmad-core/agent-teams/team-flutter-mobile.yaml +114 -0
  18. package/bmad-core/agent-teams/team-fullstack.yaml +28 -0
  19. package/bmad-core/agent-teams/team-ide-minimal.yaml +10 -0
  20. package/bmad-core/agent-teams/team-no-ui.yaml +13 -0
  21. package/bmad-core/agents/analyst.md +85 -0
  22. package/bmad-core/agents/architect.md +90 -0
  23. package/bmad-core/agents/bmad-master.md +108 -0
  24. package/bmad-core/agents/bmad-orchestrator.md +150 -0
  25. package/bmad-core/agents/bmad-smart-launcher.md +170 -0
  26. package/bmad-core/agents/dev.md +95 -0
  27. package/bmad-core/agents/init-flow-po.md +219 -0
  28. package/bmad-core/agents/pm.md +85 -0
  29. package/bmad-core/agents/po.md +76 -0
  30. package/bmad-core/agents/qa.md +86 -0
  31. package/bmad-core/agents/sm.md +67 -0
  32. package/bmad-core/agents/ux-expert.md +71 -0
  33. package/bmad-core/bmad-core/user-guide.md +0 -0
  34. package/bmad-core/checklists/architect-checklist.md +443 -0
  35. package/bmad-core/checklists/change-checklist.md +182 -0
  36. package/bmad-core/checklists/pm-checklist.md +375 -0
  37. package/bmad-core/checklists/po-master-checklist.md +441 -0
  38. package/bmad-core/checklists/security-validation-checklist.md +332 -0
  39. package/bmad-core/checklists/story-dod-checklist.md +101 -0
  40. package/bmad-core/checklists/story-draft-checklist.md +156 -0
  41. package/bmad-core/core-config.yaml +20 -0
  42. package/bmad-core/core-config.yaml.bak +20 -0
  43. package/bmad-core/data/backend-services-integration.md +686 -0
  44. package/bmad-core/data/bmad-kb.md +803 -0
  45. package/bmad-core/data/brainstorming-techniques.md +36 -0
  46. package/bmad-core/data/elicitation-methods.md +134 -0
  47. package/bmad-core/data/shadcn-ui-integration.md +388 -0
  48. package/bmad-core/data/technical-preferences.md +149 -0
  49. package/bmad-core/enhanced-ide-development-workflow.md +43 -0
  50. package/bmad-core/tasks/advanced-elicitation.md +117 -0
  51. package/bmad-core/tasks/brownfield-create-epic.md +160 -0
  52. package/bmad-core/tasks/brownfield-create-story.md +147 -0
  53. package/bmad-core/tasks/correct-course.md +70 -0
  54. package/bmad-core/tasks/create-brownfield-story.md +304 -0
  55. package/bmad-core/tasks/create-deep-research-prompt.md +289 -0
  56. package/bmad-core/tasks/create-flutter-story.md +197 -0
  57. package/bmad-core/tasks/create-next-story.md +112 -0
  58. package/bmad-core/tasks/document-project.md +341 -0
  59. package/bmad-core/tasks/facilitate-brainstorming-session.md +136 -0
  60. package/bmad-core/tasks/generate-ai-frontend-prompt.md +51 -0
  61. package/bmad-core/tasks/index-docs.md +179 -0
  62. package/bmad-core/tasks/intelligent-epic-creation.md +234 -0
  63. package/bmad-core/tasks/kb-mode-interaction.md +75 -0
  64. package/bmad-core/tasks/review-story.md +145 -0
  65. package/bmad-core/tasks/shard-doc.md +187 -0
  66. package/bmad-core/tasks/smart-project-analysis.md +289 -0
  67. package/bmad-core/tasks/validate-next-story.md +134 -0
  68. package/bmad-core/templates/architecture-tmpl.yaml +650 -0
  69. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -0
  70. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +476 -0
  71. package/bmad-core/templates/brownfield-prd-tmpl.yaml +280 -0
  72. package/bmad-core/templates/competitor-analysis-tmpl.yaml +293 -0
  73. package/bmad-core/templates/flutter-mobile-prd-tmpl.yaml +330 -0
  74. package/bmad-core/templates/flutter-story-tmpl.yaml +376 -0
  75. package/bmad-core/templates/flutter-ui-spec-tmpl.yaml +415 -0
  76. package/bmad-core/templates/front-end-architecture-tmpl.yaml +206 -0
  77. package/bmad-core/templates/front-end-spec-tmpl.yaml +349 -0
  78. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +812 -0
  79. package/bmad-core/templates/market-research-tmpl.yaml +252 -0
  80. package/bmad-core/templates/prd-tmpl.yaml +202 -0
  81. package/bmad-core/templates/project-brief-tmpl.yaml +221 -0
  82. package/bmad-core/templates/story-tmpl.yaml +137 -0
  83. package/bmad-core/user-guide.md +251 -0
  84. package/bmad-core/workflows/brownfield-fullstack.yaml +311 -0
  85. package/bmad-core/workflows/brownfield-service.yaml +187 -0
  86. package/bmad-core/workflows/brownfield-ui.yaml +197 -0
  87. package/bmad-core/workflows/greenfield-fullstack.yaml +284 -0
  88. package/bmad-core/workflows/greenfield-service.yaml +206 -0
  89. package/bmad-core/workflows/greenfield-ui.yaml +235 -0
  90. package/bmad-core/working-in-the-brownfield.md +373 -0
  91. package/package.json +1 -1
  92. package/tools/appiq-installer.js +31 -34
  93. package/tools/epic-solution-installer.js +47 -49
  94. package/tools/setup-ide-commands.js +40 -37
  95. package/tools/smart-installer.js +16 -13
@@ -0,0 +1,373 @@
1
+ # Working in the Brownfield: A Complete Guide
2
+
3
+ > **HIGHLY RECOMMENDED: Use Gemini Web or Gemini CLI for Brownfield Documentation Generation!**
4
+ >
5
+ > Gemini Web's 1M+ token context window or Gemini CLI (when it's working) can analyze your ENTIRE codebase, or critical sections of it, all at once (obviously within reason):
6
+ >
7
+ > - Upload via GitHub URL or use gemini cli in the project folder
8
+ > - If working in the web: use `npx bmad-method flatten` to flatten your project into a single file, then upload that file to your web agent.
9
+
10
+ ## What is Brownfield Development?
11
+
12
+ Brownfield development refers to adding features, fixing bugs, or modernizing existing software projects. Unlike greenfield (new) projects, brownfield work requires understanding existing code, respecting constraints, and ensuring new changes integrate seamlessly without breaking existing functionality.
13
+
14
+ ## When to Use BMad for Brownfield
15
+
16
+ - Add significant new features to existing applications
17
+ - Modernize legacy codebases
18
+ - Integrate new technologies or services
19
+ - Refactor complex systems
20
+ - Fix bugs that require architectural understanding
21
+ - Document undocumented systems
22
+
23
+ ## When NOT to use a Brownfield Flow
24
+
25
+ If you have just completed an MVP with BMad, and you want to continue with post-MVP, its easier to just talk to the PM and ask it to work with you to create a new epic to add into the PRD, shard out the epic, update any architecture documents with the architect, and just go from there.
26
+
27
+ ## The Complete Brownfield Workflow
28
+
29
+ 1. **Follow the [<ins>User Guide - Installation</ins>](user-guide.md#installation) steps to setup your agent in the web.**
30
+ 2. **Generate a 'flattened' single file of your entire codebase** run: ```npx bmad-method flatten```
31
+
32
+ ### Choose Your Approach
33
+
34
+ #### Approach A: PRD-First (Recommended if adding very large and complex new features, single or multiple epics or massive changes)
35
+
36
+ **Best for**: Large codebases, monorepos, or when you know exactly what you want to build
37
+
38
+ 1. **Create PRD First** to define requirements
39
+ 2. **Document only relevant areas** based on PRD needs
40
+ 3. **More efficient** - avoids documenting unused code
41
+
42
+ #### Approach B: Document-First (Good for Smaller Projects)
43
+
44
+ **Best for**: Smaller codebases, unknown systems, or exploratory changes
45
+
46
+ 1. **Document entire system** first
47
+ 2. **Create PRD** with full context
48
+ 3. **More thorough** - captures everything
49
+
50
+ ### Approach A: PRD-First Workflow (Recommended)
51
+
52
+ #### Phase 1: Define Requirements First
53
+
54
+ **Create PRD.md file directly:**
55
+
56
+ Instead of asking questions, simply create a `docs/prd.md` file in your project with your enhancement requirements. The AI agents (PO, PM, Architect) can then work with this existing document.
57
+
58
+ **PRD.md Template:**
59
+ ```markdown
60
+ # Project Requirements Document
61
+
62
+ ## Project Overview
63
+ - **Project Name**: [Your project name]
64
+ - **Enhancement**: [Brief description of what you want to add]
65
+
66
+ ## Requirements
67
+ - [List your specific requirements]
68
+ - [Integration needs]
69
+ - [Constraints]
70
+
71
+ ## Existing System
72
+ - [Brief description of current system]
73
+ - [Key components that will be affected]
74
+ ```
75
+
76
+ **Key Advantage**: AI agents can immediately work with your PRD without needing to ask questions about project details!
77
+ **Key Advantage**: The PRD identifies which parts of your monorepo/large codebase actually need documentation!
78
+
79
+ #### Phase 2: Focused Documentation
80
+
81
+ **Still in Gemini Web, now with PRD context:**
82
+
83
+ ```bash
84
+ @architect
85
+ *document-project
86
+ ```
87
+
88
+ The analyst will:
89
+
90
+ - **Ask about your focus** if no PRD was provided
91
+ - **Offer options**: Create PRD, provide requirements, or describe the enhancement
92
+ - **Reference the PRD/description** to understand scope
93
+ - **Focus on relevant modules** identified in PRD or your description
94
+ - **Skip unrelated areas** to keep docs lean
95
+ - **Generate ONE architecture document** for all environments
96
+
97
+ The analyst creates:
98
+
99
+ - **One comprehensive architecture document** following fullstack-architecture template
100
+ - **Covers all system aspects** in a single file
101
+ - **Easy to copy and save** as `docs/project-architecture.md`
102
+ - **Can be sharded later** in IDE if desired
103
+
104
+ For example, if you say "Add payment processing to user service":
105
+
106
+ - Documents only: user service, API endpoints, database schemas, payment integrations
107
+ - Creates focused source tree showing only payment-related code paths
108
+ - Skips: admin panels, reporting modules, unrelated microservices
109
+
110
+ ### Approach B: Document-First Workflow
111
+
112
+ #### Phase 1: Document the Existing System
113
+
114
+ **Best Approach - Gemini Web with 1M+ Context**:
115
+
116
+ 1. **Go to Gemini Web** (gemini.google.com)
117
+ 2. **Upload your project**:
118
+ - **Option A**: Paste your GitHub repository URL directly
119
+ - **Option B**: Upload your flattened-codebase.xml file
120
+ 3. **Load the analyst agent**: Upload `dist/agents/architect.txt`
121
+ 4. **Run documentation**: Type `*document-project`
122
+
123
+ The analyst will generate comprehensive documentation of everything.
124
+
125
+ #### Phase 2: Plan Your Enhancement
126
+
127
+ ##### Option A: Full Brownfield Workflow (Recommended for Major Changes)
128
+
129
+ **1. Create Brownfield PRD**:
130
+
131
+ ```bash
132
+ @pm
133
+ *create-brownfield-prd
134
+ ```
135
+
136
+ The PM agent will:
137
+
138
+ - **Analyze existing documentation** from Phase 1
139
+ - **Request specific enhancement details** from you
140
+ - **Assess complexity** and recommend approach
141
+ - **Create epic/story structure** for the enhancement
142
+ - **Identify risks and integration points**
143
+
144
+ **How PM Agent Gets Project Context**:
145
+
146
+ - In Gemini Web: Already has full project context from Phase 1 documentation
147
+ - In IDE: Will ask "Please provide the path to your existing project documentation"
148
+
149
+ **Key Prompts You'll Encounter**:
150
+
151
+ - "What specific enhancement or feature do you want to add?"
152
+ - "Are there any existing systems or APIs this needs to integrate with?"
153
+ - "What are the critical constraints we must respect?"
154
+ - "What is your timeline and team size?"
155
+
156
+ **2. Create Brownfield Architecture**:
157
+
158
+ ```bash
159
+ @architect
160
+ *create-brownfield-architecture
161
+ ```
162
+
163
+ The architect will:
164
+
165
+ - **Review the brownfield PRD**
166
+ - **Design integration strategy**
167
+ - **Plan migration approach** if needed
168
+ - **Identify technical risks**
169
+ - **Define compatibility requirements**
170
+
171
+ ##### Option B: Quick Enhancement (For Focused Changes)
172
+
173
+ **For Single Epic Without Full PRD**:
174
+
175
+ ```bash
176
+ @pm
177
+ *create-brownfield-epic
178
+ ```
179
+
180
+ Use when:
181
+
182
+ - Enhancement is well-defined and isolated
183
+ - Existing documentation is comprehensive
184
+ - Changes don't impact multiple systems
185
+ - You need quick turnaround
186
+
187
+ **For Single Story**:
188
+
189
+ ```bash
190
+ @pm
191
+ *create-brownfield-story
192
+ ```
193
+
194
+ Use when:
195
+
196
+ - Bug fix or tiny feature
197
+ - Very isolated change
198
+ - No architectural impact
199
+ - Clear implementation path
200
+
201
+ ### Phase 3: Validate Planning Artifacts
202
+
203
+ ```bash
204
+ @po
205
+ *execute-checklist-po
206
+ ```
207
+
208
+ The PO ensures:
209
+
210
+ - Compatibility with existing system
211
+ - No breaking changes planned
212
+ - Risk mitigation strategies in place
213
+ - Clear integration approach
214
+
215
+ ### Phase 4: Save and Shard Documents
216
+
217
+ 1. Save your PRD and Architecture as:
218
+ docs/brownfield-prd.md
219
+ docs/brownfield-architecture.md
220
+ 2. Shard your docs:
221
+ In your IDE
222
+
223
+ ```bash
224
+ @po
225
+ shard docs/brownfield-prd.md
226
+ ```
227
+
228
+ ```bash
229
+ @po
230
+ shard docs/brownfield-architecture.md
231
+ ```
232
+
233
+ ### Phase 5: Transition to Development
234
+
235
+ **Follow the [<ins>Enhanced IDE Development Workflow</ins>](enhanced-ide-development-workflow.md)**
236
+
237
+ ## Brownfield Best Practices
238
+
239
+ ### 1. Always Document First
240
+
241
+ Even if you think you know the codebase:
242
+
243
+ - Run `document-project` to capture current state
244
+ - AI agents need this context
245
+ - Discovers undocumented patterns
246
+
247
+ ### 2. Respect Existing Patterns
248
+
249
+ The brownfield templates specifically look for:
250
+
251
+ - Current coding conventions
252
+ - Existing architectural patterns
253
+ - Technology constraints
254
+ - Team preferences
255
+
256
+ ### 3. Plan for Gradual Rollout
257
+
258
+ Brownfield changes should:
259
+
260
+ - Support feature flags
261
+ - Plan rollback strategies
262
+ - Include migration scripts
263
+ - Maintain backwards compatibility
264
+
265
+ ### 4. Test Integration Thoroughly
266
+
267
+ Focus testing on:
268
+
269
+ - Integration points
270
+ - Existing functionality (regression)
271
+ - Performance impact
272
+ - Data migrations
273
+
274
+ ### 5. Communicate Changes
275
+
276
+ Document:
277
+
278
+ - What changed and why
279
+ - Migration instructions
280
+ - New patterns introduced
281
+ - Deprecation notices
282
+
283
+ ## Common Brownfield Scenarios
284
+
285
+ ### Scenario 1: Adding a New Feature
286
+
287
+ 1. Document existing system
288
+ 2. Create brownfield PRD focusing on integration
289
+ 3. Architecture emphasizes compatibility
290
+ 4. Stories include integration tasks
291
+
292
+ ### Scenario 2: Modernizing Legacy Code
293
+
294
+ 1. Extensive documentation phase
295
+ 2. PRD includes migration strategy
296
+ 3. Architecture plans gradual transition
297
+ 4. Stories follow strangler fig pattern
298
+
299
+ ### Scenario 3: Bug Fix in Complex System
300
+
301
+ 1. Document relevant subsystems
302
+ 2. Use `create-brownfield-story` for focused fix
303
+ 3. Include regression test requirements
304
+ 4. QA validates no side effects
305
+
306
+ ### Scenario 4: API Integration
307
+
308
+ 1. Document existing API patterns
309
+ 2. PRD defines integration requirements
310
+ 3. Architecture ensures consistent patterns
311
+ 4. Stories include API documentation updates
312
+
313
+ ## Troubleshooting
314
+
315
+ ### "The AI doesn't understand my codebase"
316
+
317
+ **Solution**: Re-run `document-project` with more specific paths to critical files
318
+
319
+ ### "Generated plans don't fit our patterns"
320
+
321
+ **Solution**: Update generated documentation with your specific conventions before planning phase
322
+
323
+ ### "Too much boilerplate for small changes"
324
+
325
+ **Solution**: Use `create-brownfield-story` instead of full workflow
326
+
327
+ ### "Integration points unclear"
328
+
329
+ **Solution**: Provide more context during PRD creation, specifically highlighting integration systems
330
+
331
+ ## Quick Reference
332
+
333
+ ### Brownfield-Specific Commands
334
+
335
+ ```bash
336
+ # Document existing project
337
+ @architect → *document-project
338
+
339
+ # Create enhancement PRD
340
+ @pm → *create-brownfield-prd
341
+
342
+ # Create architecture with integration focus
343
+ @architect → *create-brownfield-architecture
344
+
345
+ # Quick epic creation
346
+ @pm → *create-brownfield-epic
347
+
348
+ # Single story creation
349
+ @pm → *create-brownfield-story
350
+ ```
351
+
352
+ ### Decision Tree
353
+
354
+ ```text
355
+ Do you have a large codebase or monorepo?
356
+ ├─ Yes → PRD-First Approach
357
+ │ └─ Create PRD → Document only affected areas
358
+ └─ No → Is the codebase well-known to you?
359
+ ├─ Yes → PRD-First Approach
360
+ └─ No → Document-First Approach
361
+
362
+ Is this a major enhancement affecting multiple systems?
363
+ ├─ Yes → Full Brownfield Workflow
364
+ └─ No → Is this more than a simple bug fix?
365
+ ├─ Yes → brownfield-create-epic
366
+ └─ No → brownfield-create-story
367
+ ```
368
+
369
+ ## Conclusion
370
+
371
+ Brownfield development with BMad-Method provides structure and safety when modifying existing systems. The key is providing comprehensive context through documentation, using specialized templates that consider integration requirements, and following workflows that respect existing constraints while enabling progress.
372
+
373
+ Remember: **Document First, Plan Carefully, Integrate Safely**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appiq-solution",
3
- "version": "1.4.3",
3
+ "version": "1.4.5",
4
4
  "description": "🚀 Super einfache KI-Agent Installation mit One-Click Workflows für Web, Mobile (Flutter) & Backend - Built with ❤️ based on Bmad-Method",
5
5
  "main": "tools/appiq-installer.js",
6
6
  "bin": {
@@ -2112,14 +2112,7 @@ devLoadAlwaysFiles:
2112
2112
  }
2113
2113
 
2114
2114
  // Core optimized agents
2115
- const agents = [
2116
- "smart-launcher",
2117
- "project-manager",
2118
- "architect",
2119
- "story-master",
2120
- "developer",
2121
- "qa-expert",
2122
- ];
2115
+ const agents = ["init-flow-po", "architect", "pm", "sm", "dev", "qa"];
2123
2116
 
2124
2117
  for (const agent of agents) {
2125
2118
  await this.createOptimizedAgent(agent);
@@ -2134,42 +2127,47 @@ devLoadAlwaysFiles:
2134
2127
 
2135
2128
  generateOptimizedAgentContent(agentName) {
2136
2129
  const agentConfigs = {
2137
- "smart-launcher": {
2138
- name: "Appiq Launcher",
2139
- role: "Intelligenter Projekt-Starter",
2140
- commands: ["/start", "/quick-setup", "/help"],
2130
+ "init-flow-po": {
2131
+ name: "Product Owner & Workflow Initiator",
2132
+ role: "Intelligent Project Starter & Business Requirements",
2133
+ commands: [
2134
+ "/init-flow",
2135
+ "/analyze-project",
2136
+ "/create-epic",
2137
+ "/start-story",
2138
+ ],
2141
2139
  description:
2142
- "Startet automatisch den optimalen Workflow basierend auf Ihrem Projekt-Typ",
2143
- },
2144
- "project-manager": {
2145
- name: "Project Manager",
2146
- role: "PRD & Projekt-Planung",
2147
- commands: ["/prd", "/plan", "/epic"],
2148
- description: "Erstellt PRD und Projekt-Dokumentation",
2140
+ "Initiates optimal workflow based on project type and handles business requirements",
2149
2141
  },
2150
2142
  architect: {
2151
2143
  name: "System Architect",
2152
- role: "Technische Architektur",
2144
+ role: "Technical Architecture",
2153
2145
  commands: ["/architecture", "/tech-stack", "/design"],
2154
- description: "Entwickelt System-Architektur und Tech-Stack",
2146
+ description: "Develops system architecture and tech stack",
2147
+ },
2148
+ pm: {
2149
+ name: "Product Manager",
2150
+ role: "PRD & Project Planning",
2151
+ commands: ["/prd", "/plan", "/epic"],
2152
+ description: "Creates PRD and project documentation",
2155
2153
  },
2156
- "story-master": {
2157
- name: "Story Master",
2154
+ sm: {
2155
+ name: "Scrum Master",
2158
2156
  role: "User Stories & Sprint Planning",
2159
2157
  commands: ["/story", "/sprint", "/tasks"],
2160
- description: "Erstellt User Stories und Sprint-Planung",
2158
+ description: "Creates user stories and sprint planning",
2161
2159
  },
2162
- developer: {
2160
+ dev: {
2163
2161
  name: "Senior Developer",
2164
2162
  role: "Code Implementation",
2165
2163
  commands: ["/code", "/implement", "/fix"],
2166
- description: "Implementiert Features und behebt Bugs",
2164
+ description: "Implements features and fixes bugs",
2167
2165
  },
2168
- "qa-expert": {
2166
+ qa: {
2169
2167
  name: "QA Expert",
2170
- role: "Testing & Qualität",
2168
+ role: "Testing & Quality",
2171
2169
  commands: ["/test", "/review", "/validate"],
2172
- description: "Führt Tests durch und validiert Code-Qualität",
2170
+ description: "Performs tests and validates code quality",
2173
2171
  },
2174
2172
  };
2175
2173
 
@@ -2675,12 +2673,11 @@ workflows:
2675
2673
  this.config.projectType === "greenfield" ? "/start" : "/analyze"
2676
2674
  }"
2677
2675
  agents_sequence:
2678
- - smart-launcher
2679
- - project-manager
2676
+ - init-flow-po
2680
2677
  - architect
2681
- - story-master
2682
- - developer
2683
- - qa-expert
2678
+ - pm
2679
+ - dev
2680
+ - qa
2684
2681
 
2685
2682
  # IDE Integration (Mehrere IDEs)
2686
2683
  ides:
@@ -153,14 +153,7 @@ class AppiqInstaller {
153
153
  }
154
154
 
155
155
  // Core optimized agents
156
- const agents = [
157
- 'smart-launcher',
158
- 'project-manager',
159
- 'architect',
160
- 'story-master',
161
- 'developer',
162
- 'qa-expert'
163
- ];
156
+ const agents = ["init-flow-po", "architect", "pm", "sm", "dev", "qa"];
164
157
 
165
158
  for (const agent of agents) {
166
159
  await this.createOptimizedAgent(agent);
@@ -175,42 +168,48 @@ class AppiqInstaller {
175
168
 
176
169
  generateOptimizedAgentContent(agentName) {
177
170
  const agentConfigs = {
178
- 'smart-launcher': {
179
- name: 'Appiq Launcher',
180
- role: 'Intelligenter Projekt-Starter',
181
- commands: ['/start', '/quick-setup', '/help'],
182
- description: 'Startet automatisch den optimalen Workflow basierend auf Ihrem Projekt-Typ'
171
+ "init-flow-po": {
172
+ name: "Product Owner & Workflow Initiator",
173
+ role: "Intelligent Project Starter & Business Requirements",
174
+ commands: [
175
+ "/init-flow",
176
+ "/analyze-project",
177
+ "/create-epic",
178
+ "/start-story",
179
+ ],
180
+ description:
181
+ "Initiates optimal workflow based on project type and handles business requirements",
183
182
  },
184
- 'project-manager': {
185
- name: 'Project Manager',
186
- role: 'PRD & Projekt-Planung',
187
- commands: ['/prd', '/plan', '/epic'],
188
- description: 'Erstellt PRD und Projekt-Dokumentation'
183
+ architect: {
184
+ name: "System Architect",
185
+ role: "Technical Architecture",
186
+ commands: ["/architecture", "/tech-stack", "/design"],
187
+ description: "Develops system architecture and tech stack",
189
188
  },
190
- 'architect': {
191
- name: 'System Architect',
192
- role: 'Technische Architektur',
193
- commands: ['/architecture', '/tech-stack', '/design'],
194
- description: 'Entwickelt System-Architektur und Tech-Stack'
189
+ pm: {
190
+ name: "Product Manager",
191
+ role: "PRD & Project Planning",
192
+ commands: ["/prd", "/plan", "/epic"],
193
+ description: "Creates PRD and project documentation",
195
194
  },
196
- 'story-master': {
197
- name: 'Story Master',
198
- role: 'User Stories & Sprint Planning',
199
- commands: ['/story', '/sprint', '/tasks'],
200
- description: 'Erstellt User Stories und Sprint-Planung'
195
+ sm: {
196
+ name: "Scrum Master",
197
+ role: "User Stories & Sprint Planning",
198
+ commands: ["/story", "/sprint", "/tasks"],
199
+ description: "Creates user stories and sprint planning",
201
200
  },
202
- 'developer': {
203
- name: 'Senior Developer',
204
- role: 'Code Implementation',
205
- commands: ['/code', '/implement', '/fix'],
206
- description: 'Implementiert Features und behebt Bugs'
201
+ dev: {
202
+ name: "Senior Developer",
203
+ role: "Code Implementation",
204
+ commands: ["/code", "/implement", "/fix"],
205
+ description: "Implements features and fixes bugs",
206
+ },
207
+ qa: {
208
+ name: "QA Expert",
209
+ role: "Testing & Quality",
210
+ commands: ["/test", "/review", "/validate"],
211
+ description: "Performs tests and validates code quality",
207
212
  },
208
- 'qa-expert': {
209
- name: 'QA Expert',
210
- role: 'Testing & Qualität',
211
- commands: ['/test', '/review', '/validate'],
212
- description: 'Führt Tests durch und validiert Code-Qualität'
213
- }
214
213
  };
215
214
 
216
215
  const config = agentConfigs[agentName];
@@ -450,12 +449,12 @@ ${this.config.projectType === 'greenfield' ? `
450
449
  console.log(chalk.gray(` → Agents sind bereits installiert!\n`));
451
450
  }
452
451
 
453
- console.log(chalk.yellow('2. Appiq Launcher laden:'));
454
- console.log(chalk.white(` → Kopieren Sie: ${chalk.bold('appiq/agents/smart-launcher.md')}`));
452
+ console.log(chalk.yellow('2. Product Owner & Workflow Initiator laden:'));
453
+ console.log(chalk.white(` → Kopieren Sie: ${chalk.bold('appiq/agents/init-flow-po.md')}`));
455
454
  console.log(chalk.gray(` → In Ihre IDE einfügen\n`));
456
455
 
457
456
  console.log(chalk.yellow('3. Sagen Sie Ihrer IDE:'));
458
- console.log(chalk.white(` → ${chalk.bold('"Agiere als Appiq Launcher"')}\n`));
457
+ console.log(chalk.white(` → ${chalk.bold('"Agiere als Product Owner & Workflow Initiator"')}\n`));
459
458
 
460
459
  console.log(chalk.yellow('4. One-Command Start:'));
461
460
  console.log(chalk.white(chalk.bold(` → ${this.config.projectType === 'greenfield' ? '/start' : '/analyze'}`)));
@@ -510,15 +509,14 @@ paths:
510
509
 
511
510
  # One-Click Workflows
512
511
  workflows:
513
- ${this.config.projectType === 'greenfield' ? 'greenfield' : 'brownfield'}:
514
- start_command: "${this.config.projectType === 'greenfield' ? '/start' : '/analyze'}"
512
+ ${this.config.projectType === "greenfield" ? "greenfield" : "brownfield"}:
513
+ start_command: "${this.config.projectType === "greenfield" ? "/start" : "/analyze"}"
515
514
  agents_sequence:
516
- - smart-launcher
517
- - project-manager
515
+ - init-flow-po
518
516
  - architect
519
- - story-master
520
- - developer
521
- - qa-expert
517
+ - pm
518
+ - dev
519
+ - qa
522
520
 
523
521
  # IDE Integration
524
522
  ide: