@su-record/vibe 2.4.34 → 2.4.36

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 (102) hide show
  1. package/CLAUDE.md +345 -351
  2. package/LICENSE +21 -21
  3. package/README.md +210 -210
  4. package/agents/compounder.md +261 -261
  5. package/agents/diagrammer.md +178 -178
  6. package/agents/e2e-tester.md +266 -266
  7. package/agents/explorer.md +48 -48
  8. package/agents/implementer.md +53 -53
  9. package/agents/research/best-practices-agent.md +139 -139
  10. package/agents/research/codebase-patterns-agent.md +147 -147
  11. package/agents/research/framework-docs-agent.md +178 -178
  12. package/agents/research/security-advisory-agent.md +164 -164
  13. package/agents/review/architecture-reviewer.md +107 -107
  14. package/agents/review/complexity-reviewer.md +116 -116
  15. package/agents/review/data-integrity-reviewer.md +88 -88
  16. package/agents/review/git-history-reviewer.md +103 -103
  17. package/agents/review/performance-reviewer.md +86 -86
  18. package/agents/review/python-reviewer.md +150 -150
  19. package/agents/review/rails-reviewer.md +139 -139
  20. package/agents/review/react-reviewer.md +144 -144
  21. package/agents/review/security-reviewer.md +80 -80
  22. package/agents/review/simplicity-reviewer.md +140 -140
  23. package/agents/review/test-coverage-reviewer.md +116 -116
  24. package/agents/review/typescript-reviewer.md +127 -127
  25. package/agents/searcher.md +54 -54
  26. package/agents/simplifier.md +119 -119
  27. package/agents/tester.md +49 -49
  28. package/agents/ui-previewer.md +129 -129
  29. package/commands/vibe.analyze.md +260 -260
  30. package/commands/vibe.reason.md +223 -223
  31. package/commands/vibe.review.md +213 -213
  32. package/commands/vibe.run.md +931 -931
  33. package/commands/vibe.spec.md +442 -442
  34. package/commands/vibe.utils.md +101 -101
  35. package/commands/vibe.verify.md +282 -282
  36. package/dist/cli/collaborator.js +52 -52
  37. package/dist/cli/detect.js +32 -32
  38. package/dist/cli/index.js +137 -137
  39. package/dist/cli/index.js.map +1 -1
  40. package/dist/cli/llm.js +147 -147
  41. package/dist/cli/llm.js.map +1 -1
  42. package/dist/cli/setup.d.ts +1 -1
  43. package/dist/cli/setup.d.ts.map +1 -1
  44. package/dist/cli/setup.js +48 -54
  45. package/dist/cli/setup.js.map +1 -1
  46. package/dist/lib/MemoryManager.d.ts +4 -0
  47. package/dist/lib/MemoryManager.d.ts.map +1 -1
  48. package/dist/lib/MemoryManager.js +21 -2
  49. package/dist/lib/MemoryManager.js.map +1 -1
  50. package/dist/lib/PythonParser.js +108 -108
  51. package/dist/lib/gemini-api.d.ts +47 -3
  52. package/dist/lib/gemini-api.d.ts.map +1 -1
  53. package/dist/lib/gemini-api.js +253 -7
  54. package/dist/lib/gemini-api.js.map +1 -1
  55. package/dist/lib/gpt-api.d.ts +37 -5
  56. package/dist/lib/gpt-api.d.ts.map +1 -1
  57. package/dist/lib/gpt-api.js +396 -37
  58. package/dist/lib/gpt-api.js.map +1 -1
  59. package/dist/tools/memory/saveMemory.js +1 -1
  60. package/dist/tools/memory/saveMemory.js.map +1 -1
  61. package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
  62. package/hooks/hooks.json +215 -195
  63. package/languages/dart-flutter.md +509 -0
  64. package/languages/go.md +396 -0
  65. package/languages/java-spring.md +586 -0
  66. package/languages/kotlin-android.md +491 -0
  67. package/languages/python-django.md +371 -0
  68. package/languages/python-fastapi.md +386 -0
  69. package/languages/rust.md +425 -0
  70. package/languages/swift-ios.md +516 -0
  71. package/languages/typescript-nextjs.md +441 -0
  72. package/languages/typescript-node.md +375 -0
  73. package/languages/typescript-nuxt.md +521 -0
  74. package/languages/typescript-react-native.md +446 -0
  75. package/languages/typescript-react.md +525 -0
  76. package/languages/typescript-vue.md +353 -0
  77. package/package.json +88 -87
  78. package/skills/context7-usage.md +82 -82
  79. package/skills/git-worktree.md +181 -181
  80. package/skills/multi-llm-orchestration.md +92 -92
  81. package/skills/parallel-research.md +77 -77
  82. package/skills/priority-todos.md +239 -239
  83. package/skills/tool-fallback.md +126 -126
  84. package/skills/vibe-capabilities.md +129 -129
  85. package/{.claude/vibe → vibe}/config.json +3 -3
  86. package/{.claude/vibe → vibe}/constitution.md +184 -184
  87. package/{.claude/vibe → vibe}/rules/core/communication-guide.md +104 -104
  88. package/{.claude/vibe → vibe}/rules/core/development-philosophy.md +52 -52
  89. package/{.claude/vibe → vibe}/rules/core/quick-start.md +120 -120
  90. package/{.claude/vibe → vibe}/rules/quality/bdd-contract-testing.md +388 -388
  91. package/{.claude/vibe → vibe}/rules/quality/checklist.md +276 -276
  92. package/{.claude/vibe → vibe}/rules/quality/testing-strategy.md +437 -437
  93. package/{.claude/vibe → vibe}/rules/standards/anti-patterns.md +369 -369
  94. package/{.claude/vibe → vibe}/rules/standards/code-structure.md +291 -291
  95. package/{.claude/vibe → vibe}/rules/standards/complexity-metrics.md +312 -312
  96. package/{.claude/vibe → vibe}/rules/standards/naming-conventions.md +198 -198
  97. package/{.claude/vibe → vibe}/setup.sh +31 -31
  98. package/{.claude/vibe → vibe}/templates/constitution-template.md +184 -184
  99. package/{.claude/vibe → vibe}/templates/contract-backend-template.md +517 -517
  100. package/{.claude/vibe → vibe}/templates/contract-frontend-template.md +594 -594
  101. package/{.claude/vibe → vibe}/templates/feature-template.md +96 -96
  102. package/{.claude/vibe → vibe}/templates/spec-template.md +199 -199
