@su-record/vibe 1.1.8 → 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,293 +5,293 @@ argument-hint: "problem description"
5
5
 
6
6
  # /vibe.reason
7
7
 
8
- 복잡한 문제에 9단계 추론 프레임워크를 적용합니다 (Reasoning Agent).
8
+ Apply 9-step reasoning framework to complex problems (Reasoning Agent).
9
9
 
10
10
  ## Usage
11
11
 
12
12
  ```
13
- /vibe.reason "문제 설명"
13
+ /vibe.reason "problem description"
14
14
  ```
15
15
 
16
16
  ## Description
17
17
 
18
- 체계적인 9단계 추론 프레임워크를 사용하여 복잡한 문제를 논리적으로 분석하고 최적의 해결책을 도출합니다.
18
+ Use systematic 9-step reasoning framework to logically analyze complex problems and derive optimal solutions.
19
19
 
20
20
  ## When to Use
21
21
 
22
- 다음과 같은 상황에서 사용하세요:
22
+ Use in situations like:
23
23
 
24
- 1. **복잡한 버그 디버깅**
25
- - 근본 원인이 불명확한 경우
26
- - 여러 가설을 체계적으로 검증해야
24
+ 1. **Complex bug debugging**
25
+ - Root cause unclear
26
+ - Need to systematically verify multiple hypotheses
27
27
 
28
- 2. **아키텍처 설계 결정**
29
- - 여러 옵션 최적의 선택이 필요할
30
- - 제약 조건과 위험을 종합적으로 평가해야
28
+ 2. **Architecture design decisions**
29
+ - Need to choose optimal option among several
30
+ - Need to comprehensively evaluate constraints and risks
31
31
 
32
- 3. **성능 최적화 문제**
33
- - 병목 지점이 여러 곳일 있을 때
34
- - 단계별 최적화 전략이 필요할 때
32
+ 3. **Performance optimization**
33
+ - Bottleneck may be in multiple places
34
+ - Need step-by-step optimization strategy
35
35
 
36
- 4. **리팩토링 계획**
37
- - 레거시 코드의 복잡도를 체계적으로 분석해야
38
- - 점진적 리팩토링 전략이 필요할 때
36
+ 4. **Refactoring planning**
37
+ - Need to systematically analyze legacy code complexity
38
+ - Need gradual refactoring strategy
39
39
 
40
- 5. **요구사항 분석**
41
- - 상충하는 요구사항을 조율해야
42
- - 누락된 요구사항을 발견해야
40
+ 5. **Requirements analysis**
41
+ - Need to reconcile conflicting requirements
42
+ - Need to discover missing requirements
43
43
 
44
44
  ## Process
45
45
 
46
- ### 1. 논리적 종속성 제약 조건
47
- - 정책, 규칙, 필수 전제 조건 확인
48
- - 작업 순서 최적화 (선행 작업 식별)
49
- - 사용자 제약 조건 우선 적용
50
-
51
- ### 2. 위험 평가
52
- - 행동의 결과 분석
53
- - 롤백 가능성 확인
54
- - 호환성, 보안, 성능 위험 검토
55
-
56
- ### 3. 귀납적 추론 가설 탐색
57
- - 근본 원인에 대한 가설 생성
58
- - 가능성 기반 우선순위 지정
59
- - 가설의 검증 방법 제시
60
-
61
- ### 4. 결과 평가 적응성
62
- - 관찰 결과에 따른 계획 수정
63
- - 가설 반증 가설 생성
64
- - 백트래킹 필요성 판단
65
-
66
- ### 5. 정보 가용성
67
- - 사용 가능한 모든 도구 식별
68
- - 관련 정책/규칙 문서 참조
69
- - 이전 컨텍스트 복원
70
- - 사용자 확인 필요 사항 구분
71
-
72
- ### 6. 정밀성 근거
73
- - 정책 인용 정확한 출처 명시
74
- - 코드 참조 파일명:라인 포함
75
- - 메트릭의 정확한 수치 제공
76
-
77
- ### 7. 완전성
78
- - 모든 요구사항, 옵션, 선호도 통합
79
- - 조기 결론 지양
80
- - 여러 대안 탐색
81
-
82
- ### 8. 끈기와 인내
83
- - 일시적 오류는 지능적으로 재시도
84
- - 전략 변경을 통한 문제 해결
85
- - 모든 추론 단계 완료까지 진행
86
-
87
- ### 9. 응답 억제
88
- - 추론 완료 후에만 행동
89
- - 복잡한 결정은 추론 과정 문서화
90
- - 단계별 실행으로 안전성 확보
46
+ ### 1. Logical Dependencies and Constraints
47
+ - Check policies, rules, prerequisites
48
+ - Optimize task order (identify dependencies)
49
+ - Apply user constraints first
50
+
51
+ ### 2. Risk Assessment
52
+ - Analyze action consequences
53
+ - Check rollback possibility
54
+ - Review compatibility, security, performance risks
55
+
56
+ ### 3. Inductive Reasoning and Hypothesis Exploration
57
+ - Generate hypotheses about root cause
58
+ - Prioritize by likelihood
59
+ - Present verification method for each hypothesis
60
+
61
+ ### 4. Result Evaluation and Adaptability
62
+ - Modify plan based on observations
63
+ - Generate new hypothesis when disproved
64
+ - Determine backtracking need
65
+
66
+ ### 5. Information Availability
67
+ - Identify all available tools
68
+ - Reference relevant policy/rule documents
69
+ - Restore previous context
70
+ - Distinguish items needing user confirmation
71
+
72
+ ### 6. Precision and Evidence
73
+ - Cite exact source when referencing policies
74
+ - Include filename:line when referencing code
75
+ - Provide exact metric numbers
76
+
77
+ ### 7. Completeness
78
+ - Integrate all requirements, options, preferences
79
+ - Avoid premature conclusions
80
+ - Explore multiple alternatives
81
+
82
+ ### 8. Persistence and Patience
83
+ - Intelligently retry temporary errors
84
+ - Solve problems through strategy changes
85
+ - Continue until all reasoning steps complete
86
+
87
+ ### 9. Response Suppression
88
+ - Act only after reasoning complete
89
+ - Document reasoning process for complex decisions
90
+ - Ensure safety through step-by-step execution
91
91
 
