@su-record/vibe 2.4.34 → 2.4.35
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/CLAUDE.md +345 -351
- package/LICENSE +21 -21
- package/README.md +210 -210
- package/agents/compounder.md +261 -261
- package/agents/diagrammer.md +178 -178
- package/agents/e2e-tester.md +266 -266
- package/agents/explorer.md +48 -48
- package/agents/implementer.md +53 -53
- package/agents/research/best-practices-agent.md +139 -139
- package/agents/research/codebase-patterns-agent.md +147 -147
- package/agents/research/framework-docs-agent.md +178 -178
- package/agents/research/security-advisory-agent.md +164 -164
- package/agents/review/architecture-reviewer.md +107 -107
- package/agents/review/complexity-reviewer.md +116 -116
- package/agents/review/data-integrity-reviewer.md +88 -88
- package/agents/review/git-history-reviewer.md +103 -103
- package/agents/review/performance-reviewer.md +86 -86
- package/agents/review/python-reviewer.md +150 -150
- package/agents/review/rails-reviewer.md +139 -139
- package/agents/review/react-reviewer.md +144 -144
- package/agents/review/security-reviewer.md +80 -80
- package/agents/review/simplicity-reviewer.md +140 -140
- package/agents/review/test-coverage-reviewer.md +116 -116
- package/agents/review/typescript-reviewer.md +127 -127
- package/agents/searcher.md +54 -54
- package/agents/simplifier.md +119 -119
- package/agents/tester.md +49 -49
- package/agents/ui-previewer.md +129 -129
- package/commands/vibe.analyze.md +260 -260
- package/commands/vibe.reason.md +223 -223
- package/commands/vibe.review.md +213 -213
- package/commands/vibe.run.md +931 -931
- package/commands/vibe.spec.md +442 -442
- package/commands/vibe.utils.md +101 -101
- package/commands/vibe.verify.md +282 -282
- package/dist/cli/collaborator.js +52 -52
- package/dist/cli/detect.js +32 -32
- package/dist/cli/index.js +137 -137
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/llm.js +147 -147
- package/dist/cli/llm.js.map +1 -1
- package/dist/cli/setup.d.ts +1 -1
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +48 -54
- package/dist/cli/setup.js.map +1 -1
- package/dist/lib/MemoryManager.d.ts +4 -0
- package/dist/lib/MemoryManager.d.ts.map +1 -1
- package/dist/lib/MemoryManager.js +21 -2
- package/dist/lib/MemoryManager.js.map +1 -1
- package/dist/lib/PythonParser.js +108 -108
- package/dist/lib/gemini-api.d.ts +13 -3
- package/dist/lib/gemini-api.d.ts.map +1 -1
- package/dist/lib/gemini-api.js +198 -7
- package/dist/lib/gemini-api.js.map +1 -1
- package/dist/lib/gpt-api.d.ts +5 -4
- package/dist/lib/gpt-api.d.ts.map +1 -1
- package/dist/lib/gpt-api.js +168 -12
- package/dist/lib/gpt-api.js.map +1 -1
- package/dist/tools/memory/saveMemory.js +1 -1
- package/dist/tools/memory/saveMemory.js.map +1 -1
- package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
- package/hooks/hooks.json +195 -195
- package/languages/dart-flutter.md +509 -0
- package/languages/go.md +396 -0
- package/languages/java-spring.md +586 -0
- package/languages/kotlin-android.md +491 -0
- package/languages/python-django.md +371 -0
- package/languages/python-fastapi.md +386 -0
- package/languages/rust.md +425 -0
- package/languages/swift-ios.md +516 -0
- package/languages/typescript-nextjs.md +441 -0
- package/languages/typescript-node.md +375 -0
- package/languages/typescript-nuxt.md +521 -0
- package/languages/typescript-react-native.md +446 -0
- package/languages/typescript-react.md +525 -0
- package/languages/typescript-vue.md +353 -0
- package/package.json +88 -87
- package/skills/context7-usage.md +82 -82
- package/skills/git-worktree.md +181 -181
- package/skills/multi-llm-orchestration.md +92 -92
- package/skills/parallel-research.md +77 -77
- package/skills/priority-todos.md +239 -239
- package/skills/tool-fallback.md +126 -126
- package/skills/vibe-capabilities.md +129 -129
- package/{.claude/vibe → vibe}/config.json +3 -3
- package/{.claude/vibe → vibe}/constitution.md +184 -184
- package/{.claude/vibe → vibe}/rules/core/communication-guide.md +104 -104
- package/{.claude/vibe → vibe}/rules/core/development-philosophy.md +52 -52
- package/{.claude/vibe → vibe}/rules/core/quick-start.md +120 -120
- package/{.claude/vibe → vibe}/rules/quality/bdd-contract-testing.md +388 -388
- package/{.claude/vibe → vibe}/rules/quality/checklist.md +276 -276
- package/{.claude/vibe → vibe}/rules/quality/testing-strategy.md +437 -437
- package/{.claude/vibe → vibe}/rules/standards/anti-patterns.md +369 -369
- package/{.claude/vibe → vibe}/rules/standards/code-structure.md +291 -291
- package/{.claude/vibe → vibe}/rules/standards/complexity-metrics.md +312 -312
- package/{.claude/vibe → vibe}/rules/standards/naming-conventions.md +198 -198
- package/{.claude/vibe → vibe}/setup.sh +31 -31
- package/{.claude/vibe → vibe}/templates/constitution-template.md +184 -184
- package/{.claude/vibe → vibe}/templates/contract-backend-template.md +517 -517
- package/{.claude/vibe → vibe}/templates/contract-frontend-template.md +594 -594
- package/{.claude/vibe → vibe}/templates/feature-template.md +96 -96
- package/{.claude/vibe → vibe}/templates/spec-template.md +199 -199
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 Su
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Su
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,210 +1,210 @@
|
|
|
1
|
-
# Vibe
|
|
2
|
-
|
|
3
|
-
**SPEC-driven AI coding framework** (Claude Code only)
|
|
4
|
-
|
|
5
|
-
[](https://www.npmjs.com/package/@su-record/vibe)
|
|
6
|
-
[](https://opensource.org/licenses/MIT)
|
|
7
|
-
|
|
8
|
-
## Install
|
|
9
|
-
|
|
10
|
-
```bash
|
|
11
|
-
npm install -g @su-record/vibe
|
|
12
|
-
vibe init
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Commands
|
|
16
|
-
|
|
17
|
-
### Terminal
|
|
18
|
-
|
|
19
|
-
| Command | Description |
|
|
20
|
-
|---------|-------------|
|
|
21
|
-
| `vibe init` | Initialize project |
|
|
22
|
-
| `vibe update` | Update settings |
|
|
23
|
-
| `vibe status` | Check status |
|
|
24
|
-
| `vibe auth gpt` | GPT OAuth authentication |
|
|
25
|
-
| `vibe auth gemini` | Gemini OAuth authentication |
|
|
26
|
-
| `vibe logout gpt` | GPT logout |
|
|
27
|
-
| `vibe logout gemini` | Gemini logout |
|
|
28
|
-
| `vibe help` | Help |
|
|
29
|
-
| `vibe version` | Version info |
|
|
30
|
-
|
|
31
|
-
### Claude Code
|
|
32
|
-
|
|
33
|
-
| Command | Description |
|
|
34
|
-
|---------|-------------|
|
|
35
|
-
| `/vibe.spec "feature"` | Create SPEC + parallel research |
|
|
36
|
-
| `/vibe.run "feature"` | Execute implementation |
|
|
37
|
-
| `/vibe.run "feature" ultrawork` | Maximum performance mode |
|
|
38
|
-
| `/vibe.verify "feature"` | BDD verification |
|
|
39
|
-
| `/vibe.review` | 13+ agent parallel review |
|
|
40
|
-
| `/vibe.analyze` | Code analysis |
|
|
41
|
-
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
42
|
-
| `/vibe.utils` | Utilities (--e2e, --diagram, etc.) |
|
|
43
|
-
|
|
44
|
-
## Workflow
|
|
45
|
-
|
|
46
|
-
```
|
|
47
|
-
/vibe.spec → /vibe.run → /vibe.verify → /vibe.review
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Key Features
|
|
51
|
-
|
|
52
|
-
| Feature | Description |
|
|
53
|
-
|---------|-------------|
|
|
54
|
-
| **Multi-model orchestration** | Claude + GPT-5.2 + Gemini 3 Pro |
|
|
55
|
-
| **13+ parallel review agents** | Security, performance, architecture |
|
|
56
|
-
| **BDD auto verification** | Given/When/Then scenario verification |
|
|
57
|
-
| **ULTRAWORK mode** | One keyword enables all optimizations |
|
|
58
|
-
| **36 built-in tools** | Code analysis, memory management, quality validation |
|
|
59
|
-
| **Auto context management** | 80%+ auto-save, session restore |
|
|
60
|
-
|
|
61
|
-
## ULTRAWORK Mode
|
|
62
|
-
|
|
63
|
-
Enable maximum performance with `ultrawork` or `ulw`:
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
/vibe.run "feature" ultrawork
|
|
67
|
-
/vibe.run "feature" ulw # Same
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
**Enabled features:**
|
|
71
|
-
- Parallel subagent exploration (3+ concurrent)
|
|
72
|
-
- Boulder Loop (auto-progress until all scenarios complete)
|
|
73
|
-
- Auto-retry on errors (max 3)
|
|
74
|
-
- Continuous execution without phase confirmation
|
|
75
|
-
- Auto-save at 80%+ context
|
|
76
|
-
|
|
77
|
-
## Multi-model Orchestration
|
|
78
|
-
|
|
79
|
-
Call GPT/Gemini directly with hook prefixes:
|
|
80
|
-
|
|
81
|
-
| LLM | Prefix | Example | Features |
|
|
82
|
-
|-----|--------|---------|----------|
|
|
83
|
-
| GPT | `gpt-`, `gpt.` | `gpt.weather today` | Web Search enabled |
|
|
84
|
-
| Gemini | `gemini-`, `gemini.` | `gemini.UI improvements` | Google Search enabled |
|
|
85
|
-
|
|
86
|
-
| Scenario | Recommended | Example |
|
|
87
|
-
|----------|-------------|---------|
|
|
88
|
-
| Latest info search | GPT | `gpt.React 19 changes` |
|
|
89
|
-
| UI/UX review | Gemini | `gemini.improve this form UX` |
|
|
90
|
-
| Architecture review | GPT | `gpt-review this architecture` |
|
|
91
|
-
| Code analysis | Gemini | `gemini-analyze this code` |
|
|
92
|
-
|
|
93
|
-
**Direct API call:**
|
|
94
|
-
|
|
95
|
-
```javascript
|
|
96
|
-
import('@su-record/vibe/lib/gpt').then(g => g.quickWebSearch('weather today'))
|
|
97
|
-
import('@su-record/vibe/lib/gemini').then(g => g.
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
## Parallel Review Agents
|
|
101
|
-
|
|
102
|
-
`/vibe.review` runs 13+ agents concurrently:
|
|
103
|
-
|
|
104
|
-
| Category | Agents |
|
|
105
|
-
|----------|--------|
|
|
106
|
-
| Security | security-reviewer, data-integrity-reviewer |
|
|
107
|
-
| Performance | performance-reviewer, complexity-reviewer |
|
|
108
|
-
| Architecture | architecture-reviewer, simplicity-reviewer |
|
|
109
|
-
| Language | python, typescript, rails, react reviewers |
|
|
110
|
-
| Context | git-history, test-coverage reviewers |
|
|
111
|
-
|
|
112
|
-
**Priority:**
|
|
113
|
-
- 🔴 P1 (Critical): Blocks merge
|
|
114
|
-
- 🟡 P2 (Important): Recommended fix
|
|
115
|
-
- 🔵 P3 (Nice-to-have): Backlog
|
|
116
|
-
|
|
117
|
-
## Built-in Tools
|
|
118
|
-
|
|
119
|
-
| Tool | Description |
|
|
120
|
-
|------|-------------|
|
|
121
|
-
| `vibe_find_symbol` | Find symbol definition |
|
|
122
|
-
| `vibe_find_references` | Find references |
|
|
123
|
-
| `vibe_analyze_complexity` | Complexity analysis |
|
|
124
|
-
| `vibe_validate_code_quality` | Quality validation |
|
|
125
|
-
| `vibe_start_session` | Start session (restore previous context) |
|
|
126
|
-
| `vibe_save_memory` | Save important decisions |
|
|
127
|
-
| `vibe_auto_save_context` | Auto-save current state |
|
|
128
|
-
|
|
129
|
-
## Project Structure
|
|
130
|
-
|
|
131
|
-
**Global install (`~/.claude/`):**
|
|
132
|
-
|
|
133
|
-
```text
|
|
134
|
-
~/.claude/
|
|
135
|
-
├── commands/ # Slash commands (7)
|
|
136
|
-
├── agents/ # Review/research agents
|
|
137
|
-
├── skills/ # Auto-activated guides (7)
|
|
138
|
-
└── settings.json # Hooks + MCP settings
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
**Project-specific (`project/.claude/vibe/`):**
|
|
142
|
-
|
|
143
|
-
```text
|
|
144
|
-
.claude/vibe/
|
|
145
|
-
├── specs/ # SPEC documents
|
|
146
|
-
├── features/ # BDD scenarios
|
|
147
|
-
├── rules/ # Coding rules (per stack)
|
|
148
|
-
├── solutions/ # Solution archive
|
|
149
|
-
├── config.json # Project settings
|
|
150
|
-
└── constitution.md # Project principles
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
## Code Quality Standards
|
|
154
|
-
|
|
155
|
-
| Metric | Limit |
|
|
156
|
-
|--------|-------|
|
|
157
|
-
| Function length | 30 lines recommended, 50 allowed |
|
|
158
|
-
| Nesting depth | 3 levels max |
|
|
159
|
-
| Parameters | 5 max |
|
|
160
|
-
| Cyclomatic complexity | 10 max |
|
|
161
|
-
|
|
162
|
-
## Usage Example
|
|
163
|
-
|
|
164
|
-
```
|
|
165
|
-
User: /vibe.spec "login feature"
|
|
166
|
-
|
|
167
|
-
Claude: You're building a login feature! I have a few questions.
|
|
168
|
-
1. Auth method? (email/password, OAuth, Passkey)
|
|
169
|
-
2. Tech stack?
|
|
170
|
-
...
|
|
171
|
-
|
|
172
|
-
[Requirements confirmed via conversation]
|
|
173
|
-
[4 parallel research agents run]
|
|
174
|
-
|
|
175
|
-
✅ SPEC document created
|
|
176
|
-
📄 .claude/vibe/specs/login.md
|
|
177
|
-
📄 .claude/vibe/features/login.feature
|
|
178
|
-
|
|
179
|
-
Next: /vibe.run "login feature" ultrawork
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
## Requirements
|
|
183
|
-
|
|
184
|
-
- Node.js 18.0.0+
|
|
185
|
-
- Claude Code
|
|
186
|
-
|
|
187
|
-
## License
|
|
188
|
-
|
|
189
|
-
MIT - [GitHub](https://github.com/su-record/vibe)
|
|
190
|
-
|
|
191
|
-
## Vibe Setup (AI Coding)
|
|
192
|
-
|
|
193
|
-
This project uses [Vibe](https://github.com/su-record/vibe) AI coding framework.
|
|
194
|
-
|
|
195
|
-
### Collaborator Install
|
|
196
|
-
|
|
197
|
-
```bash
|
|
198
|
-
# Global install (recommended)
|
|
199
|
-
npm install -g @su-record/vibe
|
|
200
|
-
vibe update
|
|
201
|
-
|
|
202
|
-
# Or
|
|
203
|
-
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
### Usage
|
|
207
|
-
|
|
208
|
-
Use slash commands in Claude Code:
|
|
209
|
-
- `/vibe.spec "feature"` - Create SPEC document
|
|
210
|
-
- `/vibe.run "feature"` - Execute implementation
|
|
1
|
+
# Vibe
|
|
2
|
+
|
|
3
|
+
**SPEC-driven AI coding framework** (Claude Code only)
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/@su-record/vibe)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g @su-record/vibe
|
|
12
|
+
vibe init
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Commands
|
|
16
|
+
|
|
17
|
+
### Terminal
|
|
18
|
+
|
|
19
|
+
| Command | Description |
|
|
20
|
+
|---------|-------------|
|
|
21
|
+
| `vibe init` | Initialize project |
|
|
22
|
+
| `vibe update` | Update settings |
|
|
23
|
+
| `vibe status` | Check status |
|
|
24
|
+
| `vibe auth gpt` | GPT OAuth authentication |
|
|
25
|
+
| `vibe auth gemini` | Gemini OAuth authentication |
|
|
26
|
+
| `vibe logout gpt` | GPT logout |
|
|
27
|
+
| `vibe logout gemini` | Gemini logout |
|
|
28
|
+
| `vibe help` | Help |
|
|
29
|
+
| `vibe version` | Version info |
|
|
30
|
+
|
|
31
|
+
### Claude Code
|
|
32
|
+
|
|
33
|
+
| Command | Description |
|
|
34
|
+
|---------|-------------|
|
|
35
|
+
| `/vibe.spec "feature"` | Create SPEC + parallel research |
|
|
36
|
+
| `/vibe.run "feature"` | Execute implementation |
|
|
37
|
+
| `/vibe.run "feature" ultrawork` | Maximum performance mode |
|
|
38
|
+
| `/vibe.verify "feature"` | BDD verification |
|
|
39
|
+
| `/vibe.review` | 13+ agent parallel review |
|
|
40
|
+
| `/vibe.analyze` | Code analysis |
|
|
41
|
+
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
42
|
+
| `/vibe.utils` | Utilities (--e2e, --diagram, etc.) |
|
|
43
|
+
|
|
44
|
+
## Workflow
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
/vibe.spec → /vibe.run → /vibe.verify → /vibe.review
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Key Features
|
|
51
|
+
|
|
52
|
+
| Feature | Description |
|
|
53
|
+
|---------|-------------|
|
|
54
|
+
| **Multi-model orchestration** | Claude + GPT-5.2 + Gemini 3 Pro |
|
|
55
|
+
| **13+ parallel review agents** | Security, performance, architecture |
|
|
56
|
+
| **BDD auto verification** | Given/When/Then scenario verification |
|
|
57
|
+
| **ULTRAWORK mode** | One keyword enables all optimizations |
|
|
58
|
+
| **36 built-in tools** | Code analysis, memory management, quality validation |
|
|
59
|
+
| **Auto context management** | 80%+ auto-save, session restore |
|
|
60
|
+
|
|
61
|
+
## ULTRAWORK Mode
|
|
62
|
+
|
|
63
|
+
Enable maximum performance with `ultrawork` or `ulw`:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
/vibe.run "feature" ultrawork
|
|
67
|
+
/vibe.run "feature" ulw # Same
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
**Enabled features:**
|
|
71
|
+
- Parallel subagent exploration (3+ concurrent)
|
|
72
|
+
- Boulder Loop (auto-progress until all scenarios complete)
|
|
73
|
+
- Auto-retry on errors (max 3)
|
|
74
|
+
- Continuous execution without phase confirmation
|
|
75
|
+
- Auto-save at 80%+ context
|
|
76
|
+
|
|
77
|
+
## Multi-model Orchestration
|
|
78
|
+
|
|
79
|
+
Call GPT/Gemini directly with hook prefixes:
|
|
80
|
+
|
|
81
|
+
| LLM | Prefix | Example | Features |
|
|
82
|
+
|-----|--------|---------|----------|
|
|
83
|
+
| GPT | `gpt-`, `gpt.` | `gpt.weather today` | Web Search enabled |
|
|
84
|
+
| Gemini | `gemini-`, `gemini.` | `gemini.UI improvements` | Google Search enabled |
|
|
85
|
+
|
|
86
|
+
| Scenario | Recommended | Example |
|
|
87
|
+
|----------|-------------|---------|
|
|
88
|
+
| Latest info search | GPT | `gpt.React 19 changes` |
|
|
89
|
+
| UI/UX review | Gemini | `gemini.improve this form UX` |
|
|
90
|
+
| Architecture review | GPT | `gpt-review this architecture` |
|
|
91
|
+
| Code analysis | Gemini | `gemini-analyze this code` |
|
|
92
|
+
|
|
93
|
+
**Direct API call:**
|
|
94
|
+
|
|
95
|
+
```javascript
|
|
96
|
+
import('@su-record/vibe/lib/gpt').then(g => g.quickWebSearch('weather today'))
|
|
97
|
+
import('@su-record/vibe/lib/gemini').then(g => g.quickWebSearch('question'))
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Parallel Review Agents
|
|
101
|
+
|
|
102
|
+
`/vibe.review` runs 13+ agents concurrently:
|
|
103
|
+
|
|
104
|
+
| Category | Agents |
|
|
105
|
+
|----------|--------|
|
|
106
|
+
| Security | security-reviewer, data-integrity-reviewer |
|
|
107
|
+
| Performance | performance-reviewer, complexity-reviewer |
|
|
108
|
+
| Architecture | architecture-reviewer, simplicity-reviewer |
|
|
109
|
+
| Language | python, typescript, rails, react reviewers |
|
|
110
|
+
| Context | git-history, test-coverage reviewers |
|
|
111
|
+
|
|
112
|
+
**Priority:**
|
|
113
|
+
- 🔴 P1 (Critical): Blocks merge
|
|
114
|
+
- 🟡 P2 (Important): Recommended fix
|
|
115
|
+
- 🔵 P3 (Nice-to-have): Backlog
|
|
116
|
+
|
|
117
|
+
## Built-in Tools
|
|
118
|
+
|
|
119
|
+
| Tool | Description |
|
|
120
|
+
|------|-------------|
|
|
121
|
+
| `vibe_find_symbol` | Find symbol definition |
|
|
122
|
+
| `vibe_find_references` | Find references |
|
|
123
|
+
| `vibe_analyze_complexity` | Complexity analysis |
|
|
124
|
+
| `vibe_validate_code_quality` | Quality validation |
|
|
125
|
+
| `vibe_start_session` | Start session (restore previous context) |
|
|
126
|
+
| `vibe_save_memory` | Save important decisions |
|
|
127
|
+
| `vibe_auto_save_context` | Auto-save current state |
|
|
128
|
+
|
|
129
|
+
## Project Structure
|
|
130
|
+
|
|
131
|
+
**Global install (`~/.claude/`):**
|
|
132
|
+
|
|
133
|
+
```text
|
|
134
|
+
~/.claude/
|
|
135
|
+
├── commands/ # Slash commands (7)
|
|
136
|
+
├── agents/ # Review/research agents
|
|
137
|
+
├── skills/ # Auto-activated guides (7)
|
|
138
|
+
└── settings.json # Hooks + MCP settings
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
**Project-specific (`project/.claude/vibe/`):**
|
|
142
|
+
|
|
143
|
+
```text
|
|
144
|
+
.claude/vibe/
|
|
145
|
+
├── specs/ # SPEC documents
|
|
146
|
+
├── features/ # BDD scenarios
|
|
147
|
+
├── rules/ # Coding rules (per stack)
|
|
148
|
+
├── solutions/ # Solution archive
|
|
149
|
+
├── config.json # Project settings
|
|
150
|
+
└── constitution.md # Project principles
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Code Quality Standards
|
|
154
|
+
|
|
155
|
+
| Metric | Limit |
|
|
156
|
+
|--------|-------|
|
|
157
|
+
| Function length | 30 lines recommended, 50 allowed |
|
|
158
|
+
| Nesting depth | 3 levels max |
|
|
159
|
+
| Parameters | 5 max |
|
|
160
|
+
| Cyclomatic complexity | 10 max |
|
|
161
|
+
|
|
162
|
+
## Usage Example
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
User: /vibe.spec "login feature"
|
|
166
|
+
|
|
167
|
+
Claude: You're building a login feature! I have a few questions.
|
|
168
|
+
1. Auth method? (email/password, OAuth, Passkey)
|
|
169
|
+
2. Tech stack?
|
|
170
|
+
...
|
|
171
|
+
|
|
172
|
+
[Requirements confirmed via conversation]
|
|
173
|
+
[4 parallel research agents run]
|
|
174
|
+
|
|
175
|
+
✅ SPEC document created
|
|
176
|
+
📄 .claude/vibe/specs/login.md
|
|
177
|
+
📄 .claude/vibe/features/login.feature
|
|
178
|
+
|
|
179
|
+
Next: /vibe.run "login feature" ultrawork
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
## Requirements
|
|
183
|
+
|
|
184
|
+
- Node.js 18.0.0+
|
|
185
|
+
- Claude Code
|
|
186
|
+
|
|
187
|
+
## License
|
|
188
|
+
|
|
189
|
+
MIT - [GitHub](https://github.com/su-record/vibe)
|
|
190
|
+
|
|
191
|
+
## Vibe Setup (AI Coding)
|
|
192
|
+
|
|
193
|
+
This project uses [Vibe](https://github.com/su-record/vibe) AI coding framework.
|
|
194
|
+
|
|
195
|
+
### Collaborator Install
|
|
196
|
+
|
|
197
|
+
```bash
|
|
198
|
+
# Global install (recommended)
|
|
199
|
+
npm install -g @su-record/vibe
|
|
200
|
+
vibe update
|
|
201
|
+
|
|
202
|
+
# Or use vibe init to setup
|
|
203
|
+
vibe init
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
### Usage
|
|
207
|
+
|
|
208
|
+
Use slash commands in Claude Code:
|
|
209
|
+
- `/vibe.spec "feature"` - Create SPEC document
|
|
210
|
+
- `/vibe.run "feature"` - Execute implementation
|