package/agents/tester.md CHANGED
@@ -1,49 +1,49 @@
1
- # Tester Agent (Haiku 4.5)
2
-
3
- Test writing specialist sub-agent.
4
-
5
- ## Role
6
-
7
- - Test code writing
8
- - BDD Feature-based testing
9
- - Edge case validation
10
- - Test execution
11
-
12
- ## Model
13
-
14
- **Haiku 4.5** - Fast test generation
15
-
16
- ## Usage
17
-
18
- Call via Task tool:
19
- ```
20
- Task(model: "haiku", prompt: "Write tests for the implemented code")
21
- ```
22
-
23
- ## Process
24
-
25
- 1. Check `.claude/vibe/features/{feature-name}.feature`
26
- 2. Analyze implemented code
27
- 3. Write test cases
28
- 4. Run tests
29
- 5. Return results
30
-
31
- ## Output
32
-
33
- ```markdown
34
- ## Test Results
35
-
36
- ### Generated Tests
37
- - src/__tests__/LoginForm.test.tsx
38
- - src/__tests__/useLogin.test.ts
39
-
40
- ### Coverage
41
- - Statements: 85%
42
- - Branches: 80%
43
- - Functions: 90%
44
-
45
- ### Execution Results
46
- ✅ 12 passed
47
- ⏭️ 0 skipped
48
- ❌ 0 failed
49
- ```
1
+ # Tester Agent (Haiku 4.5)
2
+
3
+ Test writing specialist sub-agent.
4
+
5
+ ## Role
6
+
7
+ - Test code writing
8
+ - BDD Feature-based testing
9
+ - Edge case validation
10
+ - Test execution
11
+
12
+ ## Model
13
+
14
+ **Haiku 4.5** - Fast test generation
15
+
16
+ ## Usage
17
+
18
+ Call via Task tool:
19
+ ```
20
+ Task(model: "haiku", prompt: "Write tests for the implemented code")
21
+ ```
22
+
23
+ ## Process
24
+
25
+ 1. Check `.claude/vibe/features/{feature-name}.feature`
26
+ 2. Analyze implemented code
27
+ 3. Write test cases
28
+ 4. Run tests
29
+ 5. Return results
30
+
31
+ ## Output
32
+
33
+ ```markdown
34
+ ## Test Results
35
+
36
+ ### Generated Tests
37
+ - src/__tests__/LoginForm.test.tsx
38
+ - src/__tests__/useLogin.test.ts
39
+
40
+ ### Coverage
41
+ - Statements: 85%
42
+ - Branches: 80%
43
+ - Functions: 90%
44
+
45
+ ### Execution Results
46
+ ✅ 12 passed
47
+ ⏭️ 0 skipped
48
+ ❌ 0 failed
49
+ ```
@@ -1,129 +1,129 @@
1
- ---
2
- description: Preview UI with ASCII art
3
- argument-hint: "UI description"
4
- ---
5
-
6
- # /vibe.ui
7
-
8
- Preview UI with ASCII art.
9
-
10
- ## Usage
11
-
12
- ```
13
- /vibe.ui "login page"
14
- /vibe.ui "dashboard" --layout grid
15
- ```
16
-
17
- ## Process
18
-
19
- ### 1. Analyze UI Description
20
-
21
- Analyze user's requested UI description:
22
- - Page/component name
23
- - Required UI elements (buttons, inputs, cards, etc.)
24
- - Layout structure (header-footer, sidebar, grid, etc.)
25
-
26
- ### 2. Generate ASCII Art
27
-
28
- Generate ASCII art based on the UI description:
29
-
30
- **Input format:**
31
- - Page name
32
- - Layout type (centered, sidebar, grid, header-footer)
33
- - Components list (type, label, position)
34
-
35
- ### 3. Output ASCII Art
36
-
37
- Output generated ASCII art:
38
-
39
- ```
40
- ┌─────────────────────────────────────────┐
41
- │ Welcome │
42
- ├─────────────────────────────────────────┤
43
- │ │
44
- │ ┌─────────────────────┐ │
45
- │ Email: │ │ │
46
- │ └─────────────────────┘ │
47
- │ │
48
- │ ┌─────────────────────┐ │
49
- │ Pass: │ │ │
50
- │ └─────────────────────┘ │
51
- │ │
52
- │ ┌─────────────────────┐ │
53
- │ │ Login │ │
54
- │ └─────────────────────┘ │
55
- │ │
56
- └─────────────────────────────────────────┘
57
- ```
58
-
59
- ### 4. Generate Component List
60
-
61
- Suggest list of components needed for UI:
62
-
63
- **Required Components:**
64
- - `Header.tsx` - Header ("Welcome")
65
- - `LoginForm.tsx` - Form container
66
- - `Input.tsx` - Reusable input field
67
- - `Button.tsx` - Login button
68
-
69
- **Expected File Structure:**
70
- ```
71
- src/
72
- ├── components/
73
- │ ├── common/
74
- │ │ ├── Input.tsx
75
- │ │ └── Button.tsx
76
- │ └── auth/
77
- │ ├── Header.tsx
78
- │ └── LoginForm.tsx
79
- └── pages/
80
- └── LoginPage.tsx
81
- ```
82
-
83
- ## Example
84
-
85
- ```
86
- User: /vibe.ui "Dashboard page - header, sidebar, main content (3 cards), footer"
87
-
88
- Claude: Generating dashboard UI preview...
89
-
90
- ┌────────────────────────────────────────────────────────┐
91
- │ [Logo] Dashboard [User] [Logout] │
92
- ├────────┬───────────────────────────────────────────────┤
93
- │ │ │
94
- │ Home │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
95
- │ Stats │ │ Card 1 │ │ Card 2 │ │ Card 3 │ │
96
- │ Users │ │ │ │ │ │ │ │
97
- │ Settings│ │ 100 │ │ 200 │ │ 50 │ │
98
- │ │ └──────────┘ └──────────┘ └──────────┘ │
99
- │ │ │
100
- │ │ │
101
- ├────────┴───────────────────────────────────────────────┤
102
- │ © 2025 Company Privacy | Terms │
103
- └────────────────────────────────────────────────────────┘
104
-
105
- **Required Components:**
106
- 1. Header (logo, user menu)
107
- 2. Sidebar (navigation)
108
- 3. StatsCard (reusable card)
109
- 4. Footer (copyright, links)
110
- 5. DashboardLayout (overall layout)
111
-
112
- **Layout Structure:**
113
- - Layout: sidebar (fixed left)
114
- - Main: grid (3 columns)
115
- - Responsive: Changes to 1 column on mobile
116
-
117
- Next step:
118
- vibe spec "dashboard page"
119
- ```
120
-
121
- ## Notes
122
-
123
- - For complex UI, request in multiple parts
124
- - Layout options: `sidebar`, `header-footer`, `grid`, `centered`, `split`
125
- - ASCII art is for quick visualization before actual implementation
126
-
127
- ---
128
-
129
- ARGUMENTS: $ARGUMENTS
1
+ ---
2
+ description: Preview UI with ASCII art
3
+ argument-hint: "UI description"
4
+ ---
5
+
6
+ # /vibe.ui
7
+
8
+ Preview UI with ASCII art.
9
+
10
+ ## Usage
11
+
12
+ ```
13
+ /vibe.ui "login page"
14
+ /vibe.ui "dashboard" --layout grid
15
+ ```
16
+
17
+ ## Process
18
+
19
+ ### 1. Analyze UI Description
20
+
21
+ Analyze user's requested UI description:
22
+ - Page/component name
23
+ - Required UI elements (buttons, inputs, cards, etc.)
24
+ - Layout structure (header-footer, sidebar, grid, etc.)
25
+
26
+ ### 2. Generate ASCII Art
27
+
28
+ Generate ASCII art based on the UI description:
29
+
30
+ **Input format:**
31
+ - Page name
32
+ - Layout type (centered, sidebar, grid, header-footer)
33
+ - Components list (type, label, position)
34
+
35
+ ### 3. Output ASCII Art
36
+
37
+ Output generated ASCII art:
38
+
39
+ ```
40
+ ┌─────────────────────────────────────────┐
41
+ │ Welcome │
42
+ ├─────────────────────────────────────────┤
43
+ │ │
44
+ │ ┌─────────────────────┐ │
45
+ │ Email: │ │ │
46
+ │ └─────────────────────┘ │
47
+ │ │
48
+ │ ┌─────────────────────┐ │
49
+ │ Pass: │ │ │
50
+ │ └─────────────────────┘ │
51
+ │ │
52
+ │ ┌─────────────────────┐ │
53
+ │ │ Login │ │
54
+ │ └─────────────────────┘ │
55
+ │ │
56
+ └─────────────────────────────────────────┘
57
+ ```
58
+
59
+ ### 4. Generate Component List
60
+
61
+ Suggest list of components needed for UI:
62
+
63
+ **Required Components:**
64
+ - `Header.tsx` - Header ("Welcome")
65
+ - `LoginForm.tsx` - Form container
66
+ - `Input.tsx` - Reusable input field
67
+ - `Button.tsx` - Login button
68
+
69
+ **Expected File Structure:**
70
+ ```
71
+ src/
72
+ ├── components/
73
+ │ ├── common/
74
+ │ │ ├── Input.tsx
75
+ │ │ └── Button.tsx
76
+ │ └── auth/
77
+ │ ├── Header.tsx
78
+ │ └── LoginForm.tsx
79
+ └── pages/
80
+ └── LoginPage.tsx
81
+ ```
82
+
83
+ ## Example
84
+
85
+ ```
86
+ User: /vibe.ui "Dashboard page - header, sidebar, main content (3 cards), footer"
87
+
88
+ Claude: Generating dashboard UI preview...
89
+
90
+ ┌────────────────────────────────────────────────────────┐
91
+ │ [Logo] Dashboard [User] [Logout] │
92
+ ├────────┬───────────────────────────────────────────────┤
93
+ │ │ │
94
+ │ Home │ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
95
+ │ Stats │ │ Card 1 │ │ Card 2 │ │ Card 3 │ │
96
+ │ Users │ │ │ │ │ │ │ │
97
+ │ Settings│ │ 100 │ │ 200 │ │ 50 │ │
98
+ │ │ └──────────┘ └──────────┘ └──────────┘ │
99
+ │ │ │
100
+ │ │ │
101
+ ├────────┴───────────────────────────────────────────────┤
102
+ │ © 2025 Company Privacy | Terms │
103
+ └────────────────────────────────────────────────────────┘
104
+
105
+ **Required Components:**
106
+ 1. Header (logo, user menu)
107
+ 2. Sidebar (navigation)
108
+ 3. StatsCard (reusable card)
109
+ 4. Footer (copyright, links)
110
+ 5. DashboardLayout (overall layout)
111
+
112
+ **Layout Structure:**
113
+ - Layout: sidebar (fixed left)
114
+ - Main: grid (3 columns)
115
+ - Responsive: Changes to 1 column on mobile
116
+
117
+ Next step:
118
+ vibe spec "dashboard page"
119
+ ```
120
+
121
+ ## Notes
122
+
123
+ - For complex UI, request in multiple parts
124
+ - Layout options: `sidebar`, `header-footer`, `grid`, `centered`, `split`
125
+ - ASCII art is for quick visualization before actual implementation
126
+
127
+ ---
128
+
129
+ ARGUMENTS: $ARGUMENTS