@su-record/vibe 1.1.9 → 1.1.10

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.
@@ -5,301 +5,301 @@ argument-hint: "feature name" or --phase N
5
5
 
6
6
  # /vibe.run
7
7
 
8
- SPEC을 기반으로 구현합니다 (Implementation Agent with Multi-Model Orchestration).
8
+ Execute implementation based on SPEC (Implementation Agent with Multi-Model Orchestration).
9
9
 
10
10
  ## Usage
11
11
 
12
12
  ```
13
- /vibe.run "기능명" # 전체 구현
14
- /vibe.run "기능명" --phase 1 # 특정 Phase
13
+ /vibe.run "feature-name" # Full implementation
14
+ /vibe.run "feature-name" --phase 1 # Specific Phase only
15
15
  ```
16
16
 
17
17
  ## Rules Reference
18
18
 
19
- **반드시 `.vibe/rules/` 규칙을 따릅니다:**
20
- - `core/development-philosophy.md` - 수술적 정밀도, 요청 범위만 수정
21
- - `core/quick-start.md` - 한국어, DRY, SRP, YAGNI
22
- - `standards/complexity-metrics.md` - 함수 ≤20줄, 중첩 ≤3단계
23
- - `quality/checklist.md` - 코드 품질 체크리스트
19
+ **Must follow `.vibe/rules/`:**
20
+ - `core/development-philosophy.md` - Surgical precision, modify only requested scope
21
+ - `core/quick-start.md` - Korean, DRY, SRP, YAGNI
22
+ - `standards/complexity-metrics.md` - Functions ≤20 lines, nesting ≤3 levels
23
+ - `quality/checklist.md` - Code quality checklist
24
24
 
25
25
  ## Description
26
26
 
27
- PTCF 구조의 SPEC 문서를 읽고 바로 구현을 실행합니다.
27
+ Read PTCF structured SPEC document and execute implementation immediately.
28
28
 
29
- > **PLAN, TASKS 문서 불필요** - SPEC 실행 가능한 프롬프트
29
+ > **PLAN, TASKS documents unnecessary** - SPEC is the executable prompt
30
30
 
31
- ## 모델 오케스트레이션
31
+ ## Model Orchestration
32
32
 
33
- 작업 유형에 따라 최적의 모델을 자동 선택합니다:
33
+ Automatically select optimal model based on task type:
34
34
 
35
35
  ```
36
36
  ┌─────────────────────────────────────────────────────────────┐
37
- │ Opus 4.5 (오케스트레이터) │
38
- │ - 전체 흐름 조율
39
- │ - 최종 결정/검토
37
+ │ Opus 4.5 (Orchestrator) │
38
+ │ - Coordinate overall flow
39
+ │ - Final decisions/review
40
40
  └─────────────────────────┬───────────────────────────────────┘
41
41
 
42
42
  ┌─────────────────────┼─────────────────────┐
43
43
  ↓ ↓ ↓
44
44
  ┌─────────┐ ┌─────────┐ ┌─────────┐
45
45
  │ Haiku │ │ Sonnet │ │ Haiku │
46
- (탐색) │ │ (구현) │ │(테스트)
46
+ │(Explore)│ │ (Impl) │ │ (Test)
47
47
  └─────────┘ └─────────┘ └─────────┘
48
48
  ```
49
49
 
50
- ### 역할별 Task 호출
50
+ ### Task Calls by Role
51
51
 
52
- | 작업 유형 | 모델 | Task 파라미터 |
53
- |----------|------|---------------|
54
- | 코드베이스 탐색 | Haiku 4.5 | `model: "haiku"` |
55
- | 핵심 구현 | Sonnet 4 | `model: "sonnet"` |
56
- | 테스트 작성 | Haiku 4.5 | `model: "haiku"` |
57
- | 아키텍처 결정 | Opus 4.5 | 메인 세션 |
58
- | 최종 검토 | Opus 4.5 | 메인 세션 |
52
+ | Task Type | Model | Task Parameter |
53
+ |-----------|-------|----------------|
54
+ | Codebase exploration | Haiku 4.5 | `model: "haiku"` |
55
+ | Core implementation | Sonnet 4 | `model: "sonnet"` |
56
+ | Test writing | Haiku 4.5 | `model: "haiku"` |
57
+ | Architecture decisions | Opus 4.5 | Main session |
58
+ | Final review | Opus 4.5 | Main session |
59
59
 