92
92
  ## MCP Tools Integration
93
93
 
94
- 명령은 다음 MCP 도구를 자동으로 활용합니다:
94
+ This command automatically uses these MCP tools:
95
95
 
96
- - **apply_reasoning_framework**: 9단계 추론 프레임워크 적용
97
- - **create_thinking_chain**: 순차적 사고 체인 생성
98
- - **analyze_problem**: 문제의 근본 원인 분석
99
- - **step_by_step_analysis**: 세부적인 단계별 분석
100
- - **recall_memory**: 이전 컨텍스트 복원
101
- - **find_symbol / find_references**: 코드 의존성 파악
96
+ - **apply_reasoning_framework**: Apply 9-step reasoning framework
97
+ - **create_thinking_chain**: Create sequential thinking chain
98
+ - **analyze_problem**: Analyze problem root cause
99
+ - **step_by_step_analysis**: Detailed step-by-step analysis
100
+ - **recall_memory**: Restore previous context
101
+ - **find_symbol / find_references**: Identify code dependencies
102
102
 
103
103
  ## Output Format
104
104
 
105
105
  ```markdown
106
- # 추론 프레임워크 분석
106
+ # Reasoning Framework Analysis
107
107
 
108
- **문제**: [문제 설명]
109
- **컨텍스트**: [관련 정보]
110
- **적용 단계**: 9/9
108
+ **Problem**: [problem description]
109
+ **Context**: [relevant information]
110
+ **Steps Applied**: 9/9
111
111
 
112
112
  ---
113
113
 
114
- ## 1. 논리적 종속성 제약 조건
114
+ ## 1. Logical Dependencies and Constraints
115
115
 
116
- **핵심 질문**:
117
- - 어떤 정책이나 필수 규칙이 적용되는가?
118
- - 작업 순서를 재정렬해야 하는가?
119
- - 필요한 전제 조건이나 정보는?
120
- - 명시적 사용자 제약 조건이 있는가?
116
+ **Key Questions**:
117
+ - What policies or required rules apply?
118
+ - Should task order be rearranged?
119
+ - Required prerequisites or information?
120
+ - Explicit user constraints?
121
121
 
122
- **제약 조건 분석**:
123
- [분석 내용]
122
+ **Constraint Analysis**:
123
+ [analysis content]
124
124
 
125
125
  ---
126
126
 
127
- ## 2. 위험 평가
127
+ ## 2. Risk Assessment
128
128
 
129
129
  ...
130
130
 
131
131
  ---
132
132
 
133
- ## 요약
133
+ ## Summary
134
134
 
135
- [전체 추론 결과 요약 권장 사항]
135
+ [Overall reasoning results summary and recommendations]
136
136
  ```
137
137
 
138
138
  ## Examples
139
139
 
140
- ### Example 1: 복잡한 버그 디버깅
140
+ ### Example 1: Complex Bug Debugging
141
141
 
