@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.
- 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 +47 -3
- package/dist/lib/gemini-api.d.ts.map +1 -1
- package/dist/lib/gemini-api.js +253 -7
- package/dist/lib/gemini-api.js.map +1 -1
- package/dist/lib/gpt-api.d.ts +37 -5
- package/dist/lib/gpt-api.d.ts.map +1 -1
- package/dist/lib/gpt-api.js +396 -37
- 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 +215 -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/skills/tool-fallback.md
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Tool failure fallback strategies with circuit breaker. Auto-activates on API errors, search failures, timeouts, 429, 5xx, overloaded errors.
|
|
3
|
-
---
|
|
4
|
-
# Tool Fallback Strategies
|
|
5
|
-
|
|
6
|
-
Guide for finding alternatives when tools fail to continue work.
|
|
7
|
-
|
|
8
|
-
## Circuit Breaker Pattern
|
|
9
|
-
|
|
10
|
-
Track tool failures and temporarily disable unreliable tools:
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
Tool State Machine:
|
|
14
|
-
┌─────────┐ 3 failures ┌─────────┐ 30s cooldown ┌─────────────┐
|
|
15
|
-
│ CLOSED │ ─────────────→ │ OPEN │ ───────────────→ │ HALF-OPEN │
|
|
16
|
-
│ (normal)│ │ (block) │ │ (test 1 req)│
|
|
17
|
-
└─────────┘ └─────────┘ └─────────────┘
|
|
18
|
-
↑ │
|
|
19
|
-
│ success │
|
|
20
|
-
└────────────────────────────────────────────────────────┘
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
| State | Behavior |
|
|
24
|
-
|-------|----------|
|
|
25
|
-
| **CLOSED** | Normal operation, count failures |
|
|
26
|
-
| **OPEN** | Block all requests, use alternative immediately |
|
|
27
|
-
| **HALF-OPEN** | Allow 1 test request after cooldown |
|
|
28
|
-
|
|
29
|
-
**Per-tool tracking:**
|
|
30
|
-
```
|
|
31
|
-
GPT hook: failures=2, state=CLOSED
|
|
32
|
-
Gemini hook: failures=0, state=CLOSED
|
|
33
|
-
WebSearch: failures=3, state=OPEN (blocked until 14:32:00)
|
|
34
|
-
context7: failures=1, state=CLOSED
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## When Web Search Fails
|
|
38
|
-
|
|
39
|
-
| Alternative | Method |
|
|
40
|
-
|-------------|--------|
|
|
41
|
-
| context7 MCP | `mcp__context7__query-docs` |
|
|
42
|
-
| GPT hook | `gpt- [your question]` |
|
|
43
|
-
| Cached knowledge | Use Claude's built-in knowledge |
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
Web Search fails (429, 529, timeout)
|
|
47
|
-
↓
|
|
48
|
-
Check circuit breaker state
|
|
49
|
-
↓
|
|
50
|
-
If OPEN → Skip to alternative immediately
|
|
51
|
-
↓
|
|
52
|
-
If CLOSED → Try context7 for library docs
|
|
53
|
-
↓
|
|
54
|
-
If still fails: gpt- [question]
|
|
55
|
-
↓
|
|
56
|
-
Last resort: Claude's built-in knowledge
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
## API Error Responses
|
|
60
|
-
|
|
61
|
-
| Error | Cause | Response | Circuit Breaker |
|
|
62
|
-
|-------|-------|----------|-----------------|
|
|
63
|
-
| 429 | Rate Limit | Exponential backoff | +1 failure count |
|
|
64
|
-
| 5xx | Server Error | Switch to alternative | +1 failure count |
|
|
65
|
-
| 529 | Overloaded | Wait and retry | +1 failure count |
|
|
66
|
-
| Timeout | Network | Split request or retry | +1 failure count |
|
|
67
|
-
| 401/403 | Auth Error | Re-auth or alternative | Don't count (auth issue) |
|
|
68
|
-
|
|
69
|
-
## When File/Code Not Found
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
Glob fails
|
|
73
|
-
↓
|
|
74
|
-
Expand pattern: *.ts → **/*.ts → **/*
|
|
75
|
-
↓
|
|
76
|
-
Use Grep for content-based search
|
|
77
|
-
↓
|
|
78
|
-
Check git log for history
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
## When LLM Hook Fails
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
gpt- or gpt. [question] fails
|
|
85
|
-
↓
|
|
86
|
-
Check circuit: If OPEN, skip to next
|
|
87
|
-
↓
|
|
88
|
-
Try gemini- or gemini. [question] (similar capability)
|
|
89
|
-
↓
|
|
90
|
-
Try context7 (for docs)
|
|
91
|
-
↓
|
|
92
|
-
Claude solves alone
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
## Retry Strategy with Circuit Breaker
|
|
96
|
-
|
|
97
|
-
```
|
|
98
|
-
Request to tool
|
|
99
|
-
↓
|
|
100
|
-
Check circuit state
|
|
101
|
-
↓
|
|
102
|
-
┌─ OPEN? ──→ Use alternative immediately (no retry)
|
|
103
|
-
│
|
|
104
|
-
└─ CLOSED/HALF-OPEN? ──→ Try request
|
|
105
|
-
↓
|
|
106
|
-
Success? ──→ Reset failure count
|
|
107
|
-
↓ No
|
|
108
|
-
Retry with backoff:
|
|
109
|
-
retry(1): wait 2s
|
|
110
|
-
retry(2): wait 4s
|
|
111
|
-
retry(3): wait 8s
|
|
112
|
-
↓
|
|
113
|
-
All failed? ──→ +1 failure, check threshold
|
|
114
|
-
↓
|
|
115
|
-
failures >= 3? ──→ OPEN circuit for 30s
|
|
116
|
-
↓
|
|
117
|
-
Use alternative
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Principles
|
|
121
|
-
|
|
122
|
-
1. **Never stop** - Always find an alternative
|
|
123
|
-
2. **Before asking user** - Try alternatives first
|
|
124
|
-
3. **Track failures** - Open circuit after 3 consecutive failures
|
|
125
|
-
4. **Auto-recover** - Test after 30s cooldown
|
|
126
|
-
5. **Fail fast** - Skip blocked tools immediately
|
|
1
|
+
---
|
|
2
|
+
description: Tool failure fallback strategies with circuit breaker. Auto-activates on API errors, search failures, timeouts, 429, 5xx, overloaded errors.
|
|
3
|
+
---
|
|
4
|
+
# Tool Fallback Strategies
|
|
5
|
+
|
|
6
|
+
Guide for finding alternatives when tools fail to continue work.
|
|
7
|
+
|
|
8
|
+
## Circuit Breaker Pattern
|
|
9
|
+
|
|
10
|
+
Track tool failures and temporarily disable unreliable tools:
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
Tool State Machine:
|
|
14
|
+
┌─────────┐ 3 failures ┌─────────┐ 30s cooldown ┌─────────────┐
|
|
15
|
+
│ CLOSED │ ─────────────→ │ OPEN │ ───────────────→ │ HALF-OPEN │
|
|
16
|
+
│ (normal)│ │ (block) │ │ (test 1 req)│
|
|
17
|
+
└─────────┘ └─────────┘ └─────────────┘
|
|
18
|
+
↑ │
|
|
19
|
+
│ success │
|
|
20
|
+
└────────────────────────────────────────────────────────┘
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
| State | Behavior |
|
|
24
|
+
|-------|----------|
|
|
25
|
+
| **CLOSED** | Normal operation, count failures |
|
|
26
|
+
| **OPEN** | Block all requests, use alternative immediately |
|
|
27
|
+
| **HALF-OPEN** | Allow 1 test request after cooldown |
|
|
28
|
+
|
|
29
|
+
**Per-tool tracking:**
|
|
30
|
+
```
|
|
31
|
+
GPT hook: failures=2, state=CLOSED
|
|
32
|
+
Gemini hook: failures=0, state=CLOSED
|
|
33
|
+
WebSearch: failures=3, state=OPEN (blocked until 14:32:00)
|
|
34
|
+
context7: failures=1, state=CLOSED
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## When Web Search Fails
|
|
38
|
+
|
|
39
|
+
| Alternative | Method |
|
|
40
|
+
|-------------|--------|
|
|
41
|
+
| context7 MCP | `mcp__context7__query-docs` |
|
|
42
|
+
| GPT hook | `gpt- [your question]` |
|
|
43
|
+
| Cached knowledge | Use Claude's built-in knowledge |
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Web Search fails (429, 529, timeout)
|
|
47
|
+
↓
|
|
48
|
+
Check circuit breaker state
|
|
49
|
+
↓
|
|
50
|
+
If OPEN → Skip to alternative immediately
|
|
51
|
+
↓
|
|
52
|
+
If CLOSED → Try context7 for library docs
|
|
53
|
+
↓
|
|
54
|
+
If still fails: gpt- [question]
|
|
55
|
+
↓
|
|
56
|
+
Last resort: Claude's built-in knowledge
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
## API Error Responses
|
|
60
|
+
|
|
61
|
+
| Error | Cause | Response | Circuit Breaker |
|
|
62
|
+
|-------|-------|----------|-----------------|
|
|
63
|
+
| 429 | Rate Limit | Exponential backoff | +1 failure count |
|
|
64
|
+
| 5xx | Server Error | Switch to alternative | +1 failure count |
|
|
65
|
+
| 529 | Overloaded | Wait and retry | +1 failure count |
|
|
66
|
+
| Timeout | Network | Split request or retry | +1 failure count |
|
|
67
|
+
| 401/403 | Auth Error | Re-auth or alternative | Don't count (auth issue) |
|
|
68
|
+
|
|
69
|
+
## When File/Code Not Found
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
Glob fails
|
|
73
|
+
↓
|
|
74
|
+
Expand pattern: *.ts → **/*.ts → **/*
|
|
75
|
+
↓
|
|
76
|
+
Use Grep for content-based search
|
|
77
|
+
↓
|
|
78
|
+
Check git log for history
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## When LLM Hook Fails
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
gpt- or gpt. [question] fails
|
|
85
|
+
↓
|
|
86
|
+
Check circuit: If OPEN, skip to next
|
|
87
|
+
↓
|
|
88
|
+
Try gemini- or gemini. [question] (similar capability)
|
|
89
|
+
↓
|
|
90
|
+
Try context7 (for docs)
|
|
91
|
+
↓
|
|
92
|
+
Claude solves alone
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
## Retry Strategy with Circuit Breaker
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Request to tool
|
|
99
|
+
↓
|
|
100
|
+
Check circuit state
|
|
101
|
+
↓
|
|
102
|
+
┌─ OPEN? ──→ Use alternative immediately (no retry)
|
|
103
|
+
│
|
|
104
|
+
└─ CLOSED/HALF-OPEN? ──→ Try request
|
|
105
|
+
↓
|
|
106
|
+
Success? ──→ Reset failure count
|
|
107
|
+
↓ No
|
|
108
|
+
Retry with backoff:
|
|
109
|
+
retry(1): wait 2s
|
|
110
|
+
retry(2): wait 4s
|
|
111
|
+
retry(3): wait 8s
|
|
112
|
+
↓
|
|
113
|
+
All failed? ──→ +1 failure, check threshold
|
|
114
|
+
↓
|
|
115
|
+
failures >= 3? ──→ OPEN circuit for 30s
|
|
116
|
+
↓
|
|
117
|
+
Use alternative
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Principles
|
|
121
|
+
|
|
122
|
+
1. **Never stop** - Always find an alternative
|
|
123
|
+
2. **Before asking user** - Try alternatives first
|
|
124
|
+
3. **Track failures** - Open circuit after 3 consecutive failures
|
|
125
|
+
4. **Auto-recover** - Test after 30s cooldown
|
|
126
|
+
5. **Fail fast** - Skip blocked tools immediately
|
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Vibe framework capabilities overview. Auto-activates when working on vibe projects, asking about available features, or needing workflow guidance.
|
|
3
|
-
---
|
|
4
|
-
# Vibe Capabilities
|
|
5
|
-
|
|
6
|
-
Complete guide to vibe's scenario-driven development framework.
|
|
7
|
-
|
|
8
|
-
## Core Workflow
|
|
9
|
-
|
|
10
|
-
```
|
|
11
|
-
/vibe.spec → /vibe.run → /vibe.verify → /vibe.review
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
## Slash Commands
|
|
15
|
-
|
|
16
|
-
| Command | Purpose |
|
|
17
|
-
|---------|---------|
|
|
18
|
-
| `/vibe.spec "feature"` | Create SPEC with PTCF structure + parallel research |
|
|
19
|
-
| `/vibe.run "feature"` | Implement based on SPEC |
|
|
20
|
-
| `/vibe.run "feature" ultrawork` | Maximum performance mode |
|
|
21
|
-
| `/vibe.verify "feature"` | BDD scenario verification |
|
|
22
|
-
| `/vibe.review` | Parallel code review (13+ agents) |
|
|
23
|
-
| `/vibe.analyze` | Project analysis |
|
|
24
|
-
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
25
|
-
| `/vibe.utils --e2e` | Playwright E2E testing |
|
|
26
|
-
| `/vibe.utils --compound` | Document solutions |
|
|
27
|
-
|
|
28
|
-
## Built-in Tools
|
|
29
|
-
|
|
30
|
-
### Semantic Code Analysis
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
node -e "import('@su-record/vibe/tools').then(t => t.TOOL_NAME({...}))"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
| Tool | Purpose |
|
|
37
|
-
|------|---------|
|
|
38
|
-
| `findSymbol` | Find symbol definitions |
|
|
39
|
-
| `findReferences` | Find all references |
|
|
40
|
-
| `analyzeComplexity` | Code complexity analysis |
|
|
41
|
-
| `validateCodeQuality` | Quality validation |
|
|
42
|
-
|
|
43
|
-
### Memory Management
|
|
44
|
-
|
|
45
|
-
| Tool | Purpose |
|
|
46
|
-
|------|---------|
|
|
47
|
-
| `startSession` | Start session (restore previous context) |
|
|
48
|
-
| `autoSaveContext` | Save current state |
|
|
49
|
-
| `saveMemory` | Save important decisions |
|
|
50
|
-
| `recallMemory` | Recall saved memory |
|
|
51
|
-
| `listMemories` | List saved memories |
|
|
52
|
-
|
|
53
|
-
## Orchestrator
|
|
54
|
-
|
|
55
|
-
### Parallel Research (4 agents)
|
|
56
|
-
|
|
57
|
-
```bash
|
|
58
|
-
node -e "import('@su-record/vibe/orchestrator').then(o =>
|
|
59
|
-
o.research('feature', ['stack1', 'stack2'])
|
|
60
|
-
)"
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Background Agents
|
|
64
|
-
|
|
65
|
-
```bash
|
|
66
|
-
node -e "import('@su-record/vibe/orchestrator').then(o =>
|
|
67
|
-
o.launchBackgroundAgent({ prompt: '...', agentName: '...' })
|
|
68
|
-
)"
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## LLM Integrations (Hooks)
|
|
72
|
-
|
|
73
|
-
Use prefix patterns to call GPT/Gemini:
|
|
74
|
-
|
|
75
|
-
| LLM | Prefix | Example | Features |
|
|
76
|
-
|-----|--------|---------|----------|
|
|
77
|
-
| GPT | `gpt-`, `gpt.`, `지피티-` | `gpt.오늘 서울 날씨` | Web Search enabled |
|
|
78
|
-
| Gemini | `gemini-`, `gemini.`, `제미나이-` | `gemini.Analyze UX` | Google Search enabled |
|
|
79
|
-
| context7 | MCP call | Library documentation | - |
|
|
80
|
-
|
|
81
|
-
## ULTRAWORK Mode
|
|
82
|
-
|
|
83
|
-
Add `ultrawork` or `ulw` for maximum performance:
|
|
84
|
-
|
|
85
|
-
- Parallel subagent exploration (3+ concurrent)
|
|
86
|
-
- Background agents preparing next phase
|
|
87
|
-
- Phase pipelining (no wait between phases)
|
|
88
|
-
- Boulder Loop (auto-progress until complete)
|
|
89
|
-
- Auto-retry on errors (max 3 times)
|
|
90
|
-
- Auto-compress at 70%+ context
|
|
91
|
-
|
|
92
|
-
## Review Agents (13+)
|
|
93
|
-
|
|
94
|
-
| Category | Agents |
|
|
95
|
-
|----------|--------|
|
|
96
|
-
| Security | security-reviewer, data-integrity-reviewer |
|
|
97
|
-
| Performance | performance-reviewer, complexity-reviewer |
|
|
98
|
-
| Architecture | architecture-reviewer, simplicity-reviewer |
|
|
99
|
-
| Language | python, typescript, rails, react reviewers |
|
|
100
|
-
| Context | git-history, test-coverage reviewers |
|
|
101
|
-
|
|
102
|
-
## Project Structure
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
.claude/
|
|
106
|
-
├── commands/ # Slash commands
|
|
107
|
-
├── agents/ # Sub-agents
|
|
108
|
-
├── skills/ # Auto-activated guides
|
|
109
|
-
└── vibe/
|
|
110
|
-
├── specs/ # SPEC documents
|
|
111
|
-
├── features/ # BDD scenarios
|
|
112
|
-
├── rules/ # Coding rules
|
|
113
|
-
└── solutions/ # Documented solutions
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
## Context Management
|
|
117
|
-
|
|
118
|
-
- Session start: Auto-restore previous context
|
|
119
|
-
- 70/80/90%: Auto-save checkpoints
|
|
120
|
-
- Context overflow: Use `saveMemory` → `/new`
|
|
121
|
-
|
|
122
|
-
## Without Commands
|
|
123
|
-
|
|
124
|
-
Even without `/vibe.*` commands, you can:
|
|
125
|
-
|
|
126
|
-
1. Call tools directly via node commands
|
|
127
|
-
2. Use LLM hooks (`gpt-`, `gemini-`)
|
|
128
|
-
3. Reference skills for guidance
|
|
129
|
-
4. Apply coding rules from `.claude/vibe/rules/`
|
|
1
|
+
---
|
|
2
|
+
description: Vibe framework capabilities overview. Auto-activates when working on vibe projects, asking about available features, or needing workflow guidance.
|
|
3
|
+
---
|
|
4
|
+
# Vibe Capabilities
|
|
5
|
+
|
|
6
|
+
Complete guide to vibe's scenario-driven development framework.
|
|
7
|
+
|
|
8
|
+
## Core Workflow
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
/vibe.spec → /vibe.run → /vibe.verify → /vibe.review
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Slash Commands
|
|
15
|
+
|
|
16
|
+
| Command | Purpose |
|
|
17
|
+
|---------|---------|
|
|
18
|
+
| `/vibe.spec "feature"` | Create SPEC with PTCF structure + parallel research |
|
|
19
|
+
| `/vibe.run "feature"` | Implement based on SPEC |
|
|
20
|
+
| `/vibe.run "feature" ultrawork` | Maximum performance mode |
|
|
21
|
+
| `/vibe.verify "feature"` | BDD scenario verification |
|
|
22
|
+
| `/vibe.review` | Parallel code review (13+ agents) |
|
|
23
|
+
| `/vibe.analyze` | Project analysis |
|
|
24
|
+
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
25
|
+
| `/vibe.utils --e2e` | Playwright E2E testing |
|
|
26
|
+
| `/vibe.utils --compound` | Document solutions |
|
|
27
|
+
|
|
28
|
+
## Built-in Tools
|
|
29
|
+
|
|
30
|
+
### Semantic Code Analysis
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
node -e "import('@su-record/vibe/tools').then(t => t.TOOL_NAME({...}))"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
| Tool | Purpose |
|
|
37
|
+
|------|---------|
|
|
38
|
+
| `findSymbol` | Find symbol definitions |
|
|
39
|
+
| `findReferences` | Find all references |
|
|
40
|
+
| `analyzeComplexity` | Code complexity analysis |
|
|
41
|
+
| `validateCodeQuality` | Quality validation |
|
|
42
|
+
|
|
43
|
+
### Memory Management
|
|
44
|
+
|
|
45
|
+
| Tool | Purpose |
|
|
46
|
+
|------|---------|
|
|
47
|
+
| `startSession` | Start session (restore previous context) |
|
|
48
|
+
| `autoSaveContext` | Save current state |
|
|
49
|
+
| `saveMemory` | Save important decisions |
|
|
50
|
+
| `recallMemory` | Recall saved memory |
|
|
51
|
+
| `listMemories` | List saved memories |
|
|
52
|
+
|
|
53
|
+
## Orchestrator
|
|
54
|
+
|
|
55
|
+
### Parallel Research (4 agents)
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
node -e "import('@su-record/vibe/orchestrator').then(o =>
|
|
59
|
+
o.research('feature', ['stack1', 'stack2'])
|
|
60
|
+
)"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Background Agents
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
node -e "import('@su-record/vibe/orchestrator').then(o =>
|
|
67
|
+
o.launchBackgroundAgent({ prompt: '...', agentName: '...' })
|
|
68
|
+
)"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## LLM Integrations (Hooks)
|
|
72
|
+
|
|
73
|
+
Use prefix patterns to call GPT/Gemini:
|
|
74
|
+
|
|
75
|
+
| LLM | Prefix | Example | Features |
|
|
76
|
+
|-----|--------|---------|----------|
|
|
77
|
+
| GPT | `gpt-`, `gpt.`, `지피티-` | `gpt.오늘 서울 날씨` | Web Search enabled |
|
|
78
|
+
| Gemini | `gemini-`, `gemini.`, `제미나이-` | `gemini.Analyze UX` | Google Search enabled |
|
|
79
|
+
| context7 | MCP call | Library documentation | - |
|
|
80
|
+
|
|
81
|
+
## ULTRAWORK Mode
|
|
82
|
+
|
|
83
|
+
Add `ultrawork` or `ulw` for maximum performance:
|
|
84
|
+
|
|
85
|
+
- Parallel subagent exploration (3+ concurrent)
|
|
86
|
+
- Background agents preparing next phase
|
|
87
|
+
- Phase pipelining (no wait between phases)
|
|
88
|
+
- Boulder Loop (auto-progress until complete)
|
|
89
|
+
- Auto-retry on errors (max 3 times)
|
|
90
|
+
- Auto-compress at 70%+ context
|
|
91
|
+
|
|
92
|
+
## Review Agents (13+)
|
|
93
|
+
|
|
94
|
+
| Category | Agents |
|
|
95
|
+
|----------|--------|
|
|
96
|
+
| Security | security-reviewer, data-integrity-reviewer |
|
|
97
|
+
| Performance | performance-reviewer, complexity-reviewer |
|
|
98
|
+
| Architecture | architecture-reviewer, simplicity-reviewer |
|
|
99
|
+
| Language | python, typescript, rails, react reviewers |
|
|
100
|
+
| Context | git-history, test-coverage reviewers |
|
|
101
|
+
|
|
102
|
+
## Project Structure
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
.claude/
|
|
106
|
+
├── commands/ # Slash commands
|
|
107
|
+
├── agents/ # Sub-agents
|
|
108
|
+
├── skills/ # Auto-activated guides
|
|
109
|
+
└── vibe/
|
|
110
|
+
├── specs/ # SPEC documents
|
|
111
|
+
├── features/ # BDD scenarios
|
|
112
|
+
├── rules/ # Coding rules
|
|
113
|
+
└── solutions/ # Documented solutions
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
## Context Management
|
|
117
|
+
|
|
118
|
+
- Session start: Auto-restore previous context
|
|
119
|
+
- 70/80/90%: Auto-save checkpoints
|
|
120
|
+
- Context overflow: Use `saveMemory` → `/new`
|
|
121
|
+
|
|
122
|
+
## Without Commands
|
|
123
|
+
|
|
124
|
+
Even without `/vibe.*` commands, you can:
|
|
125
|
+
|
|
126
|
+
1. Call tools directly via node commands
|
|
127
|
+
2. Use LLM hooks (`gpt-`, `gemini-`)
|
|
128
|
+
3. Reference skills for guidance
|
|
129
|
+
4. Apply coding rules from `.claude/vibe/rules/`
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"models": {
|
|
3
3
|
"gpt": {
|
|
4
|
-
"enabled":
|
|
4
|
+
"enabled": false,
|
|
5
|
+
"authType": "oauth",
|
|
5
6
|
"role": "architecture",
|
|
6
7
|
"description": "아키텍처/디버깅 (GPT 5.2)"
|
|
7
8
|
},
|
|
8
9
|
"gemini": {
|
|
9
|
-
"enabled":
|
|
10
|
+
"enabled": false,
|
|
10
11
|
"authType": "oauth",
|
|
11
|
-
"email": "su@fallingo.app",
|
|
12
12
|
"role": "exploration",
|
|
13
13
|
"description": "Gemini 3 Flash/Pro (탐색, UI/UX)"
|
|
14
14
|
}
|