@su-record/vibe 0.1.4 β†’ 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,6 +15,7 @@ Transform natural language requirements into production-ready code through struc
15
15
 
16
16
  - **Claude Code Optimized**: Built specifically for Claude Code with native slash commands and MCP integration
17
17
  - **SPEC-driven Development**: Structured Q&A process using EARS (Easy Approach to Requirements Syntax)
18
+ - **BDD + Contract Testing**: AI-optimized testing with Gherkin features and API contract validation (🚧 v0.2.0)
18
19
  - **Automated Planning**: Generate technical implementation plans with architecture, cost analysis, and timeline
19
20
  - **Task Decomposition**: Break down features into phase-based, dependency-aware tasks
20
21
  - **Powered by @su-record/hi-ai**: 38 MCP tools combining skills and hi-ai for code analysis, quality validation, and insights
@@ -30,87 +31,75 @@ npm install -g @su-record/vibe
30
31
  ```
31
32
 
32
33
  This installs:
33
- - Vibe CLI commands
34
+ - Vibe CLI (for initialization only)
34
35
  - @su-record/hi-ai MCP server (38 development tools)
36
+ - Agents, Skills, Templates for Claude Code
37
+
38
+ ⚠️ **Important**: Vibe is a **Claude Code-exclusive** framework. Terminal commands are limited to `init` only. All development commands are available as **slash commands** within Claude Code.
35
39
 
36
40
  ---
37
41
 
38
42
  ## Quick Start
39
43
 
44
+ ### 1. Initialize Project (Terminal)
45
+
40
46
  ```bash
41
- # Initialize project (registers MCP server for this project)
47
+ # Option 1: Initialize in existing project
42
48
  vibe init
43
49
 
