aiblueprint-cli 1.4.59 → 1.4.61

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 (184) hide show
  1. package/README.md +16 -36
  2. package/agents-config/agents/action.md +1 -1
  3. package/agents-config/agents/explore-codebase.md +53 -53
  4. package/agents-config/agents/explore-docs.md +50 -69
  5. package/agents-config/agents/websearch.md +36 -40
  6. package/agents-config/claude-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
  7. package/agents-config/claude-config/scripts/CLAUDE.md +10 -4
  8. package/agents-config/claude-config/scripts/bun.lockb +0 -0
  9. package/agents-config/claude-config/scripts/package.json +22 -30
  10. package/agents-config/claude-config/scripts/statusline/CLAUDE.md +37 -155
  11. package/agents-config/claude-config/scripts/statusline/README.md +18 -94
  12. package/agents-config/claude-config/scripts/statusline/defaults.json +13 -10
  13. package/agents-config/claude-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -4
  14. package/agents-config/claude-config/scripts/statusline/fixtures/test-input.json +4 -4
  15. package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
  16. package/agents-config/claude-config/scripts/statusline/src/index.ts +33 -82
  17. package/agents-config/claude-config/scripts/statusline/src/lib/config-types.ts +7 -1
  18. package/agents-config/claude-config/scripts/statusline/src/lib/formatters.ts +40 -0
  19. package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
  20. package/agents-config/claude-config/scripts/statusline/src/lib/render-pure.ts +24 -5
  21. package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +79 -0
  22. package/agents-config/claude-config/scripts/statusline/statusline.config.json +77 -77
  23. package/agents-config/codex-config/config.toml +9 -0
  24. package/agents-config/codex-config/hooks/command-deny-list.ts +203 -0
  25. package/agents-config/commands/prompts/create-vitejs-app.md +272 -0
  26. package/agents-config/commands/prompts/nextjs-add-prisma-db.md +136 -0
  27. package/agents-config/commands/prompts/nextjs-setup-better-auth.md +173 -0
  28. package/agents-config/commands/prompts/nextjs-setup-project.md +200 -0
  29. package/agents-config/commands/prompts/prompt.md +55 -0
  30. package/agents-config/commands/prompts/saas-challenge-idea.md +135 -0
  31. package/agents-config/commands/prompts/saas-create-architecture.md +242 -0
  32. package/agents-config/commands/prompts/saas-create-headline.md +132 -0
  33. package/agents-config/commands/prompts/saas-create-landing-copywritting.md +267 -0
  34. package/agents-config/commands/prompts/saas-create-legals-docs.md +176 -0
  35. package/agents-config/commands/prompts/saas-create-logos.md +240 -0
  36. package/agents-config/commands/prompts/saas-create-prd.md +195 -0
  37. package/agents-config/commands/prompts/saas-create-tasks.md +240 -0
  38. package/agents-config/commands/prompts/saas-define-pricing.md +293 -0
  39. package/agents-config/commands/prompts/saas-find-domain-name.md +190 -0
  40. package/agents-config/commands/prompts/saas-implement-landing-page.md +257 -0
  41. package/agents-config/commands/prompts/setup-tmux.md +160 -0
  42. package/agents-config/commands/prompts/tools.md +148 -0
  43. package/agents-config/scripts/.claude/skills/fix-on-my-computer/SKILL.md +81 -0
  44. package/agents-config/scripts/CLAUDE.md +37 -0
  45. package/agents-config/scripts/biome.json +37 -0
  46. package/agents-config/scripts/bun.lockb +0 -0
  47. package/agents-config/scripts/package.json +24 -0
  48. package/agents-config/scripts/statusline/CLAUDE.md +87 -0
  49. package/agents-config/scripts/statusline/README.md +117 -0
  50. package/agents-config/scripts/statusline/__tests__/context.test.ts +229 -0
  51. package/agents-config/scripts/statusline/__tests__/formatters.test.ts +108 -0
  52. package/agents-config/scripts/statusline/__tests__/statusline.test.ts +309 -0
  53. package/agents-config/scripts/statusline/defaults.json +82 -0
  54. package/agents-config/scripts/statusline/fixtures/mock-transcript.jsonl +4 -0
  55. package/agents-config/scripts/statusline/fixtures/test-input.json +35 -0
  56. package/agents-config/scripts/statusline/src/commands/interactive-config.ts +403 -0
  57. package/agents-config/scripts/statusline/src/index.ts +141 -0
  58. package/agents-config/scripts/statusline/src/lib/config-types.ts +110 -0
  59. package/agents-config/scripts/statusline/src/lib/config.ts +21 -0
  60. package/agents-config/scripts/statusline/src/lib/context.ts +103 -0
  61. package/agents-config/scripts/statusline/src/lib/formatters.ts +426 -0
  62. package/agents-config/scripts/statusline/src/lib/git.ts +100 -0
  63. package/agents-config/scripts/statusline/src/lib/menu-factories.ts +224 -0
  64. package/agents-config/scripts/statusline/src/lib/presets.ts +177 -0
  65. package/agents-config/scripts/statusline/src/lib/render-pure.ts +516 -0
  66. package/agents-config/scripts/statusline/src/lib/types.ts +36 -0
  67. package/agents-config/scripts/statusline/src/lib/utils.ts +15 -0
  68. package/agents-config/scripts/statusline/statusline.config.free.json +79 -0
  69. package/agents-config/scripts/statusline/statusline.config.json +79 -0
  70. package/agents-config/scripts/statusline/test-with-fixtures.ts +37 -0
  71. package/agents-config/scripts/statusline/test.ts +20 -0
  72. package/agents-config/scripts/statusline/tsconfig.json +27 -0
  73. package/agents-config/scripts/tsconfig.json +27 -0
  74. package/agents-config/skills/{subagent-creator → agents-managers}/SKILL.md +47 -47
  75. package/agents-config/skills/{subagent-creator/references/subagents.md → agents-managers/references/agents.md} +45 -45
  76. package/agents-config/skills/{subagent-creator → agents-managers}/references/context-management.md +20 -20
  77. package/agents-config/skills/{subagent-creator → agents-managers}/references/debugging-agents.md +27 -27
  78. package/agents-config/skills/{subagent-creator → agents-managers}/references/error-handling-and-recovery.md +19 -19
  79. package/agents-config/skills/{subagent-creator → agents-managers}/references/evaluation-and-testing.md +29 -29
  80. package/agents-config/skills/{subagent-creator → agents-managers}/references/orchestration-patterns.md +5 -5
  81. package/agents-config/skills/{subagent-creator/references/writing-subagent-prompts.md → agents-managers/references/writing-agent-prompts.md} +23 -23
  82. package/agents-config/skills/codex-environment/SKILL.md +2 -0
  83. package/agents-config/skills/commit/SKILL.md +2 -0
  84. package/agents-config/skills/create-pr/SKILL.md +2 -0
  85. package/agents-config/skills/environments-manager/SKILL.md +271 -0
  86. package/agents-config/skills/environments-manager/examples/claude/.worktreeinclude +3 -0
  87. package/agents-config/skills/environments-manager/examples/claude/commands/dev.md +5 -0
  88. package/agents-config/skills/environments-manager/examples/claude/commands/lint.md +5 -0
  89. package/agents-config/skills/environments-manager/examples/claude/commands/test.md +5 -0
  90. package/agents-config/skills/environments-manager/examples/claude/commands/typecheck.md +5 -0
  91. package/agents-config/skills/environments-manager/examples/claude/settings.json +24 -0
  92. package/agents-config/skills/environments-manager/examples/codex/environments/environment.toml +29 -0
  93. package/agents-config/skills/environments-manager/examples/cursor/worktrees.json +3 -0
  94. package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-create.sh +96 -0
  95. package/agents-config/skills/environments-manager/examples/scripts/claude-worktree-remove.sh +66 -0
  96. package/agents-config/skills/environments-manager/examples/scripts/dev.sh +15 -0
  97. package/agents-config/skills/environments-manager/examples/scripts/worktree-down.sh +22 -0
  98. package/agents-config/skills/environments-manager/examples/scripts/worktree-up.sh +50 -0
  99. package/agents-config/skills/environments-manager/references/claude.md +156 -0
  100. package/agents-config/skills/environments-manager/references/codex.md +97 -0
  101. package/agents-config/skills/environments-manager/references/cursor.md +88 -0
  102. package/agents-config/skills/fix-pr-comments/SKILL.md +2 -0
  103. package/agents-config/skills/grill-me/SKILL.md +10 -0
  104. package/agents-config/skills/merge/SKILL.md +2 -0
  105. package/agents-config/skills/rules-manager/SKILL.md +191 -0
  106. package/agents-config/skills/rules-manager/references/agents-vs-claude.md +66 -0
  107. package/agents-config/skills/rules-manager/references/examples.md +117 -0
  108. package/agents-config/skills/skill-manager/SKILL.md +101 -0
  109. package/agents-config/skills/skill-manager/references/claude-code.md +81 -0
  110. package/agents-config/skills/skill-manager/references/codex.md +288 -0
  111. package/agents-config/skills/skill-manager/references/cursor.md +125 -0
  112. package/agents-config/skills/skill-manager/references/description-recommandation.md +97 -0
  113. package/agents-config/skills/skill-manager/scripts/inspect-description.ts +743 -0
  114. package/agents-config/skills/ultrathink/SKILL.md +2 -0
  115. package/dist/cli.js +581 -299
  116. package/package.json +1 -1
  117. package/agents-config/claude-config/scripts/statusline/data/.gitignore +0 -8
  118. package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
  119. package/agents-config/claude-config/scripts/statusline/docs/ARCHITECTURE.md +0 -166
  120. package/agents-config/claude-config/scripts/statusline/src/tests/spend-v2.test.ts +0 -306
  121. package/agents-config/skills/apex/SKILL.md +0 -261
  122. package/agents-config/skills/apex/scripts/setup-templates.sh +0 -100
  123. package/agents-config/skills/apex/scripts/update-progress.sh +0 -80
  124. package/agents-config/skills/apex/steps/step-00-init.md +0 -267
  125. package/agents-config/skills/apex/steps/step-00b-branch.md +0 -126
  126. package/agents-config/skills/apex/steps/step-00b-economy.md +0 -244
  127. package/agents-config/skills/apex/steps/step-00b-interactive.md +0 -153
  128. package/agents-config/skills/apex/steps/step-01-analyze.md +0 -361
  129. package/agents-config/skills/apex/steps/step-02-plan.md +0 -264
  130. package/agents-config/skills/apex/steps/step-03-execute.md +0 -239
  131. package/agents-config/skills/apex/steps/step-04-validate.md +0 -251
  132. package/agents-config/skills/apex/templates/00-context.md +0 -43
  133. package/agents-config/skills/apex/templates/01-analyze.md +0 -10
  134. package/agents-config/skills/apex/templates/02-plan.md +0 -10
  135. package/agents-config/skills/apex/templates/03-execute.md +0 -10
  136. package/agents-config/skills/apex/templates/04-validate.md +0 -10
  137. package/agents-config/skills/apex/templates/README.md +0 -176
  138. package/agents-config/skills/apex/templates/step-complete.md +0 -7
  139. package/agents-config/skills/claude-memory/SKILL.md +0 -293
  140. package/agents-config/skills/claude-memory/references/comprehensive-example.md +0 -175
  141. package/agents-config/skills/claude-memory/references/optimize-guide.md +0 -300
  142. package/agents-config/skills/claude-memory/references/project-patterns.md +0 -334
  143. package/agents-config/skills/claude-memory/references/prompting-techniques.md +0 -411
  144. package/agents-config/skills/claude-memory/references/rules-directory-guide.md +0 -298
  145. package/agents-config/skills/claude-memory/references/section-templates.md +0 -347
  146. package/agents-config/skills/fix-errors/SKILL.md +0 -61
  147. package/agents-config/skills/fix-grammar/SKILL.md +0 -59
  148. package/agents-config/skills/ralph-loop/SKILL.md +0 -117
  149. package/agents-config/skills/ralph-loop/scripts/setup.sh +0 -278
  150. package/agents-config/skills/ralph-loop/steps/step-00-init.md +0 -215
  151. package/agents-config/skills/ralph-loop/steps/step-01-interactive-prd.md +0 -366
  152. package/agents-config/skills/ralph-loop/steps/step-02-create-stories.md +0 -273
  153. package/agents-config/skills/ralph-loop/steps/step-03-finish.md +0 -245
  154. package/agents-config/skills/skill-creator/LICENSE.txt +0 -202
  155. package/agents-config/skills/skill-creator/SKILL.md +0 -421
  156. package/agents-config/skills/skill-creator/package.json +0 -5
  157. package/agents-config/skills/skill-creator/references/output-patterns.md +0 -82
  158. package/agents-config/skills/skill-creator/references/progressive-disclosure-patterns.md +0 -374
  159. package/agents-config/skills/skill-creator/references/prompting-integration.md +0 -363
  160. package/agents-config/skills/skill-creator/references/real-world-examples.md +0 -513
  161. package/agents-config/skills/skill-creator/references/script-patterns.md +0 -385
  162. package/agents-config/skills/skill-creator/references/workflows.md +0 -28
  163. package/agents-config/skills/skill-creator/references/xml-tag-guide.md +0 -606
  164. package/agents-config/skills/skill-creator/scripts/init-skill.ts +0 -214
  165. package/agents-config/skills/skill-creator/scripts/package-skill.ts +0 -146
  166. package/agents-config/skills/skill-creator/scripts/validate.ts +0 -138
  167. package/agents-config/skills/workflow-apex-free/SKILL.md +0 -261
  168. package/agents-config/skills/workflow-apex-free/scripts/setup-templates.sh +0 -100
  169. package/agents-config/skills/workflow-apex-free/scripts/update-progress.sh +0 -80
  170. package/agents-config/skills/workflow-apex-free/steps/step-00-init.md +0 -267
  171. package/agents-config/skills/workflow-apex-free/steps/step-00b-branch.md +0 -126
  172. package/agents-config/skills/workflow-apex-free/steps/step-00b-economy.md +0 -244
  173. package/agents-config/skills/workflow-apex-free/steps/step-00b-interactive.md +0 -153
  174. package/agents-config/skills/workflow-apex-free/steps/step-01-analyze.md +0 -361
  175. package/agents-config/skills/workflow-apex-free/steps/step-02-plan.md +0 -264
  176. package/agents-config/skills/workflow-apex-free/steps/step-03-execute.md +0 -239
  177. package/agents-config/skills/workflow-apex-free/steps/step-04-validate.md +0 -251
  178. package/agents-config/skills/workflow-apex-free/templates/00-context.md +0 -43
  179. package/agents-config/skills/workflow-apex-free/templates/01-analyze.md +0 -10
  180. package/agents-config/skills/workflow-apex-free/templates/02-plan.md +0 -10
  181. package/agents-config/skills/workflow-apex-free/templates/03-execute.md +0 -10
  182. package/agents-config/skills/workflow-apex-free/templates/04-validate.md +0 -10
  183. package/agents-config/skills/workflow-apex-free/templates/README.md +0 -176
  184. package/agents-config/skills/workflow-apex-free/templates/step-complete.md +0 -7
