@su-record/vibe 1.2.2 → 1.2.4

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 CHANGED
@@ -67,6 +67,25 @@ SPEC 문서는 AI가 바로 실행 가능한 프롬프트 형태:
67
67
  | `mcp__vibe__auto_save_context` | 현재 상태 저장 |
68
68
  | `mcp__vibe__save_memory` | 중요 결정사항 저장 |
69
69
 
70
+ ## 컨텍스트 관리 전략
71
+
72
+ ### 모델 선택
73
+ - **탐색/검색**: Haiku (서브에이전트 기본값)
74
+ - **구현/디버깅**: Sonnet
75
+ - **아키텍처/복잡한 로직**: Opus
76
+
77
+ ### 문제 발생 시
78
+ - `/compact` - 컨텍스트 압축
79
+ - `/rewind` - 이전 시점으로 되돌리기
80
+ - `/new` - 새 세션 시작
81
+ - `/context` - 현재 사용량 확인
82
+
83
+ ### context7 활용
84
+ 최신 라이브러리 문서가 필요할 때 context7 MCP 사용:
85
+ ```
86
+ "React 19 use() 훅을 context7으로 검색해줘"
87
+ ```
88
+
70
89
  ## Git Commit 규칙
71
90
 
72
91
  **반드시 포함:**
package/README.md CHANGED
@@ -322,6 +322,46 @@ AI의 역할과 전문성 정의
322
322
  - **메모리**: `save_memory`, `recall_memory`, `auto_save_context`
323
323
  - **UI**: `preview_ui_ascii`
324
324
 
325
+ ### context7 사용법
326
+
327
+ 최신 라이브러리 문서가 필요할 때:
328
+
329
+ ```
330
+ "React 19의 use() 훅 사용법을 context7으로 검색해줘"
331
+ "Next.js 15 App Router 문서를 확인해줘"
332
+ ```
333
+
334
+ ---
335
+
336
+ ## 컨텍스트 관리 팁
337
+
338
+ ### 모델 선택 전략
339
+
340
+ | 작업 유형 | 권장 모델 | 이유 |
341
+ |----------|----------|------|
342
+ | 탐색/검색 | Haiku | 빠르고 저비용 |
343
+ | 구현/디버깅 | Sonnet | 균형잡힌 성능 |
344
+ | 아키텍처/복잡한 로직 | Opus | 최고 성능 |
345
+
346
+ > vibe의 서브에이전트는 기본적으로 Haiku를 사용합니다. 고비용 모델이 필요 없는 탐색 작업을 저비용 모델에게 위임하는 전략입니다.
347
+
348
+ ### Claude Code 기본 명령어
349
+
350
+ | 명령어 | 용도 |
351
+ |--------|------|
352
+ | `/compact` | 컨텍스트 압축 (70%+ 시 권장) |
353
+ | `/context` | 현재 컨텍스트 사용량 확인 |
354
+ | `/rewind` | 이전 시점으로 되돌리기 |
355
+ | `/new` | 새 세션 시작 |
356
+ | `Shift + Tab` | 플랜 모드 진입 |
357
+
358
+ ### 가치 밀도 높은 컨텍스트 유지
359
+
360
+ 1. **계획 먼저** - `/vibe.spec`으로 명확한 계획 수립
361
+ 2. **필요한 정보만** - 서브에이전트가 탐색하고 요약만 전달
362
+ 3. **자동 압축** - ULTRAWORK 모드에서 70%+ 시 자동 저장
363
+ 4. **Just-in-Time** - context7로 필요할 때만 문서 검색
364
+
325
365
  ---
326
366
 
327
367
  ## Example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Vibe - Claude Code exclusive SPEC-driven AI coding framework",
5
5
  "bin": {
6
6
  "vibe": "./bin/vibe"
@@ -27,7 +27,7 @@
27
27
  "hooks": [
28
28
  {
29
29
  "type": "prompt",
30
- "prompt": "Silently check .vibe/rules/quality/checklist.md. Do NOT stop or report - continue your current task. Only fix critical issues (syntax errors, security vulnerabilities) inline. Minor issues (lint warnings, style) can be addressed at the end of the current phase."
30
+ "prompt": "Silently check .vibe/rules/quality/checklist.md. Fix critical issues (syntax errors, security vulnerabilities) inline. Do NOT stop to report - continue your current task."
31
31
  }
32
32
  ]
33
33
  }