44
- # Create specification through guided Q&A
45
- vibe spec "push notification settings"
50
+ # Option 2: Create new project
51
+ vibe init my-new-project
52
+ cd my-new-project
53
+ ```
46
54
 
47
- # Generate technical plan
48
- vibe plan "push notification settings"
55
+ This will:
56
+ - Register MCP server for the project directory
57
+ - Create `.vibe/` folder structure
58
+ - Install agents, skills, and templates
49
59
 
50
- # Decompose into tasks
51
- vibe tasks "push notification settings"
60
+ ### 2. Use Slash Commands (Claude Code)
52
61
 
53
- # Implement tasks
54
- vibe run "Task 1-1"
62
+ Open Claude Code in your project directory and use slash commands:
55
63
 
56
- # Verify implementation
57
- vibe verify "push notification settings"
64
+ ```
65
+ /vibe.spec "push notification settings"
66
+ /vibe.plan "push notification settings"
67
+ /vibe.tasks "push notification settings"
68
+ /vibe.run "Task 1-1"
69
+ /vibe.verify "push notification settings"
58
70
  ```
59
71
 
60
72
  ---
61
73
 
62
74
  ## Command Reference
63
75
 
64
- ### Core Workflow Commands
76
+ ### Terminal Commands (Initialization Only)
65
77
 
66
78
  | Command | Description | Example |
67
79
  |---------|-------------|---------|
68
80
  | `vibe init` | Initialize Vibe in current project | `vibe init` |
69
- | `vibe spec <name>` | Create SPEC through 6-question Q&A | `vibe spec "user authentication"` |
70
- | `vibe plan <name>` | Generate technical implementation plan | `vibe plan "user authentication"` |
71
- | `vibe tasks <name>` | Break down into executable tasks | `vibe tasks "user authentication"` |
72
- | `vibe run <task>` | Execute specific task with auto-generated guide | `vibe run "Task 1-1"` |
73
- | `vibe run --phase <N>` | Execute all tasks in phase N | `vibe run --phase 1` |
74
- | `vibe run --all` | Execute all tasks sequentially | `vibe run --all` |
75
- | `vibe verify <name>` | Verify implementation against SPEC | `vibe verify "user authentication"` |
81
+ | `vibe init <name>` | Create new project with Vibe | `vibe init my-app` |
82
+ | `vibe help` | Show help message | `vibe help` |
76
83
 
77
- ### Analysis & Tools
84
+ ### Claude Code Slash Commands (Development)
85
+
86
+ #### Core Workflow
78
87
 
79
88
  | Command | Description | Example |
80
89
  |---------|-------------|---------|
81
- | `vibe analyze` | Comprehensive project analysis | `vibe analyze` |
82
- | `vibe analyze --code` | Code quality and complexity analysis | `vibe analyze --code` |
83
- | `vibe analyze --deps` | Dependency and security audit | `vibe analyze --deps` |
84
- | `vibe analyze --arch` | Architecture and coupling analysis | `vibe analyze --arch` |
85
- | `vibe ui <description>` | Generate ASCII UI mockup | `vibe ui "login form"` |
86
- | `vibe diagram` | Generate architecture diagram (Mermaid) | `vibe diagram` |
87
- | `vibe diagram --er` | Generate ERD diagram | `vibe diagram --er` |
88
- | `vibe diagram --flow` | Generate flowchart | `vibe diagram --flow` |
89
-
90
- ### Utility Commands
91
-
92
- | Command | Description |
93
- |---------|-------------|
94
- | `vibe agents` | List available AI agents |
95
- | `vibe skills` | List installed skill modules |
96
- | `vibe help` | Show command help |
97
-
98
- ---
90
+ | `/vibe.spec <name>` | Create SPEC through natural conversation (auto-detects project type, suggests tech stack & design) | `/vibe.spec "user authentication"` |
91
+ | `/vibe.plan <name>` | Generate technical implementation plan | `/vibe.plan "user authentication"` |
92
+ | `/vibe.tasks <name>` | Break down into executable tasks | `/vibe.tasks "user authentication"` |
93
+ | `/vibe.run <task>` | Execute specific task with auto-generated guide | `/vibe.run "Task 1-1"` |
94
+ | `/vibe.verify <name>` | Verify implementation against SPEC | `/vibe.verify "user authentication"` |
99
95
 
100
- ## Slash Commands (Claude Code)
96
+ #### Analysis & Tools
101
97
 
102
- Use these commands directly in Claude Code:
103
-
104
- | Command | Description |
105
- |---------|-------------|
106
- | `/vibe.spec "feature"` | Create specification |
107
- | `/vibe.plan "feature"` | Generate plan |
108
- | `/vibe.tasks "feature"` | Generate tasks |
109
- | `/vibe.run "Task 1-1"` | Execute task |
110
- | `/vibe.verify "feature"` | Verify implementation |
111
- | `/vibe.analyze` | Analyze project |
112
- | `/vibe.ui "description"` | Preview UI |
113
- | `/vibe.diagram --er` | Generate diagram |
98
+ | Command | Description | Example |
99
+ |---------|-------------|---------|
100
+ | `/vibe.analyze` | Comprehensive project analysis | `/vibe.analyze` |
101
+ | `/vibe.ui <description>` | Generate ASCII UI mockup | `/vibe.ui "login form"` |
102
+ | `/vibe.diagram --er` | Generate diagrams (architecture, ERD, flow) | `/vibe.diagram --er` |
114
103
 
115
104
  ---
116
105
 
@@ -246,71 +235,142 @@ Vibe uses EARS (Easy Approach to Requirements Syntax):
246
235
 
247
236
  ## Workflow Example
248
237
 
249
- ### 1. Create Specification
238
+ ### 1. Initialize Project (Terminal)
250
239
 
251
240
  ```bash
252
- $ vibe spec "push notification settings"
241
+ $ vibe init
242
+ πŸ”§ MCP μ„œλ²„ 확인 쀑...
243
+ βœ… vibe MCP μ„œλ²„ 등둝 μ™„λ£Œ
244
+ βœ… vibe μ΄ˆκΈ°ν™” μ™„λ£Œ!
245
+
246
+ μƒμ„±λœ ꡬ쑰:
247
+ .vibe/
248
+ β”œβ”€β”€ config.json
249
+ β”œβ”€β”€ constitution.md
250
+ β”œβ”€β”€ specs/
251
+ β”œβ”€β”€ plans/
252
+ └── tasks/
253
+ ```
254
+
255
+ ### 2. Create Specification (Claude Code)
253
256
 
254
- Q1. Why: Reduce app churn from excessive notifications
255
- Q2. Who: All users (100k+ DAU)
256
- Q3. What: 6-category notification toggle system
257
- Q4. How: P95 < 500ms, Redis caching, rate limiting
258
- Q5. When: 3 days (24 hours development time)
259
- Q6. With What: FastAPI + Flutter + PostgreSQL + FCM
257
+ **Note**: Examples shown in English. Claude responds in the language set in `.vibe/config.json` (default: Korean).
260
258
 
261
- βœ… Created: .vibe/specs/push-notification-settings.md
262
259
  ```