142
142
  ```
143
- 사용자: /vibe.reason "사용자 로그인 프로필 페이지에서 간헐적으로 500 에러가 발생합니다. 로그에는 'TypeError: Cannot read property id of undefined'만 찍힙니다."
143
+ User: /vibe.reason "After user login, profile page intermittently returns 500 error. Log shows 'TypeError: Cannot read property id of undefined'"
144
144
 
145
- AI: 문제를 9단계 추론 프레임워크로 분석하겠습니다.
145
+ AI: Analyzing this problem with 9-step reasoning framework.
146
146
 
147
- # 추론 프레임워크 분석
147
+ # Reasoning Framework Analysis
148
148
 
149
- **문제**: 로그인 프로필 페이지 간헐적 500 에러 (TypeError: Cannot read property 'id' of undefined)
150
- **컨텍스트**: 간헐적 발생, 로그인 성공 발생
151
- **적용 단계**: 9/9
149
+ **Problem**: Intermittent 500 error on profile page after login (TypeError: Cannot read property 'id' of undefined)
150
+ **Context**: Intermittent occurrence, happens after successful login
151
+ **Steps Applied**: 9/9
152
152
 
153
153
  ---
154
154
 
155
- ## 1. 논리적 종속성 제약 조건
155
+ ## 1. Logical Dependencies and Constraints
156
156
 
157
- **제약 조건 분석**:
158
- - 정책/규칙: 인증/인가 시스템 정책 확인 필요
159
- - 작업 순서: 로그인세션 생성프로필 조회 순서 확인
160
- - 전제 조건: 에러 재현을 위한 조건 파악 필요
161
- - 사용자 제약: 프로덕션 환경이므로 디버깅 도구 사용 제한
157
+ **Constraint Analysis**:
158
+ - Policy/Rules: Need to check auth/authz system policies
159
+ - Task Order: Verify login session creationprofile fetch order
160
+ - Prerequisites: Need to identify error reproduction conditions
161
+ - User Constraints: Production environment limits debugging tools
162
162
 
163
163
  ---
164
164
 
165
- ## 2. 위험 평가
165
+ ## 2. Risk Assessment
166
166
 
167
- **위험 평가**:
168
- - 작업 유형: 디버깅 (중간 위험 - 로깅 추가는 낮은 위험, DB 변경은 높은 위험)
169
- - 롤백 가능성: 로깅 추가는 롤백 쉬움
170
- - 호환성 위험: 세션 구조 변경 기존 사용자 영향
171
- - 보안 위험: 과도한 로깅으로 민감 정보 노출 가능성
172
- - 성능 위험: 추가 로깅으로 인한 성능 저하 미미
167
+ **Risk Assessment**:
168
+ - Task type: Debugging (medium risk - logging low risk, DB changes high risk)
169
+ - Rollback possibility: Adding logs easy to rollback
170
+ - Compatibility risk: Session structure changes affect existing users
171
+ - Security risk: Excessive logging may expose sensitive info
172
+ - Performance risk: Additional logging minimal impact
173
173
 
174
174
  ---
175
175
 
176
- ## 3. 귀납적 추론 가설 탐색
176
+ ## 3. Inductive Reasoning and Hypothesis Exploration
177
177
 
178
- **가설 생성**:
179
- 1. **가설 1: 세션 데이터 불완전** (가능성: 높음)
180
- - 근거: 간헐적 발생 = 타이밍 이슈 또는 데이터 일관성 문제
181
- - 검증: 세션 저장 로직에 로깅 추가, Redis 연결 상태 확인
178
+ **Hypothesis Generation**:
179
+ 1. **Hypothesis 1: Incomplete session data** (Likelihood: High)
180
+ - Evidence: Intermittent = timing issue or data consistency problem
181
+ - Verification: Add logging to session save logic, check Redis connection
182
182
 
183
- 2. **가설 2: 비동기 처리 순서 문제** (가능성: 중간)
184
- - 근거: undefined = 데이터 로딩 전에 접근
185
- - 검증: 프로필 조회 API Promise 체인 확인, await 누락 검사
183
+ 2. **Hypothesis 2: Async processing order issue** (Likelihood: Medium)
184
+ - Evidence: undefined = accessing data before load
185
+ - Verification: Check Promise chain in profile API, check for missing await
186
186
 
187
- 3. **가설 3: DB 쿼리 결과 null** (가능성: 낮음)
188
- - 근거: 특정 조건에서만 사용자 정보 조회 실패
189
- - 검증: 프로필 조회 쿼리 로그 확인, 외래 제약 조건 검토
187
+ 3. **Hypothesis 3: DB query returns null** (Likelihood: Low)
188
+ - Evidence: User info fetch fails only under certain conditions
189
+ - Verification: Check profile query logs, review foreign key constraints
190
190
 
191
- **우선순위**: 가능성 높은 순으로 검증하되, 낮은 가능성도 완전히 배제하지 않음
191
+ **Priority**: Verify in order of likelihood, don't completely rule out low probability
192
192
 
193
193
  ---
194
194
 
195
- [추가 단계 4-9 분석...]
195
+ [Additional steps 4-9 analysis...]
196
196
 
197
197
  ---
198
198
 
199
- ## 요약
199
+ ## Summary
200
200
 
201
- 9단계 추론 프레임워크를 통해 로그인 프로필 페이지 500 에러를 분석했습니다.
201
+ Analyzed profile page 500 error after login through 9-step reasoning framework.
202
202
 
203
- **주요 발견**:
204
- - 가장 가능성 높은 원인: 세션 데이터 불완전 (Redis 연결 문제 또는 세션 저장 타이밍)
205
- - 검증 우선순위: 1) 세션 저장 로직 로깅 추가 → 2) 비동기 처리 검토 → 3) DB 쿼리 확인
203
+ **Key Findings**:
204
+ - Most likely cause: Incomplete session data (Redis connection issue or session save timing)
205
+ - Verification priority: 1) Add session save logic logging → 2) Review async processing → 3) Check DB queries
206
206
 
207
- **권장 조치**:
208
- 1. 즉시: 세션 저장/조회 시점에 상세 로깅 추가 (낮은 위험)
209
- 2. 단기: 비동기 처리 코드 리뷰 (Promise, await 누락 확인)
210
- 3. 중기: 세션 저장소 모니터링 강화 (Redis 연결 상태, 메모리)
207
+ **Recommended Actions**:
208
+ 1. Immediate: Add detailed logging to session save/fetch (low risk)
209
+ 2. Short-term: Code review async processing (Promise, await check)
210
+ 3. Medium-term: Strengthen session store monitoring (Redis connection, memory)
211
211
 
212
- **다음 단계**:
213
- 서버 코드에서 `profile_controller.ts` 확인 세션 처리 로직에 try-catch 로깅 추가재현 조건 파악
212
+ **Next Steps**:
213
+ Check `profile_controller.ts` → Add try-catch and logging to session processing logic Identify reproduction conditions
214
214
  ```
