@su-record/vibe 2.5.9 → 2.5.11
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 +448 -348
- package/LICENSE +21 -21
- package/README.md +262 -262
- package/agents/architect-low.md +41 -0
- package/agents/architect-medium.md +59 -0
- package/agents/architect.md +80 -0
- package/agents/build-error-resolver.md +115 -115
- package/agents/compounder.md +261 -261
- package/agents/diagrammer.md +178 -178
- package/agents/e2e-tester.md +266 -266
- package/agents/explorer-low.md +42 -0
- package/agents/explorer-medium.md +59 -0
- package/agents/explorer.md +48 -48
- package/agents/implementer-low.md +43 -0
- package/agents/implementer-medium.md +52 -0
- package/agents/implementer.md +54 -54
- package/agents/refactor-cleaner.md +143 -143
- package/agents/research/best-practices-agent.md +189 -189
- 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 +203 -203
- 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 +120 -120
- package/agents/tester.md +49 -49
- package/agents/ui-previewer.md +129 -129
- package/commands/vibe.analyze.md +356 -356
- package/commands/vibe.reason.md +329 -329
- package/commands/vibe.review.md +326 -326
- package/commands/vibe.run.md +1051 -1031
- package/commands/vibe.spec.md +1058 -1022
- package/commands/vibe.utils.md +296 -296
- package/commands/vibe.verify.md +375 -375
- package/dist/cli/collaborator.js +52 -52
- package/dist/cli/detect.js +32 -32
- package/dist/cli/index.js +102 -102
- package/dist/cli/llm.js +144 -144
- package/dist/lib/DeepInit.d.ts +62 -0
- package/dist/lib/DeepInit.d.ts.map +1 -0
- package/dist/lib/DeepInit.js +247 -0
- package/dist/lib/DeepInit.js.map +1 -0
- package/dist/lib/IterationTracker.d.ts +81 -0
- package/dist/lib/IterationTracker.d.ts.map +1 -0
- package/dist/lib/IterationTracker.js +190 -0
- package/dist/lib/IterationTracker.js.map +1 -0
- package/dist/lib/ModelRouter.d.ts +50 -0
- package/dist/lib/ModelRouter.d.ts.map +1 -0
- package/dist/lib/ModelRouter.js +218 -0
- package/dist/lib/ModelRouter.js.map +1 -0
- package/dist/lib/OrchestrateWorkflow.d.ts +90 -0
- package/dist/lib/OrchestrateWorkflow.d.ts.map +1 -0
- package/dist/lib/OrchestrateWorkflow.js +261 -0
- package/dist/lib/OrchestrateWorkflow.js.map +1 -0
- package/dist/lib/PythonParser.js +108 -108
- package/dist/lib/SkillFrontmatter.d.ts +64 -0
- package/dist/lib/SkillFrontmatter.d.ts.map +1 -0
- package/dist/lib/SkillFrontmatter.js +221 -0
- package/dist/lib/SkillFrontmatter.js.map +1 -0
- package/dist/lib/SkillQualityGate.d.ts +40 -0
- package/dist/lib/SkillQualityGate.d.ts.map +1 -0
- package/dist/lib/SkillQualityGate.js +218 -0
- package/dist/lib/SkillQualityGate.js.map +1 -0
- package/dist/lib/UltraQA.d.ts +70 -0
- package/dist/lib/UltraQA.d.ts.map +1 -0
- package/dist/lib/UltraQA.js +234 -0
- package/dist/lib/UltraQA.js.map +1 -0
- package/dist/lib/gpt-api.js +4 -4
- package/dist/lib/memory/KnowledgeGraph.js +4 -4
- package/dist/lib/memory/MemorySearch.js +20 -20
- package/dist/lib/memory/MemoryStorage.js +64 -64
- package/dist/tools/convention/analyzeComplexity.test.js +115 -115
- package/dist/tools/convention/validateCodeQuality.test.js +104 -104
- package/dist/tools/index.d.ts +7 -0
- package/dist/tools/index.d.ts.map +1 -1
- package/dist/tools/index.js +12 -0
- package/dist/tools/index.js.map +1 -1
- package/hooks/hooks.json +222 -204
- package/hooks/scripts/code-check.js +22 -22
- package/hooks/scripts/code-review.js +22 -22
- package/hooks/scripts/complexity.js +22 -22
- package/hooks/scripts/compound.js +23 -23
- package/hooks/scripts/context-save.js +33 -33
- package/hooks/scripts/hud-multiline.js +264 -0
- package/hooks/scripts/hud-status.js +293 -0
- package/hooks/scripts/keyword-detector.js +216 -0
- package/hooks/scripts/llm-orchestrate.js +171 -171
- package/hooks/scripts/post-edit.js +97 -97
- package/hooks/scripts/post-tool-verify.js +212 -0
- package/hooks/scripts/pre-tool-guard.js +127 -0
- package/hooks/scripts/recall.js +22 -22
- package/hooks/scripts/session-start.js +30 -30
- package/hooks/scripts/skill-injector.js +193 -0
- package/hooks/scripts/utils.js +97 -97
- package/languages/csharp-unity.md +515 -515
- package/languages/gdscript-godot.md +470 -470
- package/languages/ruby-rails.md +489 -489
- package/languages/typescript-angular.md +433 -433
- package/languages/typescript-astro.md +416 -416
- package/languages/typescript-electron.md +406 -406
- package/languages/typescript-nestjs.md +524 -524
- package/languages/typescript-svelte.md +407 -407
- package/languages/typescript-tauri.md +365 -365
- package/package.json +83 -83
- package/skills/context7-usage.md +102 -102
- package/skills/git-worktree.md +181 -181
- package/skills/parallel-research.md +77 -77
- package/skills/priority-todos.md +239 -239
- package/skills/tool-fallback.md +190 -190
- package/skills/vibe-capabilities.md +161 -161
- package/vibe/constitution.md +227 -227
- package/vibe/rules/core/communication-guide.md +98 -98
- package/vibe/rules/core/development-philosophy.md +52 -52
- package/vibe/rules/core/quick-start.md +102 -102
- package/vibe/rules/quality/bdd-contract-testing.md +393 -393
- package/vibe/rules/quality/checklist.md +276 -276
- package/vibe/rules/quality/testing-strategy.md +440 -440
- package/vibe/rules/standards/anti-patterns.md +541 -541
- package/vibe/rules/standards/code-structure.md +291 -291
- package/vibe/rules/standards/complexity-metrics.md +313 -313
- package/vibe/rules/standards/naming-conventions.md +198 -198
- package/vibe/setup.sh +31 -31
- package/vibe/templates/constitution-template.md +252 -252
- package/vibe/templates/contract-backend-template.md +526 -526
- package/vibe/templates/contract-frontend-template.md +599 -599
- package/vibe/templates/feature-template.md +96 -96
- package/vibe/templates/spec-template.md +221 -221
- package/dist/cli/mcp.d.ts +0 -49
- package/dist/cli/mcp.d.ts.map +0 -1
- package/dist/cli/mcp.js +0 -169
- package/dist/cli/mcp.js.map +0 -1
- package/dist/lib/gemini-mcp.d.ts +0 -10
- package/dist/lib/gemini-mcp.d.ts.map +0 -1
- package/dist/lib/gemini-mcp.js +0 -353
- package/dist/lib/gemini-mcp.js.map +0 -1
- package/dist/lib/gpt-mcp.d.ts +0 -10
- package/dist/lib/gpt-mcp.d.ts.map +0 -1
- package/dist/lib/gpt-mcp.js +0 -352
- package/dist/lib/gpt-mcp.js.map +0 -1
- package/dist/tools/analytics/getUsageAnalytics.d.ts +0 -10
- package/dist/tools/analytics/getUsageAnalytics.d.ts.map +0 -1
- package/dist/tools/analytics/getUsageAnalytics.js +0 -246
- package/dist/tools/analytics/getUsageAnalytics.js.map +0 -1
- package/dist/tools/analytics/index.d.ts +0 -5
- package/dist/tools/analytics/index.d.ts.map +0 -1
- package/dist/tools/analytics/index.js +0 -5
- package/dist/tools/analytics/index.js.map +0 -1
- package/dist/tools/convention/getCodingGuide.d.ts +0 -7
- package/dist/tools/convention/getCodingGuide.d.ts.map +0 -1
- package/dist/tools/convention/getCodingGuide.js +0 -69
- package/dist/tools/convention/getCodingGuide.js.map +0 -1
- package/dist/tools/planning/analyzeRequirements.d.ts +0 -9
- package/dist/tools/planning/analyzeRequirements.d.ts.map +0 -1
- package/dist/tools/planning/analyzeRequirements.js +0 -171
- package/dist/tools/planning/analyzeRequirements.js.map +0 -1
- package/dist/tools/planning/createUserStories.d.ts +0 -9
- package/dist/tools/planning/createUserStories.d.ts.map +0 -1
- package/dist/tools/planning/createUserStories.js +0 -124
- package/dist/tools/planning/createUserStories.js.map +0 -1
- package/dist/tools/planning/featureRoadmap.d.ts +0 -10
- package/dist/tools/planning/featureRoadmap.d.ts.map +0 -1
- package/dist/tools/planning/featureRoadmap.js +0 -207
- package/dist/tools/planning/featureRoadmap.js.map +0 -1
- package/dist/tools/planning/generatePrd.d.ts +0 -11
- package/dist/tools/planning/generatePrd.d.ts.map +0 -1
- package/dist/tools/planning/generatePrd.js +0 -161
- package/dist/tools/planning/generatePrd.js.map +0 -1
- package/dist/tools/planning/index.d.ts +0 -8
- package/dist/tools/planning/index.d.ts.map +0 -1
- package/dist/tools/planning/index.js +0 -8
- package/dist/tools/planning/index.js.map +0 -1
- package/dist/tools/prompt/analyzePrompt.d.ts +0 -7
- package/dist/tools/prompt/analyzePrompt.d.ts.map +0 -1
- package/dist/tools/prompt/analyzePrompt.js +0 -150
- package/dist/tools/prompt/analyzePrompt.js.map +0 -1
- package/dist/tools/prompt/enhancePrompt.d.ts +0 -8
- package/dist/tools/prompt/enhancePrompt.d.ts.map +0 -1
- package/dist/tools/prompt/enhancePrompt.js +0 -110
- package/dist/tools/prompt/enhancePrompt.js.map +0 -1
- package/dist/tools/prompt/enhancePromptGemini.d.ts +0 -8
- package/dist/tools/prompt/enhancePromptGemini.d.ts.map +0 -1
- package/dist/tools/prompt/enhancePromptGemini.js +0 -332
- package/dist/tools/prompt/enhancePromptGemini.js.map +0 -1
- package/dist/tools/prompt/index.d.ts +0 -7
- package/dist/tools/prompt/index.d.ts.map +0 -1
- package/dist/tools/prompt/index.js +0 -7
- package/dist/tools/prompt/index.js.map +0 -1
- package/dist/tools/reasoning/applyReasoningFramework.d.ts +0 -8
- package/dist/tools/reasoning/applyReasoningFramework.d.ts.map +0 -1
- package/dist/tools/reasoning/applyReasoningFramework.js +0 -266
- package/dist/tools/reasoning/applyReasoningFramework.js.map +0 -1
- package/dist/tools/reasoning/index.d.ts +0 -5
- package/dist/tools/reasoning/index.d.ts.map +0 -1
- package/dist/tools/reasoning/index.js +0 -5
- package/dist/tools/reasoning/index.js.map +0 -1
- package/dist/tools/thinking/analyzeProblem.d.ts +0 -7
- package/dist/tools/thinking/analyzeProblem.d.ts.map +0 -1
- package/dist/tools/thinking/analyzeProblem.js +0 -55
- package/dist/tools/thinking/analyzeProblem.js.map +0 -1
- package/dist/tools/thinking/breakDownProblem.d.ts +0 -8
- package/dist/tools/thinking/breakDownProblem.d.ts.map +0 -1
- package/dist/tools/thinking/breakDownProblem.js +0 -145
- package/dist/tools/thinking/breakDownProblem.js.map +0 -1
- package/dist/tools/thinking/createThinkingChain.d.ts +0 -7
- package/dist/tools/thinking/createThinkingChain.d.ts.map +0 -1
- package/dist/tools/thinking/createThinkingChain.js +0 -44
- package/dist/tools/thinking/createThinkingChain.js.map +0 -1
- package/dist/tools/thinking/formatAsPlan.d.ts +0 -9
- package/dist/tools/thinking/formatAsPlan.d.ts.map +0 -1
- package/dist/tools/thinking/formatAsPlan.js +0 -78
- package/dist/tools/thinking/formatAsPlan.js.map +0 -1
- package/dist/tools/thinking/index.d.ts +0 -10
- package/dist/tools/thinking/index.d.ts.map +0 -1
- package/dist/tools/thinking/index.js +0 -10
- package/dist/tools/thinking/index.js.map +0 -1
- package/dist/tools/thinking/stepByStepAnalysis.d.ts +0 -8
- package/dist/tools/thinking/stepByStepAnalysis.d.ts.map +0 -1
- package/dist/tools/thinking/stepByStepAnalysis.js +0 -63
- package/dist/tools/thinking/stepByStepAnalysis.js.map +0 -1
- package/dist/tools/thinking/thinkAloudProcess.d.ts +0 -8
- package/dist/tools/thinking/thinkAloudProcess.d.ts.map +0 -1
- package/dist/tools/thinking/thinkAloudProcess.js +0 -80
- package/dist/tools/thinking/thinkAloudProcess.js.map +0 -1
package/CLAUDE.md
CHANGED
|
@@ -1,348 +1,448 @@
|
|
|
1
|
-
# VIBE
|
|
2
|
-
|
|
3
|
-
SPEC-driven AI Coding Framework (Claude Code Exclusive)
|
|
4
|
-
|
|
5
|
-
## Response Language
|
|
6
|
-
|
|
7
|
-
**IMPORTANT: Always respond in English unless the user explicitly requests otherwise.**
|
|
8
|
-
|
|
9
|
-
## Response Language
|
|
10
|
-
|
|
11
|
-
**IMPORTANT: Always respond in Korean (한국어) unless the user explicitly requests otherwise.**
|
|
12
|
-
|
|
13
|
-
## Code Quality Standards (Mandatory)
|
|
14
|
-
|
|
15
|
-
Follow these standards when writing code. See `~/.claude/vibe/rules/` (global) for detailed rules.
|
|
16
|
-
|
|
17
|
-
### Core Principles
|
|
18
|
-
- **Modify only requested scope** - Don't touch unrelated code
|
|
19
|
-
- **Preserve existing style** - Follow project conventions
|
|
20
|
-
- **Keep working code** - No unnecessary refactoring
|
|
21
|
-
- **Respect user interrupts** - If user interrupts (Ctrl+C/Escape) and sends a new message, the previous task is CANCELLED. Do NOT resume or continue interrupted work. Respond ONLY to the new message.
|
|
22
|
-
|
|
23
|
-
### Code Complexity Limits
|
|
24
|
-
| Metric | Limit |
|
|
25
|
-
|--------|-------|
|
|
26
|
-
| Function length | ≤30 lines (recommended), ≤50 lines (allowed) |
|
|
27
|
-
| Nesting depth | ≤3 levels |
|
|
28
|
-
| Parameters | ≤5 |
|
|
29
|
-
| Cyclomatic complexity | ≤10 |
|
|
30
|
-
|
|
31
|
-
### TypeScript Rules
|
|
32
|
-
- No `any` type → Use `unknown` + type guards
|
|
33
|
-
- No `as any` casting → Define proper interfaces
|
|
34
|
-
- No `@ts-ignore` → Fix type issues at root
|
|
35
|
-
- Explicit return types on all functions
|
|
36
|
-
|
|
37
|
-
### TypeScript Rules
|
|
38
|
-
- No `any` type → use `unknown` + type guards
|
|
39
|
-
- No `as any` casting → define proper interfaces
|
|
40
|
-
- No `@ts-ignore` → fix type issues at root
|
|
41
|
-
- Explicit return types on all functions
|
|
42
|
-
|
|
43
|
-
### Error Handling Required
|
|
44
|
-
- try-catch or error state required
|
|
45
|
-
- Loading state handling
|
|
46
|
-
- User-friendly error messages
|
|
47
|
-
|
|
48
|
-
### Forbidden Patterns
|
|
49
|
-
- No console.log in commits (remove after debugging)
|
|
50
|
-
- No hardcoded strings/numbers → Extract to constants
|
|
51
|
-
- No commented-out code in commits
|
|
52
|
-
- No incomplete code without TODO
|
|
53
|
-
|
|
54
|
-
## Workflow
|
|
55
|
-
|
|
56
|
-
```
|
|
57
|
-
/vibe.spec → (auto) SPEC review → /vibe.run → (auto) code review → (auto) fix → ✅ Done
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
**Automated Flow:**
|
|
61
|
-
1. `/vibe.spec` - Write SPEC + **(auto)** Gemini review → Auto-apply
|
|
62
|
-
2. `/vibe.run` - Implementation + Gemini review
|
|
63
|
-
3. **(auto)** 13+ agent parallel review
|
|
64
|
-
4. **(auto)** P1/P2 issue auto-fix
|
|
65
|
-
|
|
66
|
-
## Plan Mode vs VIBE (Workflow Selection)
|
|
67
|
-
|
|
68
|
-
**Offer choice to user on development requests:**
|
|
69
|
-
|
|
70
|
-
| Task Size | Recommended |
|
|
71
|
-
|-----------|-------------|
|
|
72
|
-
| Simple changes (1-2 files) | Plan Mode |
|
|
73
|
-
| Complex features (3+ files, research/verification needed) | `/vibe.spec` |
|
|
74
|
-
|
|
75
|
-
| Item | Plan Mode | VIBE |
|
|
76
|
-
|------|-----------|------|
|
|
77
|
-
| Storage location | `~/.claude/plans/` (global) | `.claude/vibe/specs/` (project) |
|
|
78
|
-
| Document format | Free form | PTCF structure (AI-optimized) |
|
|
79
|
-
| Research | None | 4 parallel agents |
|
|
80
|
-
| Verification | None | `/vibe.verify` against SPEC |
|
|
81
|
-
| History | Not trackable | Git version control |
|
|
82
|
-
|
|
83
|
-
**Rules:**
|
|
84
|
-
- After `/vibe.analyze` or `/vibe.review` with dev/modify request → **Ask user for workflow choice**
|
|
85
|
-
- User chooses VIBE → Wait for `/vibe.spec`
|
|
86
|
-
- User chooses Plan Mode → Proceed with EnterPlanMode
|
|
87
|
-
|
|
88
|
-
## ULTRAWORK Mode (Recommended)
|
|
89
|
-
|
|
90
|
-
Include `ultrawork` or `ulw` keyword to activate maximum performance mode:
|
|
91
|
-
|
|
92
|
-
```bash
|
|
93
|
-
/vibe.run "feature-name" ultrawork # All optimizations auto-enabled
|
|
94
|
-
/vibe.run "feature-name" ulw # Same (shorthand)
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
**Activated Features:**
|
|
98
|
-
- Parallel sub-agent exploration (3+ concurrent)
|
|
99
|
-
- **Background agents** - Prepare next Phase during implementation
|
|
100
|
-
- **Phase pipelining** - Remove wait time between Phases
|
|
101
|
-
- Boulder Loop (auto-continue until all Phases complete)
|
|
102
|
-
- Auto-retry on error (max 3 times)
|
|
103
|
-
- Auto-compress/save at 70%+ context
|
|
104
|
-
- Continuous execution without confirmation between Phases
|
|
105
|
-
|
|
106
|
-
**Speed Comparison:**
|
|
107
|
-
|
|
108
|
-
| Mode | Per Phase | 5 Phases |
|
|
109
|
-
|------|-----------|----------|
|
|
110
|
-
| Sequential | ~2min | ~10min |
|
|
111
|
-
| Parallel Exploration | ~1.5min | ~7.5min |
|
|
112
|
-
| **ULTRAWORK Pipeline** | **~1min** | **~5min** |
|
|
113
|
-
|
|
114
|
-
## Commands
|
|
115
|
-
|
|
116
|
-
| Command | Description |
|
|
117
|
-
|---------|-------------|
|
|
118
|
-
| `/vibe.spec "feature-name"` | Write SPEC (PTCF structure) + parallel research |
|
|
119
|
-
| `/vibe.run "feature-name"` | Execute implementation |
|
|
120
|
-
| `/vibe.run "feature-name" ultrawork` | **Maximum performance mode** |
|
|
121
|
-
| `/vibe.verify "feature-name"` | Verification |
|
|
122
|
-
| `/vibe.review` | **Parallel code review** (13+ agents) |
|
|
123
|
-
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
124
|
-
| `/vibe.analyze` | Project analysis |
|
|
125
|
-
| `/vibe.utils --e2e` | E2E testing (Playwright) |
|
|
126
|
-
| `/vibe.utils --diagram` | Generate diagrams |
|
|
127
|
-
| `/vibe.utils --ui "description"` | UI preview |
|
|
128
|
-
| `/vibe.utils --continue` | **Session restore** (load previous context) |
|
|
129
|
-
|
|
130
|
-
## New Features (v2.
|
|
131
|
-
|
|
132
|
-
###
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
```
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
```
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
###
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
```
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
|
305
|
-
|
|
306
|
-
|
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
-
|
|
317
|
-
-
|
|
318
|
-
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
1
|
+
# VIBE
|
|
2
|
+
|
|
3
|
+
SPEC-driven AI Coding Framework (Claude Code Exclusive)
|
|
4
|
+
|
|
5
|
+
## Response Language
|
|
6
|
+
|
|
7
|
+
**IMPORTANT: Always respond in English unless the user explicitly requests otherwise.**
|
|
8
|
+
|
|
9
|
+
## Response Language
|
|
10
|
+
|
|
11
|
+
**IMPORTANT: Always respond in Korean (한국어) unless the user explicitly requests otherwise.**
|
|
12
|
+
|
|
13
|
+
## Code Quality Standards (Mandatory)
|
|
14
|
+
|
|
15
|
+
Follow these standards when writing code. See `~/.claude/vibe/rules/` (global) for detailed rules.
|
|
16
|
+
|
|
17
|
+
### Core Principles
|
|
18
|
+
- **Modify only requested scope** - Don't touch unrelated code
|
|
19
|
+
- **Preserve existing style** - Follow project conventions
|
|
20
|
+
- **Keep working code** - No unnecessary refactoring
|
|
21
|
+
- **Respect user interrupts** - If user interrupts (Ctrl+C/Escape) and sends a new message, the previous task is CANCELLED. Do NOT resume or continue interrupted work. Respond ONLY to the new message.
|
|
22
|
+
|
|
23
|
+
### Code Complexity Limits
|
|
24
|
+
| Metric | Limit |
|
|
25
|
+
|--------|-------|
|
|
26
|
+
| Function length | ≤30 lines (recommended), ≤50 lines (allowed) |
|
|
27
|
+
| Nesting depth | ≤3 levels |
|
|
28
|
+
| Parameters | ≤5 |
|
|
29
|
+
| Cyclomatic complexity | ≤10 |
|
|
30
|
+
|
|
31
|
+
### TypeScript Rules
|
|
32
|
+
- No `any` type → Use `unknown` + type guards
|
|
33
|
+
- No `as any` casting → Define proper interfaces
|
|
34
|
+
- No `@ts-ignore` → Fix type issues at root
|
|
35
|
+
- Explicit return types on all functions
|
|
36
|
+
|
|
37
|
+
### TypeScript Rules
|
|
38
|
+
- No `any` type → use `unknown` + type guards
|
|
39
|
+
- No `as any` casting → define proper interfaces
|
|
40
|
+
- No `@ts-ignore` → fix type issues at root
|
|
41
|
+
- Explicit return types on all functions
|
|
42
|
+
|
|
43
|
+
### Error Handling Required
|
|
44
|
+
- try-catch or error state required
|
|
45
|
+
- Loading state handling
|
|
46
|
+
- User-friendly error messages
|
|
47
|
+
|
|
48
|
+
### Forbidden Patterns
|
|
49
|
+
- No console.log in commits (remove after debugging)
|
|
50
|
+
- No hardcoded strings/numbers → Extract to constants
|
|
51
|
+
- No commented-out code in commits
|
|
52
|
+
- No incomplete code without TODO
|
|
53
|
+
|
|
54
|
+
## Workflow
|
|
55
|
+
|
|
56
|
+
```
|
|
57
|
+
/vibe.spec → (auto) SPEC review → /vibe.run → (auto) code review → (auto) fix → ✅ Done
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
**Automated Flow:**
|
|
61
|
+
1. `/vibe.spec` - Write SPEC + **(auto)** Gemini review → Auto-apply
|
|
62
|
+
2. `/vibe.run` - Implementation + Gemini review
|
|
63
|
+
3. **(auto)** 13+ agent parallel review
|
|
64
|
+
4. **(auto)** P1/P2 issue auto-fix
|
|
65
|
+
|
|
66
|
+
## Plan Mode vs VIBE (Workflow Selection)
|
|
67
|
+
|
|
68
|
+
**Offer choice to user on development requests:**
|
|
69
|
+
|
|
70
|
+
| Task Size | Recommended |
|
|
71
|
+
|-----------|-------------|
|
|
72
|
+
| Simple changes (1-2 files) | Plan Mode |
|
|
73
|
+
| Complex features (3+ files, research/verification needed) | `/vibe.spec` |
|
|
74
|
+
|
|
75
|
+
| Item | Plan Mode | VIBE |
|
|
76
|
+
|------|-----------|------|
|
|
77
|
+
| Storage location | `~/.claude/plans/` (global) | `.claude/vibe/specs/` (project) |
|
|
78
|
+
| Document format | Free form | PTCF structure (AI-optimized) |
|
|
79
|
+
| Research | None | 4 parallel agents |
|
|
80
|
+
| Verification | None | `/vibe.verify` against SPEC |
|
|
81
|
+
| History | Not trackable | Git version control |
|
|
82
|
+
|
|
83
|
+
**Rules:**
|
|
84
|
+
- After `/vibe.analyze` or `/vibe.review` with dev/modify request → **Ask user for workflow choice**
|
|
85
|
+
- User chooses VIBE → Wait for `/vibe.spec`
|
|
86
|
+
- User chooses Plan Mode → Proceed with EnterPlanMode
|
|
87
|
+
|
|
88
|
+
## ULTRAWORK Mode (Recommended)
|
|
89
|
+
|
|
90
|
+
Include `ultrawork` or `ulw` keyword to activate maximum performance mode:
|
|
91
|
+
|
|
92
|
+
```bash
|
|
93
|
+
/vibe.run "feature-name" ultrawork # All optimizations auto-enabled
|
|
94
|
+
/vibe.run "feature-name" ulw # Same (shorthand)
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Activated Features:**
|
|
98
|
+
- Parallel sub-agent exploration (3+ concurrent)
|
|
99
|
+
- **Background agents** - Prepare next Phase during implementation
|
|
100
|
+
- **Phase pipelining** - Remove wait time between Phases
|
|
101
|
+
- Boulder Loop (auto-continue until all Phases complete)
|
|
102
|
+
- Auto-retry on error (max 3 times)
|
|
103
|
+
- Auto-compress/save at 70%+ context
|
|
104
|
+
- Continuous execution without confirmation between Phases
|
|
105
|
+
|
|
106
|
+
**Speed Comparison:**
|
|
107
|
+
|
|
108
|
+
| Mode | Per Phase | 5 Phases |
|
|
109
|
+
|------|-----------|----------|
|
|
110
|
+
| Sequential | ~2min | ~10min |
|
|
111
|
+
| Parallel Exploration | ~1.5min | ~7.5min |
|
|
112
|
+
| **ULTRAWORK Pipeline** | **~1min** | **~5min** |
|
|
113
|
+
|
|
114
|
+
## Commands
|
|
115
|
+
|
|
116
|
+
| Command | Description |
|
|
117
|
+
|---------|-------------|
|
|
118
|
+
| `/vibe.spec "feature-name"` | Write SPEC (PTCF structure) + parallel research |
|
|
119
|
+
| `/vibe.run "feature-name"` | Execute implementation |
|
|
120
|
+
| `/vibe.run "feature-name" ultrawork` | **Maximum performance mode** |
|
|
121
|
+
| `/vibe.verify "feature-name"` | Verification |
|
|
122
|
+
| `/vibe.review` | **Parallel code review** (13+ agents) |
|
|
123
|
+
| `/vibe.reason "problem"` | Systematic reasoning |
|
|
124
|
+
| `/vibe.analyze` | Project analysis |
|
|
125
|
+
| `/vibe.utils --e2e` | E2E testing (Playwright) |
|
|
126
|
+
| `/vibe.utils --diagram` | Generate diagrams |
|
|
127
|
+
| `/vibe.utils --ui "description"` | UI preview |
|
|
128
|
+
| `/vibe.utils --continue` | **Session restore** (load previous context) |
|
|
129
|
+
|
|
130
|
+
## New Features (v2.5.7)
|
|
131
|
+
|
|
132
|
+
### Intelligent Model Routing
|
|
133
|
+
|
|
134
|
+
Automatic model selection based on task complexity:
|
|
135
|
+
|
|
136
|
+
| Complexity | Model | When |
|
|
137
|
+
|------------|-------|------|
|
|
138
|
+
| Low (0-7) | Haiku | Simple fixes, searches |
|
|
139
|
+
| Medium (8-19) | Sonnet | Standard features, 3-5 files |
|
|
140
|
+
| High (20+) | Opus | Architecture, security, 6+ files |
|
|
141
|
+
|
|
142
|
+
### Agent Tier System
|
|
143
|
+
|
|
144
|
+
Cost-optimized agent variants:
|
|
145
|
+
|
|
146
|
+
| Agent | Low | Medium | High |
|
|
147
|
+
|-------|-----|--------|------|
|
|
148
|
+
| explorer | explorer-low | explorer-medium | explorer |
|
|
149
|
+
| implementer | implementer-low | implementer-medium | implementer |
|
|
150
|
+
| architect | architect-low | architect-medium | architect |
|
|
151
|
+
|
|
152
|
+
### Magic Keywords
|
|
153
|
+
|
|
154
|
+
| Keyword | Effect |
|
|
155
|
+
|---------|--------|
|
|
156
|
+
| `ultrawork` / `ulw` | Parallel + auto-continue |
|
|
157
|
+
| `ralph` | Persist until verified complete |
|
|
158
|
+
| `ralplan` | Iterative planning + persistence |
|
|
159
|
+
| `verify` | Strict verification mode |
|
|
160
|
+
| `quick` | Fast mode, minimal verification |
|
|
161
|
+
|
|
162
|
+
**Combinations supported:** `ralph ultrawork`, `ralph verify`, etc.
|
|
163
|
+
|
|
164
|
+
### Skill Quality Gate
|
|
165
|
+
|
|
166
|
+
Memory saves are validated for quality:
|
|
167
|
+
|
|
168
|
+
- Rejects generic/searchable information
|
|
169
|
+
- Requires context, specificity, actionability
|
|
170
|
+
- Suggests principle format: "When X, do Y because Z"
|
|
171
|
+
|
|
172
|
+
### HUD Status (Real-time)
|
|
173
|
+
|
|
174
|
+
```bash
|
|
175
|
+
node hooks/scripts/hud-status.js show full
|
|
176
|
+
node hooks/scripts/hud-status.js start ultrawork "feature"
|
|
177
|
+
node hooks/scripts/hud-status.js phase 2 5 "Implementing core"
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Pre/Post Tool Hooks
|
|
181
|
+
|
|
182
|
+
- **PreToolUse**: Validates dangerous commands before execution
|
|
183
|
+
- **PostToolUse**: Provides error recovery hints
|
|
184
|
+
|
|
185
|
+
### Orchestrate Workflow
|
|
186
|
+
|
|
187
|
+
Intent Gate → Codebase Assessment → Delegation → Verification pattern:
|
|
188
|
+
|
|
189
|
+
```typescript
|
|
190
|
+
import { checkIntentGate, assessCodebase, createDelegationPlan } from '@su-record/vibe/tools';
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### UltraQA (5-Cycle Autonomous QA)
|
|
194
|
+
|
|
195
|
+
```
|
|
196
|
+
Test/Build/Lint → Fail → Architect Diagnosis → Executor Fix → Repeat (max 5)
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Exit conditions: All pass, Max cycles, Same failure 3x
|
|
200
|
+
|
|
201
|
+
### DeepInit (Hierarchical AGENTS.md)
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
project/
|
|
205
|
+
├── AGENTS.md ← Root
|
|
206
|
+
├── src/
|
|
207
|
+
│ └── AGENTS.md ← <!-- Parent: ../AGENTS.md -->
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### Skill Frontmatter System
|
|
211
|
+
|
|
212
|
+
```yaml
|
|
213
|
+
---
|
|
214
|
+
name: my-skill
|
|
215
|
+
model: sonnet
|
|
216
|
+
triggers: [keyword1, keyword2]
|
|
217
|
+
---
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Trigger-Based Skill Injection
|
|
221
|
+
|
|
222
|
+
Skills in `~/.claude/vibe/skills/` or `.claude/vibe/skills/` auto-inject on keyword match.
|
|
223
|
+
|
|
224
|
+
### Multi-Line HUD
|
|
225
|
+
|
|
226
|
+
```bash
|
|
227
|
+
node hooks/scripts/hud-multiline.js multi # Tree view
|
|
228
|
+
node hooks/scripts/hud-multiline.js compact # 2-line view
|
|
229
|
+
node hooks/scripts/hud-multiline.js single # 1-line view
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Parallel Code Review (/vibe.review)
|
|
233
|
+
|
|
234
|
+
13+ specialized agents review code simultaneously:
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
238
|
+
│ 🚀 PARALLEL REVIEW AGENTS │
|
|
239
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
240
|
+
│ Security │ security-reviewer, data-integrity-reviewer │
|
|
241
|
+
│ Performance │ performance-reviewer, complexity-reviewer │
|
|
242
|
+
│ Architecture │ architecture-reviewer, simplicity-reviewer │
|
|
243
|
+
│ Language-Specific │ python, typescript, rails, react reviewers │
|
|
244
|
+
│ Context │ git-history, test-coverage reviewers │
|
|
245
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
246
|
+
```
|
|
247
|
+
|
|
248
|
+
**Priority System:**
|
|
249
|
+
- 🔴 P1 (Critical): Blocks merge
|
|
250
|
+
- 🟡 P2 (Important): Fix recommended
|
|
251
|
+
- 🔵 P3 (Nice-to-have): Backlog
|
|
252
|
+
|
|
253
|
+
### E2E Testing (/vibe.utils --e2e)
|
|
254
|
+
|
|
255
|
+
Playwright-based automated testing:
|
|
256
|
+
|
|
257
|
+
```bash
|
|
258
|
+
/vibe.utils --e2e "login flow" # Scenario test
|
|
259
|
+
/vibe.utils --e2e --visual # Visual regression test
|
|
260
|
+
/vibe.utils --e2e --record # Video recording
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### Enhanced Research Agents
|
|
264
|
+
|
|
265
|
+
4 parallel research agents run **after requirements confirmed** during `/vibe.spec`:
|
|
266
|
+
|
|
267
|
+
```
|
|
268
|
+
Q&A to confirm requirements → Parallel research → SPEC writing
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
| Agent | Role |
|
|
272
|
+
|-------|------|
|
|
273
|
+
| best-practices-agent | Best practices for confirmed feature+stack |
|
|
274
|
+
| framework-docs-agent | Latest docs for confirmed stack (context7) |
|
|
275
|
+
| codebase-patterns-agent | Analyze existing similar patterns |
|
|
276
|
+
| security-advisory-agent | Security advisory for confirmed feature |
|
|
277
|
+
|
|
278
|
+
**⚠️ Research runs after requirements confirmed** (VIBE principle: requirements first)
|
|
279
|
+
|
|
280
|
+
## PTCF Structure
|
|
281
|
+
|
|
282
|
+
SPEC documents are AI-executable prompt format:
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
<role> AI role definition
|
|
286
|
+
<context> Background, tech stack, related code
|
|
287
|
+
<task> Phase-by-phase task list
|
|
288
|
+
<constraints> Constraints
|
|
289
|
+
<output_format> Files to create/modify
|
|
290
|
+
<acceptance> Verification criteria
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
## Built-in Tools
|
|
294
|
+
|
|
295
|
+
### Semantic Code Analysis
|
|
296
|
+
| Tool | Purpose |
|
|
297
|
+
|------|---------|
|
|
298
|
+
| `vibe_find_symbol` | Find symbol definitions |
|
|
299
|
+
| `vibe_find_references` | Find references |
|
|
300
|
+
| `vibe_analyze_complexity` | Analyze complexity |
|
|
301
|
+
| `vibe_validate_code_quality` | Validate quality |
|
|
302
|
+
|
|
303
|
+
### Context Management
|
|
304
|
+
| Tool | Purpose |
|
|
305
|
+
|------|---------|
|
|
306
|
+
| `vibe_start_session` | Start session (restore previous context) |
|
|
307
|
+
| `vibe_auto_save_context` | Save current state |
|
|
308
|
+
| `vibe_save_memory` | Save important decisions |
|
|
309
|
+
|
|
310
|
+
## Agents
|
|
311
|
+
|
|
312
|
+
### Review Agents (12)
|
|
313
|
+
```
|
|
314
|
+
.claude/agents/review/
|
|
315
|
+
├── security-reviewer.md # Security vulnerabilities
|
|
316
|
+
├── performance-reviewer.md # Performance bottlenecks
|
|
317
|
+
├── architecture-reviewer.md # Architecture violations
|
|
318
|
+
├── complexity-reviewer.md # Complexity exceeded
|
|
319
|
+
├── simplicity-reviewer.md # Over-abstraction
|
|
320
|
+
├── data-integrity-reviewer.md # Data integrity
|
|
321
|
+
├── test-coverage-reviewer.md # Missing tests
|
|
322
|
+
├── git-history-reviewer.md # Risk patterns
|
|
323
|
+
├── python-reviewer.md # Python specialist
|
|
324
|
+
├── typescript-reviewer.md # TypeScript specialist
|
|
325
|
+
├── rails-reviewer.md # Rails specialist
|
|
326
|
+
└── react-reviewer.md # React specialist
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Research Agents (4)
|
|
330
|
+
```
|
|
331
|
+
.claude/agents/research/
|
|
332
|
+
├── best-practices-agent.md # Best practices
|
|
333
|
+
├── framework-docs-agent.md # Framework docs
|
|
334
|
+
├── codebase-patterns-agent.md # Code pattern analysis
|
|
335
|
+
└── security-advisory-agent.md # Security advisory
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
## Skills
|
|
339
|
+
|
|
340
|
+
### Git Worktree
|
|
341
|
+
```bash
|
|
342
|
+
# Isolated environment for PR review
|
|
343
|
+
git worktree add ../review-123 origin/pr/123
|
|
344
|
+
cd ../review-123 && npm test
|
|
345
|
+
git worktree remove ../review-123
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
### Priority Todos
|
|
349
|
+
```
|
|
350
|
+
.claude/vibe/todos/
|
|
351
|
+
├── P1-security-sql-injection.md # 🔴 Blocks merge
|
|
352
|
+
├── P2-perf-n1-query.md # 🟡 Fix recommended
|
|
353
|
+
└── P3-style-extract-helper.md # 🔵 Backlog
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
## Context Management Strategy
|
|
357
|
+
|
|
358
|
+
### Model Selection
|
|
359
|
+
- **Exploration/Search**: Haiku (sub-agent default)
|
|
360
|
+
- **Implementation/Debugging**: Sonnet
|
|
361
|
+
- **Architecture/Complex logic**: Opus
|
|
362
|
+
|
|
363
|
+
### At 70%+ Context (⚠️ Important)
|
|
364
|
+
```
|
|
365
|
+
❌ Don't use /compact (risk of information loss/distortion)
|
|
366
|
+
✅ save_memory to store important decisions → /new for new session
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
vibe maintains context across sessions with its own memory system:
|
|
370
|
+
1. `save_memory` - Explicitly save important decisions
|
|
371
|
+
2. `/new` - Start new session
|
|
372
|
+
3. `start_session` - Auto-restore previous session
|
|
373
|
+
|
|
374
|
+
### Session Restore
|
|
375
|
+
To continue previous work in a new session:
|
|
376
|
+
```
|
|
377
|
+
/vibe.utils --continue
|
|
378
|
+
```
|
|
379
|
+
This command calls `vibe_start_session` to restore previous context from project memory.
|
|
380
|
+
|
|
381
|
+
### Other Commands
|
|
382
|
+
- `/rewind` - Revert to previous point
|
|
383
|
+
- `/context` - Check current usage
|
|
384
|
+
|
|
385
|
+
### Using context7
|
|
386
|
+
Use context7 plugin when you need latest library documentation:
|
|
387
|
+
```
|
|
388
|
+
"Search React 19 use() hook with context7"
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
## Documentation Guidelines
|
|
392
|
+
|
|
393
|
+
### Diagrams/Structure Representation
|
|
394
|
+
- Avoid ASCII boxes (┌─┐) → Alignment breaks with mixed-width characters
|
|
395
|
+
- Use alternatives:
|
|
396
|
+
- Mermaid diagrams (GitHub/Notion supported)
|
|
397
|
+
- Markdown tables
|
|
398
|
+
- Indentation + separators
|
|
399
|
+
|
|
400
|
+
### Preferred Formats
|
|
401
|
+
| Purpose | Recommended |
|
|
402
|
+
|---------|-------------|
|
|
403
|
+
| Flowcharts | Mermaid flowchart |
|
|
404
|
+
| Structure/Hierarchy | Indented lists |
|
|
405
|
+
| Comparisons/Lists | Markdown tables |
|
|
406
|
+
| Sequences | Mermaid sequenceDiagram |
|
|
407
|
+
|
|
408
|
+
## Git Commit Rules
|
|
409
|
+
|
|
410
|
+
**Must include:**
|
|
411
|
+
- `.claude/vibe/specs/`, `.claude/vibe/features/`, `.claude/vibe/todos/` (project docs)
|
|
412
|
+
- `.claude/vibe/config.json`, `.claude/vibe/constitution.md` (project config)
|
|
413
|
+
- `CLAUDE.md`
|
|
414
|
+
|
|
415
|
+
**Exclude (globally installed):**
|
|
416
|
+
- `~/.claude/vibe/rules/`, `~/.claude/vibe/languages/`, `~/.claude/vibe/templates/` (global)
|
|
417
|
+
- `~/.claude/commands/`, `~/.claude/agents/`, `~/.claude/skills/` (global)
|
|
418
|
+
- `.claude/settings.local.json` (personal settings)
|
|
419
|
+
|
|
420
|
+
## Getting Started
|
|
421
|
+
|
|
422
|
+
```bash
|
|
423
|
+
vibe init
|
|
424
|
+
/vibe.spec "login feature"
|
|
425
|
+
```
|
|
426
|
+
|
|
427
|
+
## Full Workflow
|
|
428
|
+
|
|
429
|
+
```mermaid
|
|
430
|
+
flowchart TD
|
|
431
|
+
A["/vibe.spec"] --> B["(auto) SPEC review"]
|
|
432
|
+
B --> C["SPEC auto-enhancement"]
|
|
433
|
+
C --> D["/vibe.run ultrawork"]
|
|
434
|
+
D --> E["Gemini code review"]
|
|
435
|
+
E --> F["(auto) 13+ Agent Review"]
|
|
436
|
+
F --> G{"P1/P2 issues?"}
|
|
437
|
+
G -->|Yes| H["(auto) Auto-Fix"]
|
|
438
|
+
H --> I["✅ Done"]
|
|
439
|
+
G -->|No| I
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
| Step | Description | Automation |
|
|
443
|
+
|------|-------------|------------|
|
|
444
|
+
| 1. `/vibe.spec` | Collect requirements + Generate SPEC | Manual start |
|
|
445
|
+
| 2. SPEC review | Gemini reviews SPEC + Auto-apply | ✅ Auto |
|
|
446
|
+
| 3. `/vibe.run` | Implementation + Gemini review | Manual start |
|
|
447
|
+
| 4. Agent Review | 13+ agent parallel review | ✅ Auto |
|
|
448
|
+
| 5. Auto-Fix | P1/P2 issue auto-fix | ✅ Auto |
|