60
- ### 외부 LLM 활용 (활성화 )
60
+ ### External LLM Usage (When Enabled)
61
61
 
62
- `.vibe/config.json`에서 외부 LLM이 활성화된 경우:
62
+ When external LLMs are enabled in `.vibe/config.json`:
63
63
 
64
- | 역할 | 모델 | 조건 |
65
- |------|------|------|
66
- | 아키텍처/디버깅 | GPT 5.2 | `vibe gpt <key>` 실행 |
67
- | UI/UX 설계 | Gemini 3 | `vibe gemini <key>` 실행 |
64
+ | Role | Model | Condition |
65
+ |------|-------|-----------|
66
+ | Architecture/Debugging | GPT 5.2 | When `vibe gpt <key>` executed |
67
+ | UI/UX Design | Gemini 3 | When `vibe gemini <key>` executed |
68
68
 
69
- 외부 LLM 활성화 해당 역할은 MCP를 통해 자동 호출됩니다:
70
- - `mcp__vibe-gpt__chat` - GPT 5.2 아키텍처 자문
71
- - `mcp__vibe-gemini__chat` - Gemini 3 UI/UX 자문
69
+ When external LLM enabled, automatically called via MCP:
70
+ - `mcp__vibe-gpt__chat` - GPT 5.2 architecture consultation
71
+ - `mcp__vibe-gemini__chat` - Gemini 3 UI/UX consultation
72
72
 
73
- ## 시맨틱 코드 분석 (hi-ai MCP)
73
+ ## Semantic Code Analysis (hi-ai MCP)
74
74
 
75
- 구현 코드베이스를 정확히 파악하기 위해 hi-ai MCP의 시맨틱 도구를 활용합니다:
75
+ Use hi-ai MCP semantic tools to accurately understand codebase before implementation:
76
76
 
77
- | MCP 도구 | 용도 | 활용 시점 |
78
- |----------|------|----------|
79
- | `mcp__vibe__find_symbol` | 심볼 정의 찾기 | 클래스/함수 위치 파악 |
80
- | `mcp__vibe__find_references` | 참조 찾기 | 영향 범위 분석 |
81
- | `mcp__vibe__analyze_complexity` | 복잡도 분석 | 리팩토링 필요 여부 판단 |
82
- | `mcp__vibe__validate_code_quality` | 품질 검증 | 구현 품질 확인 |
77
+ | MCP Tool | Purpose | When Used |
78
+ |----------|---------|-----------|
79
+ | `mcp__vibe__find_symbol` | Find symbol definitions | Locate class/function |
80
+ | `mcp__vibe__find_references` | Find references | Analyze impact scope |
81
+ | `mcp__vibe__analyze_complexity` | Analyze complexity | Determine refactoring need |
82
+ | `mcp__vibe__validate_code_quality` | Validate quality | Verify post-implementation quality |
83
83
 
84
- ### 시맨틱 분석 흐름
84
+ ### Semantic Analysis Flow
85
85
 
86
86
  ```
87
- 구현 시작
87
+ Start Implementation
88
88
 
89
- ├─→ find_symbol: 수정할 함수/클래스 정확한 위치 파악
89
+ ├─→ find_symbol: Locate exact position of function/class to modify
90
90
 
91
- ├─→ find_references: 해당 심볼을 사용하는 모든 확인
91
+ ├─→ find_references: Check all places using that symbol
92
92
 
93
- ├─→ analyze_complexity: 기존 코드 복잡도 확인
93
+ ├─→ analyze_complexity: Check existing code complexity
94
94
 
95
95
 
96
- 구현 (영향 범위를 정확히 파악한 상태에서)
96
+ Implementation (with accurate understanding of impact scope)
97
97
 
98
98
 
99
- validate_code_quality: 구현 품질 검증
99
+ validate_code_quality: Verify quality after implementation
100
100
  ```
101
101
 
102
- ### 컨텍스트 관리 (세션 연속성)
102
+ ### Context Management (Session Continuity)
103
103
 
104
- | MCP 도구 | 용도 |
105
- |----------|------|
106
- | `mcp__vibe__start_session` | 세션 시작, 이전 컨텍스트 복원 |
107
- | `mcp__vibe__auto_save_context` | 현재 상태 자동 저장 |
108
- | `mcp__vibe__restore_session_context` | 이전 세션 컨텍스트 복원 |
109
- | `mcp__vibe__save_memory` | 중요 결정사항/패턴 저장 |
104
+ | MCP Tool | Purpose |
105
+ |----------|---------|
106
+ | `mcp__vibe__start_session` | Start session, restore previous context |
107
+ | `mcp__vibe__auto_save_context` | Auto-save current state |
108
+ | `mcp__vibe__restore_session_context` | Restore previous session context |
109
+ | `mcp__vibe__save_memory` | Save important decisions/patterns |
110
110
 