215
215
 
216
- ### Example 2: 아키텍처 설계 결정
216
+ ### Example 2: Architecture Design Decision
217
217
 
218
218
  ```
219
- 사용자: /vibe.reason "실시간 알림 기능을 추가하려고 합니다. WebSocket, SSE, Long Polling 중 어떤 걸 써야 할까요?"
219
+ User: /vibe.reason "Want to add real-time notification feature. Should I use WebSocket, SSE, or Long Polling?"
220
220
 
221
- AI: [9단계 프레임워크를 통해 옵션의 제약 조건, 위험, 장단점을 체계적으로 분석하고, 프로젝트 상황에 맞는 최적의 선택을 권장]
221
+ AI: [Systematically analyze constraints, risks, pros/cons of each option through 9-step framework, recommend optimal choice for project situation]
222
222
  ```
223
223
 
224
224
  ## Integration with Other Commands
225
225
 
226
- ### /vibe.spec과 함께 사용
226
+ ### With /vibe.spec
227
227
 
228
228
  ```
229
- # 1. 요구사항 수집
230
- /vibe.spec "실시간 알림"
229
+ # 1. Collect requirements
230
+ /vibe.spec "real-time notifications"
231
231
 
232
- # 2. 기술적 결정이 필요한 경우
233
- /vibe.reason "실시간 알림 구현 시 WebSocket vs SSE vs Long Polling 선택"
232
+ # 2. When technical decision needed
233
+ /vibe.reason "Choosing WebSocket vs SSE vs Long Polling for real-time notifications"
234
234
 
235
- # 3. SPEC 문서 업데이트 계획 수립
236
- /vibe.plan "실시간 알림"
235
+ # 3. Update SPEC document and create plan
236
+ /vibe.plan "real-time notifications"
237
237
  ```
238
238
 
239
- ### /vibe.analyze와 함께 사용
239
+ ### With /vibe.analyze
240
240
 
