protovibe 1.1.9 → 1.1.10

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 (3) hide show
  1. package/README.md +32 -17
  2. package/dist/index.mjs +26 -14
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -38,19 +38,19 @@ ProtoVibe is a CLI tool and **must be installed globally** to work:
38
38
  npm install -g protovibe
39
39
  ```
40
40
 
41
- > **Note:** The npm page shows `npm i protovibe` but that is a local install the `protovibe` command will not be found. Always use the `-g` flag.
41
+ > **Note:** The npm page shows `npm i protovibe` that is a local install and the `protovibe` command will not be found. Always use the `-g` flag.
42
42
 
43
43
  ProtoVibe checks for newer versions on every run and updates itself automatically. You only ever need to install it once.
44
44
 
45
45
  ### No install? Use npx
46
46
 
47
- If you don't want a global install, you can run ProtoVibe directly with npx from any directory:
47
+ Run ProtoVibe directly from any directory without a permanent install:
48
48
 
49
49
  ```bash
50
50
  npx protovibe
51
51
  ```
52
52
 
53
- This always runs the latest version without installing anything permanently.
53
+ This always fetches and runs the latest version on the fly.
54
54
 
55
55
  ---
56
56
 
@@ -145,28 +145,43 @@ Choose **1** to begin:
145
145
  Claude asks: *"Describe the idea for your project."*
146
146
  Speak naturally. No format required.
147
147
 
148
- ### Stage 2 — Deep Requirements Probing
149
- Claude asks grouped questions covering:
150
- - Who are the target users?
151
- - What does each feature do exactly?
152
- - Step-by-step user flow
153
- - Platform (web, mobile, desktop, CLI)?
154
- - Authentication — required? What type?
155
- - Data — what's created, stored, deleted? Real-time?
156
- - Third-party integrations?
157
- - Constraints — performance, offline, accessibility, timeline?
148
+ ### Stage 2 — Interactive Requirements Probing
158
149
 
159
- Claude keeps probing until everything is clear. Then it presents a full structured summary and asks you to confirm before moving on.
150
+ Claude first silently analyses your idea, then asks requirements questions as **interactive cards** you click an option or type your own. No long-form typing required.
151
+
152
+ Questions are asked in 3 batches:
153
+
154
+ **Batch 1 — Core context**
155
+ - Who are the primary users?
156
+ - What platform is this for? *(Web, Mobile, Desktop, CLI)*
157
+ - Is user authentication required?
158
+ - How would you describe the scale at launch?
159
+
160
+ **Batch 2 — Features & data**
161
+ - What data does this app create or store? *(multi-select)*
162
+ - Any third-party integrations needed? *(multi-select)*
163
+ - Does the app need real-time features?
164
+
165
+ **Batch 3 — Constraints**
166
+ - Do you have a preferred tech stack?
167
+ - What is your timeline for an MVP?
168
+ - Any specific requirements? *(multi-select)*
169
+
170
+ Options are generated from your idea — not generic defaults. Each question has a recommended answer and an "Other" option to type anything.
171
+
172
+ If anything is still unclear after your answers, Claude asks targeted follow-up questions the same way. Then it presents a full structured summary and asks you to confirm before moving on.
160
173
 
161
174
  ### Stage 3 — Architecture Options
175
+
162
176
  Claude proposes **3 distinct architectural approaches**, each with:
163
177
  - Full tech stack (frontend, backend, database, auth, hosting)
164
178
  - How the system works end-to-end
165
179
  - Tradeoffs — what it's best for and what it sacrifices
166
- - One option marked **Recommended** with a specific reason
180
+
181
+ Then presents them as **clickable cards** — pick one, or choose "Custom approach" to describe your own. The recommended option is labeled clearly.
167
182
 
168
183
  ### Stage 4 — Option Confirmation
169
- Pick one of the 3 options, or describe your own. If you go custom, Claude evaluates it against your requirements and flags any risks before proceeding.
184
+ If you pick a custom approach, Claude evaluates it against your requirements and flags any risks before proceeding.
170
185
 
171
186
  ### Stage 5 — Specs File
172
187
  Claude asks for confirmation, then writes `specs.md` in your project root containing:
@@ -194,7 +209,7 @@ These are available at any time inside Claude Code during or after the workflow:
194
209
 
195
210
  | Command | What it does |
196
211
  |---|---|
197
- | `/takeover` | Exit the ProtoVibe workflow. Claude summarises everything captured so far (idea, requirements, architecture, files created) and then works normally with no constraints. |
212
+ | `/takeover` | Exit the ProtoVibe workflow. Claude summarises everything captured so far and works normally with no constraints. |
198
213
  | `/summarise` | Plain-language summary of progress — what's been decided, what's been done, and what comes next. Capped at 10 bullets. |
199
214
  | `/protovibe` | Restart the workflow from Stage 0. |
200
215
 
package/dist/index.mjs CHANGED
@@ -223,21 +223,29 @@ Your goal is to achieve complete, end-to-end clarity on this product before movi
223
223
 
224
224
  **How to probe:**
225
225
 
226
- Ask your questions in **grouped batches** \u2014 not one at a time. Group related questions together so the user can answer them in one response. After receiving answers, analyse them carefully. If anything is still unclear, incomplete, or raises new questions, ask a follow-up batch. Repeat until you have full clarity.
226
+ First, silently analyse the user's idea thoroughly. Identify the most likely platform, user type, auth needs, data requirements, and integrations based on what they described. Use this analysis to generate smart, contextual options for each question \u2014 options should reflect what makes sense for their specific idea, not generic defaults.
227
227
 
228
- You must cover all of the following \u2014 do not move on until every point is resolved:
228
+ Then ask your questions using the **AskUserQuestion tool** in 3 batches. Do not ask as plain text lists \u2014 always use the tool so the user can click options or type their own answer.
229
229
 
230
- - **Who** are the target users? (be specific \u2014 demographics, roles, technical level)
231
- - **What** does each core feature actually do? (exact behavior, not just feature names)
232
- - **User Flow** \u2014 how does a user move through the product from first open to completing each core action? Walk through every key path.
233
- - **Platform** \u2014 web, mobile, desktop, CLI, or multiple? Any specific device or OS constraints?
234
- - **Auth** \u2014 is login required? What type? (email, social, SSO?) Any roles or permission levels?
235
- - **Data** \u2014 what data is created, stored, read, or deleted? Any real-time or sync requirements?
236
- - **Integrations** \u2014 any third-party services, APIs, payment systems, or external tools?
237
- - **Constraints** \u2014 performance targets, offline support, accessibility needs, team size, timeline, existing tech choices the user wants to keep?
238
- - **Edge cases** \u2014 what happens when things go wrong? Any critical failure states to handle?
230
+ **Batch 1 \u2014 Core context** (call AskUserQuestion with 4 questions):
231
+ 1. "Who are the primary users?" \u2014 generate 3 specific, idea-relevant options (e.g. "Freelance designers", "Small business owners", "Developer teams") \u2014 user can type their own via Other
232
+ 2. "What platform is this for?" \u2014 options: Web app, Mobile app (iOS/Android), Desktop app, CLI tool \u2014 mark the most likely one as recommended based on the idea
233
+ 3. "Is user authentication required?" \u2014 options: Yes \u2013 email & password, Yes \u2013 social login (Google/GitHub/etc.), No login needed, Multiple auth methods
234
+ 4. "How would you describe the scale at launch?" \u2014 options: Personal / side project, Small team (under 20 users), Public product (hundreds of users), Enterprise / large scale
239
235
 
240
- **There is no question limit.** If the user's answers raise new questions, ask them. Keep going until you have the full picture.
236
+ **Batch 2 \u2014 Features & data** (call AskUserQuestion with 3 questions):
237
+ 1. "What data does this app create or store?" \u2014 generate 3\u20134 idea-relevant options (e.g. "User profiles & preferences", "Files or media uploads", "Transactions or records", "Posts or content") \u2014 use multiSelect: true
238
+ 2. "Any third-party integrations needed?" \u2014 generate idea-relevant options (e.g. "Stripe \u2013 payments", "SendGrid \u2013 email", "OpenAI \u2013 AI features", "None for now") \u2014 use multiSelect: true
239
+ 3. "Does the app need real-time features?" \u2014 options: Yes \u2013 live updates or notifications, Yes \u2013 real-time collaboration, No \u2013 standard request/response is fine, Not sure yet
240
+
241
+ **Batch 3 \u2014 Constraints** (call AskUserQuestion with 3 questions):
242
+ 1. "Do you have a preferred tech stack?" \u2014 generate 3 idea-appropriate stack options (e.g. "Next.js full-stack", "React + Node.js", "Python + FastAPI") + "No preference \u2013 recommend something" marked as recommended
243
+ 2. "What is your timeline for an MVP?" \u2014 options: ASAP / this week, 2\u20134 weeks, 1\u20133 months, No hard deadline
244
+ 3. "Any specific requirements?" \u2014 options: Offline support needed, Accessibility (WCAG) required, Mobile-first design, None of these \u2014 use multiSelect: true
245
+
246
+ After collecting all answers, analyse them carefully. If any critical area is still unclear (feature behaviour, user flow details, edge cases), call AskUserQuestion again with targeted follow-up questions. Keep going until you have the full picture \u2014 there is no question limit.
247
+
248
+ **There is no question limit.** If the user's answers raise new questions, use AskUserQuestion again. Keep going until you have full clarity.
241
249
 
242
250
  When you are confident everything is fully clear, present a complete structured summary:
243
251
 
@@ -274,9 +282,13 @@ Analyze the confirmed requirements carefully. Propose exactly **3 distinct archi
274
282
 
275
283
  After presenting all 3, clearly mark one as **Recommended** and explain specifically why it fits this user's requirements better than the others.
276
284
 
277
- Then ask:
285
+ Then call **AskUserQuestion** with a single question:
278
286
 
279
- > "Which option would you like to go with? You can pick one of the above, or describe your own approach."
287
+ - Question: "Which architecture would you like to go with?"
288
+ - Option 1: label = name of Option 1, description = one-line stack summary
289
+ - Option 2: label = name of Option 2, description = one-line stack summary
290
+ - Option 3: label = name of Option 3 + " (Recommended)", description = one-line stack summary + the specific reason it's recommended
291
+ - Option 4: label = "Custom approach", description = "Describe your own stack \u2014 I'll evaluate it against your requirements"
280
292
 
281
293
  ---
282
294
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protovibe",
3
- "version": "1.1.9",
3
+ "version": "1.1.10",
4
4
  "description": "A branded CLI platform layer on top of Claude Code",
5
5
  "author": "razorgojo",
6
6
  "license": "MIT",