260
+ User: /vibe.spec "push notification settings"
261
+
262
+ Claude (Specification Agent):
263
+ [Analyzing source code]
264
+ - Backend: Python (FastAPI)
265
+ - Frontend: Flutter 3.24+
266
+ - Database: PostgreSQL 17
263
267
 
264
- ### 2. Generate Plan
268
+ Existing project detected! Is this tech stack correct?
265
269
 
266
- ```bash
267
- $ vibe plan "push notification settings"
270
+ User: Yes
271
+
272
+ Claude:
273
+ What types of notifications do you want to manage?
274
+
275
+ User: Comments, likes, follows, announcements, events, marketing
276
+
277
+ Claude:
278
+ Do you need just ON/OFF toggle for each category, or detailed settings too?
279
+
280
+ 1. ON/OFF only
281
+ 2. Detailed settings (time, frequency, etc.)
282
+ 3. Both
283
+
284
+ Or you can describe directly.
285
+
286
+ User: 1
287
+
288
+ Claude:
289
+ Which push notification service would you like to use?
290
+
291
+ 1. Firebase Cloud Messaging (FCM) - Free, easy Flutter integration
292
+ 2. OneSignal - Multi-platform, dashboard
293
+ 3. Custom implementation
294
+
295
+ Or you can describe directly.
296
+
297
+ User: We're already using FCM
298
+
299
+ Claude:
300
+ Great! Which design reference would you like to follow?
268
301
 
269
- βœ… Created: .vibe/plans/push-notification-settings.md
302
+ 1. iOS Settings > Notifications (toggle + grouping)
303
+ 2. Slack notification settings (category-based)
304
+ 3. Twitter notification settings (simple list)
305
+
306
+ Or you can describe directly.
307
+
308
+ User: 1
309
+
310
+ ...
311
+
312
+ βœ… SPEC document created!
313
+ πŸ“„ .vibe/specs/push-notification-settings.md
314
+ ```
315
+
316
+ ### 3. Generate Plan (Claude Code)
317
+
318
+ ```
319
+ User: /vibe.plan "push notification settings"
320
+
321
+ Claude (Planning Agent):
322
+ SPEC을 λΆ„μ„ν•˜μ—¬ 기술 κ³„νšμ„ μž‘μ„±ν•˜κ² μŠ΅λ‹ˆλ‹€.
323
+
324
+ βœ… PLAN λ¬Έμ„œ μž‘μ„± μ™„λ£Œ!
325
+ πŸ“„ .vibe/plans/push-notification-settings.md
270
326
 
271
327
  Summary:
272
328
  - 3 Phases: Backend β†’ Frontend β†’ FCM Integration
273
329
  - Timeline: 24 hours (3 days)
274
330
  - Cost: +$0.50/month (Redis + FCM)
275
- - Stack Reuse: 100% existing infrastructure
276
331
  ```
277
332
 
278
- ### 3. Decompose Tasks
333
+ ### 4. Decompose Tasks (Claude Code)
279
334
 
280
- ```bash
281
- $ vibe tasks "push notification settings"
335
+ ```
336
+ User: /vibe.tasks "push notification settings"
337
+
338
+ Claude (Task Agent):
339
+ PLAN을 기반으둜 Taskλ₯Ό μƒμ„±ν•˜κ² μŠ΅λ‹ˆλ‹€.
282
340
 
283
- βœ… Created: .vibe/tasks/push-notification-settings.md
341
+ βœ… TASKS λ¬Έμ„œ μž‘μ„± μ™„λ£Œ!
342
+ πŸ“„ .vibe/tasks/push-notification-settings.md
284
343
 
285
344
  Task Breakdown:
286
345
  - Total: 19 tasks
287
346
  - Phase 1 (Backend): 8 tasks
288
347
  - Phase 2 (Frontend): 8 tasks
289
348
  - Phase 3 (FCM): 3 tasks