241
241
  ```
242
- # 1. 코드 분석으로 문제 발견
242
+ # 1. Discover issue through code analysis
243
243
  /vibe.analyze --code
244
244
 
245
- # 2. 발견된 문제를 추론 프레임워크로 분석
246
- /vibe.reason "users_service.py Cyclomatic Complexity 15 10 이하로 낮추는 리팩토링 전략"
245
+ # 2. Analyze discovered issue with reasoning framework
246
+ /vibe.reason "Refactoring strategy to reduce users_service.py Cyclomatic Complexity from 15 to under 10"
247
247
 
248
- # 3. 리팩토링 실행
248
+ # 3. Execute refactoring
249
249
  /vibe.run "Task: Refactor users_service.py"
250
250
  ```
251
251
 
252
252
  ## Agent Configuration
253
253
 
254
- 명령은 `~/.claude/agents/reasoning-agent.md`를 사용합니다.
254
+ This command uses `~/.claude/agents/reasoning-agent.md`.
255
255
 
256
- **에이전트 역할**:
257
- - 체계적 추론 문제 해결 전문가
258
- - 복잡한 문제를 논리적으로 분석
259
- - 모든 관련 요소를 고려하여 최적의 해결책 도출
256
+ **Agent Role**:
257
+ - Systematic reasoning and problem-solving expert
258
+ - Logically analyze complex problems
259
+ - Derive optimal solutions considering all relevant factors
260
260
 
261
- **에이전트 특징**:
262
- - 9단계 추론 프레임워크 적용
263
- - 가설 기반 접근
264
- - 위험 평가 완화 전략 제시
265
- - 정밀한 근거와 출처 명시
261
+ **Agent Features**:
262
+ - Apply 9-step reasoning framework
263
+ - Hypothesis-based approach
264
+ - Risk assessment and mitigation strategies
265
+ - Precise evidence and source citation
266
266
 
267
267
  ## Best Practices
268
268
 
269
- 1. **문제를 구체적으로 설명하세요**
270
- - ❌ "버그가 있어요"
271
- - ✅ "로그인 프로필 페이지에서 간헐적으로 500 에러가 발생합니다. 에러 로그: TypeError: Cannot read property 'id' of undefined"
269
+ 1. **Describe problem specifically**
270
+ - ❌ "There's a bug"
271
+ - ✅ "After login, profile page intermittently returns 500 error. Error log: TypeError: Cannot read property 'id' of undefined"
272
272
 
273
- 2. **컨텍스트를 포함하세요**
274
- - 발생 조건 (항상? 간헐적? 특정 조건에서만?)
275
- - 관련 기술 스택
276
- - 이미 시도한 해결 방법
273
+ 2. **Include context**
274
+ - Occurrence conditions (always? intermittent? specific conditions only?)
275
+ - Relevant tech stack
276
+ - Solutions already tried
277
277
 
278
- 3. **추론 결과를 메모리에 저장하세요**
279
- - 복잡한 문제의 경우 추론 결과를 `save_memory`로 저장
280
- - 나중에 `recall_memory`로 참조 가능
278
+ 3. **Save reasoning results to memory**
279
+ - For complex problems, save reasoning results with `save_memory`
280
+ - Reference later with `recall_memory`
281
281
 
282
- 4. **단계별로 검증하세요**
283
- - 추론 프레임워크가 제안한 가설을 순서대로 검증
284
- - 검증 결과를 에이전트에게 피드백
282
+ 4. **Verify step by step**
283
+ - Verify hypotheses suggested by reasoning framework in order
284
+ - Feedback each verification result to agent
285
285
 
286
- 5. **다른 명령과 조합하세요**
287
- - `/vibe.analyze`로 현황 파악 → `/vibe.reason`으로 해결책 분석 → `/vibe.run`으로 실행
286
+ 5. **Combine with other commands**
287
+ - `/vibe.analyze` to understand situation → `/vibe.reason` to analyze solution → `/vibe.run` to execute
288
288
 
289
289
  ## Notes
290
290
 
291
- - 명령은 복잡한 문제에 특화되어 있습니다. 단순한 작업은 직접 요청하는 것이 효율적입니다.
292
- - 추론 과정이 길어질 있으므로 충분한 시간을 확보하세요.
293
- - 추론 결과는 권장 사항이며, 최종 결정은 사용자가 내립니다.
294
- - MCP 도구를 자동으로 활용하므로 hi-ai 서버가 연결되어 있어야 합니다.
291
+ - This command is specialized for complex problems. For simple tasks, direct requests are more efficient.
292
+ - Reasoning process may take time; allow sufficient time.
293
+ - Reasoning results are recommendations; final decision is user's.
294
+ - Automatically uses MCP tools, so hi-ai server must be connected.
295
295
 
296
296
  ## Related
297
297