111
- **세션 시작 시**: `mcp__vibe__start_session`으로 이전 컨텍스트 자동 복원
112
- **세션 종료 시**: Hook `mcp__vibe__auto_save_context` 자동 실행
111
+ **On session start**: `mcp__vibe__start_session` auto-restores previous context
112
+ **On session end**: Hook auto-executes `mcp__vibe__auto_save_context`
113
113
 
114
114
  ## Process
115
115
 
116
- ### 1. SPEC 설정 읽기
116
+ ### 1. Read SPEC and Config
117
117
 
118
- `.vibe/specs/{기능명}.md` 파싱:
118
+ Parse `.vibe/specs/{feature-name}.md`:
119
119
 
120
- | 섹션 | 용도 |
121
- |------|------|
122
- | `<role>` | AI 역할 정의 |
123
- | `<context>` | 배경, 기술 스택, 관련 코드 |
124
- | `<task>` | Phase 작업 목록 |
125
- | `<constraints>` | 제약 조건 |
126
- | `<output_format>` | 생성/수정할 파일 |
127
- | `<acceptance>` | 검증 기준 |
120
+ | Section | Purpose |
121
+ |---------|---------|
122
+ | `<role>` | AI role definition |
123
+ | `<context>` | Background, tech stack, related code |
124
+ | `<task>` | Phase-by-phase task list |
125
+ | `<constraints>` | Constraints |
126
+ | `<output_format>` | Files to create/modify |
127
+ | `<acceptance>` | Verification criteria |
128
128
 
129
- `.vibe/config.json` 확인:
130
- - 외부 LLM 활성화 여부 (`models.gpt.enabled`, `models.gemini.enabled`)
129
+ Check `.vibe/config.json`:
130
+ - External LLM enablement (`models.gpt.enabled`, `models.gemini.enabled`)
131
131
 
132
- ### 2. Feature 파일 확인
132
+ ### 2. Check Feature File
133
133
 
134
- `.vibe/features/{기능명}.feature`:
135
- - BDD Scenarios 확인
136
- - 테스트 케이스로 활용
134
+ `.vibe/features/{feature-name}.feature`:
135
+ - Check BDD Scenarios
136
+ - Use as test cases
137
137
 
138
- ### 3. Phase 구현 (Task 병렬 호출)
138
+ ### 3. Phase-by-Phase Implementation (Parallel Task Calls)
139
139
 
140
- `<task>` 섹션의 Phase 순서대로:
140
+ Follow `<task>` section Phase order:
141
141
 
142
142
  ```
143
- Phase 시작
143
+ Phase Start
144
144
 
145
- ├─→ Task(haiku): 코드베이스 분석
146
- │ "관련 파일과 패턴을 분석하세요"
145
+ ├─→ Task(haiku): Codebase analysis
146
+ │ "Analyze related files and patterns"
147
147
 
148
- ├─→ [GPT 활성화 시] MCP(vibe-gpt): 아키텍처 검토
149
- │ " 설계가 적절한지 검토해주세요"
148
+ ├─→ [GPT enabled] MCP(vibe-gpt): Architecture review
149
+ │ "Review if this design is appropriate"
150
150
 
151
- ├─→ [Gemini 활성화 시] MCP(vibe-gemini): UI/UX 자문
152
- │ "UI 구현 방향을 제안해주세요"
151
+ ├─→ [Gemini enabled] MCP(vibe-gemini): UI/UX consultation
152
+ │ "Suggest UI implementation direction"
153
153
 
154
154
 
155
- Opus: 분석 결과 종합, 구현 방향 결정
155
+ Opus: Synthesize analysis results, decide implementation direction
156
156
 
157
157
 
158
- Task(sonnet): 핵심 구현
159
- "SPEC에 따라 코드를 구현하세요"
158
+ Task(sonnet): Core implementation
159
+ "Implement code according to SPEC"
160
160
 
161
161
 
162
- Task(haiku): 테스트 작성
163
- "구현된 코드의 테스트를 작성하세요"
162
+ Task(haiku): Write tests
163
+ "Write tests for implemented code"
164
164
 
165
165
 
166
- Opus: 최종 검토 다음 Phase
166
+ Opus: Final review and next Phase
167
167
  ```