290
- - Dependency graph included
291
349
  ```
292
350
 
293
- ### 4. Execute Tasks
351
+ ### 5. Execute Tasks (Claude Code)
294
352
 
295
- ```bash
296
- $ vibe run "Task 1-1"
353
+ ```
354
+ User: /vibe.run "Task 1-1"
297
355
 
298
- Executing: Task 1-1 - Database Migration
356
+ Claude:
357
+ Task 1-1 - Database Migration을 μ‹€ν–‰ν•˜κ² μŠ΅λ‹ˆλ‹€.
299
358
 
300
- Steps:
301
- 1. Read task details from .vibe/tasks/push-notification-settings.md
302
- 2. Generate implementation guide: .vibe/guides/task-1-1.md
303
- 3. Execute: Create migration file with 6 columns
304
- 4. Verify: Run `alembic upgrade head`
305
- 5. Update status: ⬜ β†’ βœ…
359
+ 1. κ΅¬ν˜„ κ°€μ΄λ“œ 생성 (.vibe/guides/task-1-1.md)
360
+ 2. Migration 파일 생성
361
+ 3. Acceptance Criteria 검증
362
+ 4. Task μƒνƒœ μ—…λ°μ΄νŠΈ
306
363
 
307
364
  βœ… Task 1-1 completed
308
365
  ```
309
366
 
310
- ### 5. Code Analysis
367
+ ### 6. Code Analysis (Claude Code)
311
368
 
312
- ```bash
313
- $ vibe analyze --code
369
+ ```
370
+ User: /vibe.analyze
371
+
372
+ Claude:
373
+ ν”„λ‘œμ νŠΈ 전체λ₯Ό λΆ„μ„ν•˜κ² μŠ΅λ‹ˆλ‹€.
314
374
 
315
375
  πŸ“Š Code Quality Report
316
376
 
@@ -325,15 +385,14 @@ Recommendations:
325
385
  1. Refactor src/service.py into 3 modules
326
386
  2. Apply Dependency Injection pattern
327
387
  3. Extract unrelated utilities from src/utils.py
328
-
329
- Report saved: .vibe/reports/analysis-2025-11-17.md
330
388
  ```
331
389
 
332
- ### 6. UI Mockup
390
+ ### 7. UI Mockup (Claude Code)
333
391
 
334
- ```bash
335
- $ vibe ui "login form with email, password, and submit button"
392
+ ```
393
+ User: /vibe.ui "login form"
336
394
 
395
+ Claude:
337
396
  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
338
397
  β”‚ Welcome Back β”‚
339
398
  β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
@@ -353,11 +412,7 @@ $ vibe ui "login form with email, password, and submit button"
353
412
  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
354
413
 
355
414
  Required Components:
356
- - Header.tsx (Welcome message)
357
- - EmailInput.tsx (Email field)
358
- - PasswordInput.tsx (Password field with masking)
359
- - Button.tsx (Submit button)
360
- - LoginForm.tsx (Form container)
415
+ - EmailInput.tsx, PasswordInput.tsx, Button.tsx
361
416
  ```
362
417
 
363
418
  ---
@@ -370,16 +425,16 @@ Create `CLAUDE.md` in your project root to enable automatic tech stack detection
370
425
 
371
426
  ### 2. Execute Phase by Phase
372
427
 
373
- Instead of `--all`, execute and verify each phase independently:
428
+ Execute and verify each phase independently in Claude Code:
374
429
 
375
- ```bash
376
- vibe run --phase 1 # Backend development
430
+ ```
431
+ /vibe.run --phase 1 # Backend development
377
432
  # Verify, test, commit
378
433
 
379
- vibe run --phase 2 # Frontend development
434
+ /vibe.run --phase 2 # Frontend development
380
435
  # Verify, test, commit
381
436
 
382
- vibe run --phase 3 # Integration
437
+ /vibe.run --phase 3 # Integration
383
438
  # Verify, test, commit
384
439
  ```
385
440
 
@@ -389,12 +444,12 @@ Each task includes acceptance criteria. Ensure all criteria pass before marking
389
444
 
390
445
  ### 4. Leverage MCP Tools
391
446
 
392
- Use analysis commands before refactoring:
447
+ Use analysis commands in Claude Code before refactoring:
393
448
 
394
- ```bash
395
- vibe analyze --code # Identify complexity hotspots
396
- vibe analyze --deps # Check for outdated/vulnerable packages
397
- vibe analyze --arch # Detect circular dependencies
449
+ ```
450
+ /vibe.analyze --code # Identify complexity hotspots
451
+ /vibe.analyze --deps # Check for outdated/vulnerable packages
452
+ /vibe.analyze --arch # Detect circular dependencies
398
453
  ```
399
454
 
400
455
  ---