aiblueprint-cli 1.4.81 → 1.4.83

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 (90) hide show
  1. package/README.md +25 -18
  2. package/agents-config/claude-config/scripts/statusline/data/.gitignore +8 -0
  3. package/agents-config/claude-config/scripts/statusline/data/.gitkeep +0 -0
  4. package/agents-config/claude-config/scripts/statusline/defaults.json +10 -10
  5. package/agents-config/claude-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
  6. package/agents-config/claude-config/scripts/statusline/src/index.ts +100 -9
  7. package/agents-config/claude-config/scripts/statusline/src/lib/config.ts +28 -2
  8. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
  9. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
  10. package/agents-config/claude-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
  11. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
  12. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
  13. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
  14. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
  15. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
  16. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
  17. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
  18. package/agents-config/claude-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
  19. package/agents-config/claude-config/scripts/statusline/src/lib/presets.ts +13 -13
  20. package/agents-config/claude-config/scripts/statusline/statusline.config.free.json +4 -1
  21. package/agents-config/claude-config/scripts/statusline/statusline.config.json +44 -23
  22. package/agents-config/scripts/statusline/data/.gitignore +8 -0
  23. package/agents-config/scripts/statusline/data/.gitkeep +0 -0
  24. package/agents-config/scripts/statusline/defaults.json +10 -10
  25. package/agents-config/scripts/statusline/src/commands/interactive-config.ts +118 -6
  26. package/agents-config/scripts/statusline/src/index.ts +100 -9
  27. package/agents-config/scripts/statusline/src/lib/config.ts +28 -2
  28. package/agents-config/scripts/statusline/src/lib/features/limits/commands/weekly-analysis.ts +108 -0
  29. package/agents-config/scripts/statusline/src/lib/features/limits/index.ts +164 -0
  30. package/agents-config/scripts/statusline/src/lib/features/limits/types.ts +15 -0
  31. package/agents-config/scripts/statusline/src/lib/features/spend/commands/migrate-to-sqlite.ts +136 -0
  32. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-day.ts +79 -0
  33. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-month.ts +66 -0
  34. package/agents-config/scripts/statusline/src/lib/features/spend/commands/spend-project.ts +85 -0
  35. package/agents-config/scripts/statusline/src/lib/features/spend/database.ts +395 -0
  36. package/agents-config/scripts/statusline/src/lib/features/spend/index.ts +178 -0
  37. package/agents-config/scripts/statusline/src/lib/features/spend/payload-logger.ts +163 -0
  38. package/agents-config/scripts/statusline/src/lib/features/spend/types.ts +37 -0
  39. package/agents-config/scripts/statusline/src/lib/presets.ts +13 -13
  40. package/agents-config/scripts/statusline/statusline.config.free.json +4 -1
  41. package/agents-config/scripts/statusline/statusline.config.json +44 -23
  42. package/agents-config/skills/{agents-managers → agents-manager}/SKILL.md +1 -1
  43. package/agents-config/skills/{agents-managers → agents-manager}/references/writing-agent-prompts.md +1 -1
  44. package/agents-config/skills/apex/SKILL.md +61 -0
  45. package/agents-config/skills/appstore-connect/SKILL.md +2 -2
  46. package/agents-config/skills/{appstore-connect-setup/SKILL.md → appstore-connect/references/setup.md} +3 -6
  47. package/agents-config/skills/environments-manager/SKILL.md +6 -6
  48. package/agents-config/skills/environments-manager/examples/{claude/commands/dev.md → skills/dev/SKILL.md} +2 -1
  49. package/agents-config/skills/environments-manager/examples/{claude/commands/lint.md → skills/lint/SKILL.md} +2 -1
  50. package/agents-config/skills/environments-manager/examples/{claude/commands/test.md → skills/test/SKILL.md} +2 -1
  51. package/agents-config/skills/environments-manager/examples/{claude/commands/typecheck.md → skills/typecheck/SKILL.md} +2 -1
  52. package/agents-config/skills/environments-manager/references/claude.md +13 -9
  53. package/agents-config/skills/environments-manager/references/cursor.md +2 -2
  54. package/agents-config/skills/ios-testflight/SKILL.md +2 -2
  55. package/agents-config/{commands/prompts/prompt.md → skills/prompt/SKILL.md} +5 -0
  56. package/agents-config/{commands/prompts/tools.md → skills/tools/SKILL.md} +1 -0
  57. package/agents-config/skills/ultrathink/SKILL.md +1 -1
  58. package/agents-config/skills/use-style/SKILL.md +7 -4
  59. package/agents-config/skills/use-style/examples/luma.html +221 -0
  60. package/agents-config/skills/use-style/examples/testspirite.html +340 -0
  61. package/agents-config/skills/use-style/styles/ios-app.md +350 -0
  62. package/agents-config/skills/use-style/styles/luma.md +422 -0
  63. package/agents-config/skills/use-style/styles/new-york-times.md +1 -1
  64. package/agents-config/skills/use-style/styles/split-auth.md +2 -2
  65. package/agents-config/skills/use-style/styles/testspirite.md +397 -0
  66. package/dist/cli.js +56 -118
  67. package/package.json +1 -1
  68. package/agents-config/claude-config/scripts/.claude/commands/fix-on-my-computer.md +0 -87
  69. package/agents-config/commands/prompts/create-vitejs-app.md +0 -272
  70. package/agents-config/commands/prompts/nextjs-add-prisma-db.md +0 -136
  71. package/agents-config/commands/prompts/nextjs-setup-better-auth.md +0 -173
  72. package/agents-config/commands/prompts/nextjs-setup-project.md +0 -200
  73. package/agents-config/commands/prompts/saas-challenge-idea.md +0 -135
  74. package/agents-config/commands/prompts/saas-create-architecture.md +0 -242
  75. package/agents-config/commands/prompts/saas-create-headline.md +0 -132
  76. package/agents-config/commands/prompts/saas-create-landing-copywritting.md +0 -267
  77. package/agents-config/commands/prompts/saas-create-legals-docs.md +0 -176
  78. package/agents-config/commands/prompts/saas-create-logos.md +0 -240
  79. package/agents-config/commands/prompts/saas-create-prd.md +0 -195
  80. package/agents-config/commands/prompts/saas-create-tasks.md +0 -240
  81. package/agents-config/commands/prompts/saas-define-pricing.md +0 -293
  82. package/agents-config/commands/prompts/saas-find-domain-name.md +0 -190
  83. package/agents-config/commands/prompts/saas-implement-landing-page.md +0 -257
  84. package/agents-config/commands/prompts/setup-tmux.md +0 -160
  85. /package/agents-config/skills/{agents-managers → agents-manager}/references/agents.md +0 -0
  86. /package/agents-config/skills/{agents-managers → agents-manager}/references/context-management.md +0 -0
  87. /package/agents-config/skills/{agents-managers → agents-manager}/references/debugging-agents.md +0 -0
  88. /package/agents-config/skills/{agents-managers → agents-manager}/references/error-handling-and-recovery.md +0 -0
  89. /package/agents-config/skills/{agents-managers → agents-manager}/references/evaluation-and-testing.md +0 -0
  90. /package/agents-config/skills/{agents-managers → agents-manager}/references/orchestration-patterns.md +0 -0
@@ -1,195 +0,0 @@
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>
@@ -1,240 +0,0 @@
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>