168
168
 
169
- **병렬 실행 예시:**
169
+ **Parallel execution example:**
170
170
  ```javascript
171
- // 독립적인 작업은 병렬로 Task 호출
172
- Task(haiku) - 코드 분석
173
- Task(haiku) - 의존성 확인
174
- // → 동시 실행
175
-
176
- // 순차적 작업
177
- Task(sonnet) - 구현 (분석 완료 )
178
- Task(haiku) - 테스트 (구현 완료 )
171
+ // Independent tasks run in parallel
172
+ Task(haiku) - Code analysis
173
+ Task(haiku) - Dependency check
174
+ // → Run simultaneously
175
+
176
+ // Sequential tasks
177
+ Task(sonnet) - Implementation (after analysis complete)
178
+ Task(haiku) - Tests (after implementation complete)
179
179
  ```
180
180
 
181
- 1. **관련 코드 분석**: Task(haiku) `<context>`의 관련 코드 탐색
182
- 2. **파일 생성/수정**: Task(sonnet) `<output_format>` 기준 구현
183
- 3. **제약 조건 준수**: `<constraints>` 확인
184
- 4. **검증 실행**: 검증 명령어 실행
181
+ 1. **Related code analysis**: Task(haiku) explores `<context>` related code
182
+ 2. **File creation/modification**: Task(sonnet) implements per `<output_format>`
183
+ 3. **Constraint compliance**: Check `<constraints>`
184
+ 4. **Run verification**: Execute verification commands
185
185
 
186
- ### 4. Acceptance Criteria 검증
186
+ ### 4. Acceptance Criteria Verification
187
187
 
188
- `<acceptance>` 체크리스트 확인:
189
- - [ ] 기준 통과 여부
190
- - [ ] 테스트 통과
191
- - [ ] 빌드 성공
188
+ Check `<acceptance>` checklist:
189
+ - [ ] Each criterion pass status
190
+ - [ ] Tests pass
191
+ - [ ] Build succeeds
192
192
 
193
- ### 5. SPEC 업데이트
193
+ ### 5. Update SPEC
194
194
 
195
- 완료된 Task 체크:
195
+ Check completed Tasks:
196
196
  ```markdown
197
197
  ## Task
198
198
  <task>
199
199
  ### Phase 1: Backend
200
- 1. [x] DB 스키마 작성
201
- 2. [x] API 엔드포인트
200
+ 1. [x] Write DB schema
201
+ 2. [x] API endpoint
202
202
  ...
203
203
  </task>
204
204
  ```
205
205
 
206
- ## TRUST 5 원칙
206
+ ## TRUST 5 Principles
207
207
 
208
- 구현 준수:
208
+ Follow during implementation:
209
209
 
210
- | 원칙 | 설명 |
211
- |------|------|
212
- | **T**est-first | 테스트 먼저 작성 |
213
- | **R**eadable | 명확한 코드 |
214
- | **U**nified | 일관된 스타일 |
215
- | **S**ecured | 보안 고려 |
216
- | **T**rackable | 로깅, 모니터링 |
210
+ | Principle | Description |
211
+ |-----------|-------------|
212
+ | **T**est-first | Write tests first |
213
+ | **R**eadable | Clear code |
214
+ | **U**nified | Consistent style |
215
+ | **S**ecured | Consider security |
216
+ | **T**rackable | Logging, monitoring |
217
217
 
218
218
  ## Input
219
219
 
220
- - `.vibe/specs/{기능명}.md` (PTCF SPEC)
221
- - `.vibe/features/{기능명}.feature` (BDD)
222
- - `CLAUDE.md` (프로젝트 컨텍스트)
220
+ - `.vibe/specs/{feature-name}.md` (PTCF SPEC)
221
+ - `.vibe/features/{feature-name}.feature` (BDD)
222
+ - `CLAUDE.md` (project context)
223
223
 
224
224
  ## Output
225
225
 
226
- - 구현된 코드 파일
227
- - 테스트 파일
228
- - SPEC 문서 업데이트 (체크표시)
226
+ - Implemented code files
227
+ - Test files
228
+ - Updated SPEC document (checkmarks)
229
229
 
230
230
  ## Example
231
231
 