@@ -0,0 +1,240 @@
1
+ ---
2
+ description: Generate 20 abstract SVG logo variations with brainstorming and HTML showcase
3
+ arguments:
4
+ - name: app-name
5
+ description: Name of your app/product
6
+ required: true
7
+ - name: app-description
8
+ description: What does your app do? Who is it for?
9
+ required: true
10
+ ---
11
+
12
+ <objective>
13
+ Generate 20 unique, minimalist SVG logo variations inspired by iconic logos (Stripe, Google, Claude, ChatGPT, Dub, Excalidraw).
14
+
15
+ Output:
16
+
17
+ 1. `specs/logos/brainstorm.md` - Logo concepts and rationale
18
+ 2. `specs/logos/showcase-v1.html` - First batch of 20 logos (increment version for iterations)
19
+ </objective>
20
+
21
+ <context>
22
+ **App Name**: #$ARGUMENTS.app-name
23
+ **Description**: #$ARGUMENTS.app-description
24
+ </context>
25
+
26
+ <process>
27
+ ## Phase 0: Ask Clarifying Questions
28
+
29
+ **BEFORE doing anything**, ask the user these questions using AskUserQuestion:
30
+
31
+ 1. **Logo Style**:
32
+ - Lettermark (stylized letter like Stripe's "S")
33
+ - Abstract symbol (like Claude's icon)
34
+ - Geometric shape (like Airbnb)
35
+ - Wordmark (full name stylized)
36
+
37
+ 2. **Brand Personality**:
38
+ - Modern & Techy
39
+ - Playful & Friendly
40
+ - Professional & Corporate
41
+ - Bold & Edgy
42
+ - Minimal & Clean
43
+
44
+ 3. **Visual Inspiration** (can select multiple):
45
+ - Stripe (depth, gradients)
46
+ - Google (simple geometry)
47
+ - Linear (sharp, modern)
48
+ - Notion (clean, minimal)
49
+ - Discord (friendly, rounded)
50
+
51
+ Wait for user answers before proceeding.
52
+
53
+ ## Phase 1: Analyze & Brainstorm
54
+
55
+ 1. **Study the app name** with user preferences in mind:
56
+ - Break down letters, sounds, meaning
57
+ - Find visual metaphors (e.g., "Mail" → envelope, arrow, @ symbol)
58
+ - Match to selected brand personality
59
+
60
+ 2. **Apply user's style choices**:
61
+ - Use selected logo style as primary direction
62
+ - Incorporate visual inspiration references
63
+ - Align with brand personality
64
+
65
+ 3. **Create brainstorm.md**:
66
+
67
+ ```markdown
68
+ # Logo Brainstorm: [App Name]
69
+
70
+ ## Brand Analysis
71
+
72
+ - **Name meaning**: [What does the name evoke?]
73
+ - **Core function**: [What does the app do?]
74
+ - **Target vibe**: [Modern/Playful/Professional/Bold/Minimal]
75
+
76
+ ## Visual Concepts
77
+
78
+ ### Lettermark Ideas
79
+
80
+ 1. [First letter stylized - describe approach]
81
+ 2. [Initials combined - describe approach]
82
+ 3. [Full name simplified - describe approach]
83
+
84
+ ### Symbol Ideas
85
+
86
+ 1. [Abstract shape representing core function]
87
+ 2. [Geometric interpretation of name]
88
+ 3. [Metaphor visualization]
89
+
90
+ ### Style Direction
91
+
92
+ - **Colors**: Black/white primary (can add accent later)
93
+ - **Style**: Geometric, clean, SVG-optimized
94
+ - **Inspiration**: [Which logos to draw from]
95
+
96
+ ## 20 Variations Plan
97
+
98
+ 1-5: Lettermark variations
99
+ 6-10: Abstract symbols
100
+ 11-15: Geometric shapes
101
+ 16-20: Experimental/unique
102
+ ```
103
+
104
+ ## Phase 2: Generate HTML Showcase
105
+
106
+ 4. **Check for existing versions**:
107
+ - Look for `specs/logos/showcase-v*.html`
108
+ - Increment version number (v1, v2, v3...)
109
+ - If v1 exists, create v2, etc.
110
+
111
+ 5. **Create showcase-vX.html** with this structure:
112
+
113
+ ```html
114
+ <!DOCTYPE html>
115
+ <html lang="en">
116
+ <head>
117
+ <meta charset="UTF-8" />
118
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
119
+ <title>[App Name] - Logos</title>
120
+ <style>
121
+ * {
122
+ margin: 0;
123
+ padding: 0;
124
+ box-sizing: border-box;
125
+ }
126
+ body {
127
+ background: #fff;
128
+ }
129
+ .grid {
130
+ display: grid;
131
+ grid-template-columns: repeat(5, 1fr);
132
+ }
133
+ .cell {
134
+ aspect-ratio: 1;
135
+ border: 1px solid #e5e5e5;
136
+ display: flex;
137
+ align-items: center;
138
+ justify-content: center;
139
+ padding: 24px;
140
+ }
141
+ .cell svg {
142
+ width: 100%;
143
+ height: 100%;
144
+ max-width: 80px;
145
+ max-height: 80px;
146
+ }
147
+ </style>
148
+ </head>
149
+ <body>
150
+ <div class="grid">
151
+ <div class="cell">
152
+ <svg
153
+ viewBox="0 0 500 500"
154
+ fill="none"
155
+ xmlns="http://www.w3.org/2000/svg"
156
+ >
157
+ <!-- SVG content here - use #000 for fills -->
158
+ </svg>
159
+ </div>
160
+ <!-- ... 19 more cells -->
161
+ </div>
162
+ </body>
163
+ </html>
164
+ ```
165
+
166
+ ## Phase 3: Design 20 Logos
167
+
168
+ 6. **Generate each SVG** following these rules:
169
+ - ViewBox: `0 0 500 500`
170
+ - Colors: Black (`#000`) on white background
171
+ - No gradients in base version
172
+ - Clean paths, minimal complexity
173
+ - Must work at 16px and 512px
174
+
175
+ 7. **Logo categories** (adapt based on user's style choice):
176
+ - **1-5**: Primary style (user's selected logo style)
177
+ - **6-10**: Secondary variations
178
+ - **11-15**: Alternative interpretations
179
+ - **16-20**: Experimental (unique, creative approaches)
180
+
181
+ 8. **Document in brainstorm.md** (not in HTML):
182
+ - Each logo's concept and rationale
183
+ - Why it fits the brand
184
+
185
+ ## Phase 4: Iteration Support
186
+
187
+ 9. **After generating**, ask user:
188
+
189
+ > "Which logos do you like? I can create v2 with variations of your favorites."
190
+
191
+ 10. **For next iteration**: - Note favorites from previous version - Create `showcase-v2.html` with 20 new variations inspired by favorites - Each version builds on user feedback
192
+ </process>
193
+
194
+ <constraints>
195
+ **SVG RULES**:
196
+ - Pure SVG, no raster images
197
+ - Black (`#000`) fills only
198
+ - Simple paths, no complex effects
199
+ - Must scale from favicon to billboard
200
+
201
+ **DESIGN RULES**:
202
+
203
+ - Inspired by: Stripe, Google, Claude, ChatGPT, Dub
204
+ - Minimalist, geometric, modern
205
+ - Recognizable at small sizes
206
+ - No text (unless lettermark)
207
+
208
+ **HTML RULES**:
209
+
210
+ - Light mode only (white background)
211
+ - 5x4 grid of logos
212
+ - NO titles, NO descriptions, NO text
213
+ - Just logos in cells separated by borders
214
+ - Clean, minimal presentation
215
+
216
+ **OUTPUT RULES**:
217
+
218
+ - Create `specs/logos/` directory first
219
+ - Save `brainstorm.md` with concepts and rationale
220
+ - Save `showcase-vX.html` with just the logo grid
221
+ - ONE HTML file per version
222
+ </constraints>
223
+
224
+ <output>
225
+ **Files created**:
226
+ 1. `specs/logos/brainstorm.md` - Logo concepts and rationale (all text here)
227
+ 2. `specs/logos/showcase-v1.html` - Clean 5x4 grid of logos (no text)
228
+
229
+ **HTML structure**:
230
+
231
+ - 5x4 grid (20 logos)
232
+ - Each cell: just the SVG, no text
233
+ - Light gray borders between cells
234
+ - White background
235
+
236
+ **Iteration flow**:
237
+
238
+ - v1: Initial 20 based on user preferences
239
+ - v2+: Refinements based on user favorites
240
+ </output>
@@ -0,0 +1,195 @@
1
+ ---
2
+ description: Create a lean Product Requirements Document through interactive discovery conversation
3
+ ---
4
+
5
+ <objective>
6
+ Create a focused Product Requirements Document (PRD) for an MVP through iterative conversation.
7
+
8
+ Guide the user through defining product vision, user personas, core features, and success metrics. Keep the PRD minimal and focused on essential features that solve real problems. This is the FOUNDATION - the PRD comes FIRST, then ARCHI, then implementation.
9
+ </objective>
10
+
11
+ <process>
12
+ ## Phase 1: Information Discovery
13
+
14
+ 1. **Do NOT write anything until you have answers to ALL 5 areas below**
15
+
16
+ Ask questions progressively (2-3 at a time, not all at once) until you have complete clarity:
17
+
18
+ ### Area 1: Problem & Vision
19
+ - What problem does this product solve?
20
+ - Who experiences this problem most acutely?
21
+ - What makes this solution unique or different?
22
+ - What does success look like?
23
+
24
+ ### Area 2: Target Users
25
+ - Who are the primary users? (1-3 personas max)
26
+ - What are their key characteristics? (role, context, pain points)
27
+ - What motivates them to use this product?
28
+ - What would make them stop using it?
29
+
30
+ ### Area 3: Core Features
31
+ - What is the ONE thing this product must do? (critical feature)
32
+ - What 2-3 features support that core capability?
33
+ - What features are nice-to-have but not critical for MVP?
34
+ - How will users accomplish their primary goal?
35
+
36
+ ### Area 4: Success Metrics
37
+ - How will you measure if this product is working?
38
+ - What user behavior indicates success?
39
+ - What business metrics matter most?
40
+
41
+ ### Area 5: Constraints & Scope
42
+ - What technical constraints exist?
43
+ - What timeline are you working with?
44
+ - What resources are available?
45
+ - What are you explicitly NOT building in v1?
46
+
47
+ ## Phase 2: Verify Completeness
48
+
49
+ 2. **Before generating PRD**, confirm you have:
50
+
51
+ - ✅ Core problem clearly defined with specific user experiencing it
52
+ - ✅ 1-3 specific personas with roles, pain points, motivations
53
+ - ✅ THE ONE critical feature + 2-4 supporting must-have features
54
+ - ✅ Specific, measurable metrics (not vague goals)
55
+ - ✅ Clear list of what is NOT being built in v1
56
+ - ✅ Timeline and constraints understood
57
+
58
+ **IF ANY MISSING**: Ask more questions first. Do NOT generate PRD with gaps.
59
+
60
+ ## Phase 3: Generate PRD
61
+
62
+ 3. **Create PRD.md** with this structure:
63
+
64
+ ```markdown
65
+ # Product Requirements Document: [Product Name]
66
+
67
+ ## Product Vision
68
+
69
+ **Problem Statement**
70
+ [2-3 sentences describing the core problem]
71
+
72
+ **Solution**
73
+ [2-3 sentences describing how this product solves it]
74
+
75
+ **Success Criteria**
76
+ - [Metric 1: quantitative measure]
77
+ - [Metric 2: user behavior indicator]
78
+ - [Metric 3: business outcome]
79
+
80
+ ## Target Users
81
+
82
+ ### Primary Persona: [Name]
83
+ - **Role**: [User role/context]
84
+ - **Pain Points**:
85
+ - [Pain point 1]
86
+ - [Pain point 2]
87
+ - **Motivations**: [What drives them]
88
+ - **Goals**: [What they want to accomplish]
89
+
90
+ ### Secondary Persona: [Name] (if applicable)
91
+ - **Role**: [User role/context]
92
+ - **Pain Points**: [Key challenges]
93
+ - **Motivations**: [What drives adoption]
94
+
95
+ ## Core Features (MVP)
96
+
97
+ ### Must-Have Features
98
+
99
+ #### 1. [Feature Name]
100
+ **Description**: [What this feature does - 2-3 sentences]
101
+ **User Value**: [Why this matters to users]
102
+ **Success Metric**: [How to measure if working]
103
+
104
+ #### 2. [Feature Name]
105
+ **Description**: [Feature explanation]
106
+ **User Value**: [Benefit to users]
107
+ **Success Metric**: [Measurement criteria]
108
+
109
+ #### 3. [Feature Name]
110
+ **Description**: [Feature explanation]
111
+ **User Value**: [Benefit to users]
112
+ **Success Metric**: [Measurement criteria]
113
+
114
+ ### Should-Have Features (Post-MVP)
115
+ - [Feature 1]: [Brief description]
116
+ - [Feature 2]: [Brief description]
117
+
118
+ ## User Flows
119
+
120
+ ### Primary User Journey
121
+ 1. [Step 1: User action]
122
+ 2. [Step 2: User action]
123
+ 3. [Step 3: User action]
124
+ 4. [Step 4: Outcome achieved]
125
+
126
+ ## Out of Scope (v1)
127
+
128
+ Explicitly NOT building in MVP:
129
+ - [Feature/capability 1]
130
+ - [Feature/capability 2]
131
+ - [Feature/capability 3]
132
+
133
+ ## Open Questions
134
+ - [Question 1 needing resolution]
135
+ - [Question 2 requiring validation]
136
+
137
+ ## Success Metrics
138
+
139
+ **Primary Metrics**:
140
+ - [Metric 1]: [Target/goal]
141
+ - [Metric 2]: [Target/goal]
142
+
143
+ **Secondary Metrics**:
144
+ - [Metric 3]: [Target/goal]
145
+
146
+ ## Timeline & Milestones
147
+ - **MVP Completion**: [Target timeframe]
148
+ - **First User Testing**: [Target]
149
+ - **Launch**: [Target]
150
+ ```
151
+
152
+ ## Phase 4: Save and Next Steps
153
+
154
+ 4. **Save PRD.md** in project directory
155
+
156
+ 5. **Suggest next steps**:
157
+ > "PRD created! Next steps in order:
158
+ > 1. `/prompts/saas-create-architecture` - Design technical architecture
159
+ > 2. `/prompts/saas-define-pricing` - Define pricing strategy
160
+ > 3. `/prompts/saas-create-landing-copy` - Create landing page copy"
161
+ </process>
162
+
163
+ <constraints>
164
+ **DISCOVERY RULES**:
165
+ - NEVER write PRD until ALL 5 information areas are covered
166
+ - Ask 2-3 questions at a time, not all at once
167
+ - Dig deeper based on responses - don't accept vague answers
168
+ - Push for specific metrics, not goals like "increase engagement"
169
+
170
+ **MVP FOCUS**:
171
+ - Maximum 3-5 must-have features
172
+ - If user lists 10 features, help them prioritize to 3-5
173
+ - "Out of Scope" section is critical - define boundaries clearly
174
+ - Post-MVP features go in "Should-Have" section
175
+
176
+ **OUTPUT RULES**:
177
+ - Target 2-3 pages max, not a 20-page spec
178
+ - Every feature needs Description, User Value, Success Metric
179
+ - Be specific and actionable, not vague
180
+
181
+ **CONVERSATION STYLE**:
182
+ - Keep it conversational, not interrogation
183
+ - Adapt questions based on their industry/context
184
+ - Help users think through trade-offs
185
+ </constraints>
186
+
187
+ <success_criteria>
188
+ - All 5 information areas have complete answers
189
+ - 1-3 specific personas defined with pain points
190
+ - 3-5 must-have features clearly described
191
+ - Each feature has measurable success metric
192
+ - Out of Scope section explicitly defines boundaries
193
+ - PRD saved as PRD.md in project directory
194
+ - Next steps provided for workflow continuation
195
+ </success_criteria>
@@ -0,0 +1,240 @@
1
+ ---
2
+ description: Generate implementation task files from PRD and Architecture documents
3
+ ---
4
+
5
+ <objective>
6
+ Generate a structured set of implementation task files from existing PRD and Architecture documents.
7
+
8
+ Create well-scoped, coherent tasks that an AI agent can execute autonomously. Each task represents 1-3 hours of focused work with clear deliverables and success criteria. This comes AFTER PRD and ARCHI - both must exist first.
9
+ </objective>
10
+
11
+ <context>
12
+ Current project: !`ls -la`
13
+ Existing specs folder: !`ls specs/ 2>/dev/null || echo "No specs folder"`
14
+ Package.json: !`cat package.json 2>/dev/null | head -20 || echo "No package.json"`
15
+ </context>
16
+
17
+ <process>
18
+ ## Phase 1: Understanding
19
+
20
+ 1. **Ask for project location**:
21
+ > "Where is your project located? Are you starting from scratch or using a boilerplate?"
22
+
23
+ 2. **Explore existing codebase**:
24
+ - Read `package.json` for dependencies
25
+ - Check folder structure (`app/`, `src/`, `components/`)
26
+ - Identify what's already implemented
27
+
28
+ 3. **Document current state**:
29
+ - ✅ Already implemented: [list]
30
+ - 🚧 Partially implemented: [list]
31
+ - ❌ Not yet built: [list]
32
+
33
+ 4. **Ask for PRD location**, then read completely:
34
+ - Extract all features
35
+ - Note user flows
36
+ - Identify MVP scope vs post-MVP
37
+
38
+ 5. **Ask for ARCHI location**, then read completely:
39
+ - Note all technology choices
40
+ - Understand patterns to follow
41
+ - Identify integration points
42
+
43
+ ## Phase 2: Deep Analysis
44
+
45
+ 6. **Map features to implementation**:
46
+ - [Feature 1] → Database models, UI, API, validation needed
47
+ - [Feature 2] → Real-time, file storage, background jobs needed
48
+ - [Feature 3] → Auth, permissions, notifications needed
49
+
50
+ 7. **Create dependency graph**:
51
+ ```
52
+ Foundation Layer (Database, Auth, Base UI)
53
+
54
+ Core Features Layer (Primary user functionality)
55
+
56
+ Integration Layer (Third-party services)
57
+
58
+ Polish Layer (Error handling, optimization)
59
+ ```
60
+
61
+ 8. **Identify what can be parallelized** vs what is sequential
62
+
63
+ ## Phase 3: Verify Before Creating
64
+
65
+ 9. **Confirm checklist complete**:
66
+ - ✅ Codebase understood
67
+ - ✅ All PRD features extracted
68
+ - ✅ All ARCHI decisions understood
69
+ - ✅ Dependencies mapped
70
+ - ✅ Foundation identified
71
+ - ✅ Integration points clear
72
+ - ✅ Success criteria defined
73
+
74
+ **IF ANY MISSING**: Do more analysis first. Do NOT create tasks with gaps.
75
+
76
+ ## Phase 4: Generate Task Files
77
+
78
+ 10. **Create folder structure**:
79
+ ```bash
80
+ mkdir -p specs/01-mvp
81
+ ```
82
+
83
+ 11. **Create individual task files** in `specs/01-mvp/`:
84
+ - Naming: `01-task-name.md`, `02-task-name.md`
85
+ - Use 2-digit numbering with kebab-case names
86
+
87
+ 12. **Task file structure**:
88
+
89
+ ```markdown
90
+ # Task [Number]: [Action-Oriented Title]
91
+
92
+ ## Context
93
+ [Connection to PRD feature and overall vision]
94
+
95
+ ## Scope
96
+ [Specific deliverables for this task]
97
+
98
+ ## Implementation Details
99
+
100
+ ### Files to Create/Modify
101
+ - `path/to/file.ts` - [Purpose]
102
+
103
+ ### Key Functionality
104
+ - [What the code should do]
105
+
106
+ ### Technologies Used
107
+ - [From ARCHI with how it's used]
108
+
109
+ ### Architectural Patterns
110
+ [Patterns from ARCHI to follow]
111
+
112
+ ## Success Criteria
113
+ - [ ] [Testable outcome 1]
114
+ - [ ] [Testable outcome 2]
115
+ - [ ] [Testable outcome 3]
116
+
117
+ ## Testing & Validation
118
+
119
+ ### Manual Testing Steps
120
+ 1. [Step]
121
+ 2. [Step]
122
+
123
+ ### Edge Cases
124
+ - [Edge case]
125
+
126
+ ## Dependencies
127
+
128
+ **Must complete first**:
129
+ - Task [N]: [Name]
130
+
131
+ **Blocks**:
132
+ - Task [X]: [Name]
133
+
134
+ ## Related Documentation
135
+ - **PRD**: [Reference]
136
+ - **ARCHI**: [Reference]
137
+
138
+ ---
139
+ **Estimated Time**: [1-3 hours]
140
+ **Phase**: [Foundation / Core / Integration / Polish]
141
+ ```
142
+
143
+ 13. **Create README overview** at `specs/README.md`:
144
+
145
+ ```markdown
146
+ # Implementation Tasks Overview
147
+
148
+ ## Project Summary
149
+ **From PRD**: [Summary]
150
+ **Tech Stack**: [From ARCHI]
151
+ **Current State**: [What exists]
152
+
153
+ ## Task Execution Guidelines
154
+ - Read complete task before starting
155
+ - Check dependencies are met
156
+ - Follow ARCHI patterns
157
+ - Validate against success criteria
158
+
159
+ ## MVP Tasks (specs/01-mvp/)
160
+
161
+ ### Phase 1: Foundation
162
+ - [ ] `01-name.md` - [Description]
163
+ - [ ] `02-name.md` - [Description]
164
+
165
+ ### Phase 2: Core Features
166
+ - [ ] `03-name.md` - [Description]
167
+ - [ ] `04-name.md` - [Description]
168
+
169
+ ### Phase 3: Integration
170
+ - [ ] `05-name.md` - [Description]
171
+
172
+ ### Phase 4: Polish
173
+ - [ ] `06-name.md` - [Description]
174
+
175
+ ## Dependency Map
176
+ [Visual dependency graph]
177
+
178
+ ## PRD Coverage
179
+ - ✅ [Feature]: Task [N]
180
+ - ✅ [Feature]: Task [N]
181
+
182
+ ## Total Estimated Time: [X-Y hours]
183
+ ```
184
+ </process>
185
+
186
+ <constraints>
187
+ **TASK SIZING**:
188
+
189
+ ❌ **Too Small**:
190
+ - "Add TypeScript type"
191
+ - "Create button component"
192
+ - "Add validation to field"
193
+
194
+ ❌ **Too Large**:
195
+ - "Implement complete auth system"
196
+ - "Build entire dashboard"
197
+
198
+ ✅ **Just Right** (1-3 hours):
199
+ - "Create user authentication flow with email/password and session management"
200
+ - "Build dashboard layout with navigation and responsive design"
201
+ - "Implement checkout with Stripe integration and webhooks"
202
+
203
+ **OUTPUT FORMAT**:
204
+ - NEVER create single document with all tasks
205
+ - ALWAYS create individual files in `specs/01-mvp/`
206
+ - ALWAYS create `specs/README.md` overview
207
+ - Use 2-digit numbering (01-, 02-, 03-)
208
+
209
+ **QUALITY**:
210
+ - Every task links to PRD feature
211
+ - Every task follows ARCHI patterns
212
+ - Every task has testable success criteria
213
+ - Every task has clear dependencies
214
+ </constraints>
215
+
216
+ <output>
217
+ **Created files**:
218
+ - `specs/README.md` - Overview with dependency map
219
+ - `specs/01-mvp/01-name.md` through `specs/01-mvp/[N]-name.md` - Individual task files
220
+
221
+ **Each task file contains**:
222
+ - Context connecting to PRD
223
+ - Specific scope and deliverables
224
+ - Files to create/modify
225
+ - Technologies from ARCHI
226
+ - Testable success criteria
227
+ - Dependencies (before and blocks)
228
+ - Time estimate
229
+ </output>
230
+
231
+ <success_criteria>
232
+ - All PRD features mapped to specific tasks
233
+ - All ARCHI decisions reflected in task patterns
234
+ - Tasks ordered correctly by dependencies
235
+ - Each task is 1-3 hours of work
236
+ - Each task has clear success criteria
237
+ - Individual files created in `specs/01-mvp/`
238
+ - README created with complete overview
239
+ - No orphan tasks (everything connected)
240
+ </success_criteria>