232
232
  ```
233
- User: /vibe.run "벽돌게임"
233
+ User: /vibe.run "brick-game"
234
234
 
235
235
  Claude:
236
- 📄 SPEC 읽는 중: .vibe/specs/brick-game.md
236
+ 📄 Reading SPEC: .vibe/specs/brick-game.md
237
237
 
238
- <role> 분석:
239
- - 게임 시니어 개발자
240
- - Phaser.js 전문가
238
+ <role> analysis:
239
+ - Web game senior developer
240
+ - Phaser.js expert
241
241
 
242
- <context> 분석:
243
- - 기술 스택: Phaser.js, TypeScript
244
- - 신규 프로젝트
242
+ <context> analysis:
243
+ - Tech stack: Phaser.js, TypeScript
244
+ - New project
245
245
 
246
- <task> 분석:
247
- - Phase 1: 프로젝트 셋업 (3 작업)
248
- - Phase 2: 게임 로직 (5 작업)
249
- - Phase 3: UI/UX (3 작업)
250
- - Phase 4: 테스트 (2 작업)
246
+ <task> analysis:
247
+ - Phase 1: Project setup (3 tasks)
248
+ - Phase 2: Game logic (5 tasks)
249
+ - Phase 3: UI/UX (3 tasks)
250
+ - Phase 4: Testing (2 tasks)
251
251
 
252
- 🚀 Phase 1 시작...
252
+ 🚀 Starting Phase 1...
253
253
 
254
- ✅ Phase 1 완료
255
- - package.json 생성
256
- - TypeScript 설정
257
- - Phaser.js 설치
254
+ ✅ Phase 1 complete
255
+ - package.json created
256
+ - TypeScript configured
257
+ - Phaser.js installed
258
258
 
259
- 🚀 Phase 2 시작...
260
- [구현 계속...]
259
+ 🚀 Starting Phase 2...
260
+ [Implementation continues...]
261
261
 
262
- 모든 Phase 완료!
263
- 📊 Acceptance Criteria 검증 중...
264
- 게임 시작/종료 동작
265
- 공-패들 충돌 처리
266
- 점수 표시
267
- ✅ npm run build 성공
262
+ All Phases complete!
263
+ 📊 Verifying Acceptance Criteria...
264
+ Game start/end works
265
+ Ball-paddle collision handling
266
+ Score display
267
+ ✅ npm run build succeeds
268
268
 
269
- 🎉 구현 완료!
269
+ 🎉 Implementation complete!
270
270
  ```
271
271
 
272
- ### Phase 지정 실행
272
+ ### Phase-specific Execution
273
273
 
274
274
  ```
275
- User: /vibe.run "벽돌게임" --phase 2
275
+ User: /vibe.run "brick-game" --phase 2
276
276
 
277
277
  Claude:
278
- 📄 SPEC 읽는 중: .vibe/specs/brick-game.md
279
- 🎯 Phase 2 실행합니다.
278
+ 📄 Reading SPEC: .vibe/specs/brick-game.md
279
+ 🎯 Executing Phase 2 only.
280
280
 
281
- Phase 2: 게임 로직
282
- 1. [ ] 패들 이동 구현
283
- 2. [ ] 물리엔진
284
- 3. [ ] 벽돌 충돌 처리
285
- 4. [ ] 점수 시스템
286
- 5. [ ] 게임 오버 조건
281
+ Phase 2: Game Logic
282
+ 1. [ ] Paddle movement implementation
283
+ 2. [ ] Ball physics engine
284
+ 3. [ ] Brick collision handling
285
+ 4. [ ] Score system
286
+ 5. [ ] Game over conditions
287
287
 
288
- 🚀 구현 시작...
288
+ 🚀 Starting implementation...
289
289
  ```
290
290
 
291
291
  ## Error Handling
292
292
 
293
- 실패 시:
294
- 1. 에러 메시지 확인
295
- 2. `<constraints>` 재검토
296
- 3. 코드 수정 재시도
297
- 4. 계속 실패 사용자에게 보고
293
+ On failure:
294
+ 1. Check error message
295
+ 2. Review `<constraints>`
296
+ 3. Fix code and retry
297
+ 4. If continues to fail, report to user
298
298
 
299
299
  ## Next Step
300
300
 
301
301
  ```
302
- /vibe.verify "벽돌게임"
302
+ /vibe.verify "brick-game"
303
303
  ```
304
304
 
305
305
  ---