@su-record/vibe 2.2.2 → 2.2.3

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.
Files changed (81) hide show
  1. package/.claude/settings.json +152 -152
  2. package/.claude/vibe/constitution.md +184 -184
  3. package/.claude/vibe/rules/core/communication-guide.md +104 -104
  4. package/.claude/vibe/rules/core/development-philosophy.md +52 -52
  5. package/.claude/vibe/rules/core/quick-start.md +120 -120
  6. package/.claude/vibe/rules/quality/bdd-contract-testing.md +388 -388
  7. package/.claude/vibe/rules/quality/checklist.md +276 -276
  8. package/.claude/vibe/rules/quality/testing-strategy.md +437 -437
  9. package/.claude/vibe/rules/standards/anti-patterns.md +369 -369
  10. package/.claude/vibe/rules/standards/code-structure.md +291 -291
  11. package/.claude/vibe/rules/standards/complexity-metrics.md +312 -312
  12. package/.claude/vibe/rules/standards/naming-conventions.md +198 -198
  13. package/.claude/vibe/setup.sh +31 -31
  14. package/CLAUDE.md +323 -323
  15. package/LICENSE +21 -21
  16. package/README.md +724 -721
  17. package/agents/explorer.md +48 -0
  18. package/agents/implementer.md +53 -0
  19. package/agents/research/best-practices-agent.md +139 -0
  20. package/agents/research/codebase-patterns-agent.md +147 -0
  21. package/agents/research/framework-docs-agent.md +181 -0
  22. package/agents/research/security-advisory-agent.md +167 -0
  23. package/agents/review/architecture-reviewer.md +107 -0
  24. package/agents/review/complexity-reviewer.md +116 -0
  25. package/agents/review/data-integrity-reviewer.md +88 -0
  26. package/agents/review/git-history-reviewer.md +103 -0
  27. package/agents/review/performance-reviewer.md +86 -0
  28. package/agents/review/python-reviewer.md +152 -0
  29. package/agents/review/rails-reviewer.md +139 -0
  30. package/agents/review/react-reviewer.md +144 -0
  31. package/agents/review/security-reviewer.md +80 -0
  32. package/agents/review/simplicity-reviewer.md +140 -0
  33. package/agents/review/test-coverage-reviewer.md +116 -0
  34. package/agents/review/typescript-reviewer.md +127 -0
  35. package/agents/searcher.md +54 -0
  36. package/agents/simplifier.md +119 -0
  37. package/agents/tester.md +49 -0
  38. package/commands/vibe.analyze.md +239 -0
  39. package/commands/vibe.compound.md +261 -0
  40. package/commands/vibe.continue.md +88 -0
  41. package/commands/vibe.diagram.md +178 -0
  42. package/commands/vibe.e2e.md +266 -0
  43. package/commands/vibe.reason.md +306 -0
  44. package/commands/vibe.review.md +324 -0
  45. package/commands/vibe.run.md +836 -0
  46. package/commands/vibe.setup.md +97 -0
  47. package/commands/vibe.spec.md +383 -0
  48. package/commands/vibe.ui.md +137 -0
  49. package/commands/vibe.verify.md +238 -0
  50. package/dist/cli/index.js +389 -389
  51. package/dist/cli/index.js.map +1 -1
  52. package/dist/lib/MemoryManager.js +92 -92
  53. package/dist/lib/PythonParser.js +108 -108
  54. package/dist/lib/gemini-mcp.js +15 -15
  55. package/dist/lib/gemini-oauth.js +35 -35
  56. package/dist/lib/gpt-mcp.js +17 -17
  57. package/dist/lib/gpt-oauth.js +44 -44
  58. package/dist/tools/analytics/getUsageAnalytics.js +12 -12
  59. package/dist/tools/memory/createMemoryTimeline.js +10 -10
  60. package/dist/tools/memory/getMemoryGraph.js +12 -12
  61. package/dist/tools/memory/getSessionContext.js +9 -9
  62. package/dist/tools/memory/linkMemories.js +14 -14
  63. package/dist/tools/memory/listMemories.js +4 -4
  64. package/dist/tools/memory/recallMemory.js +4 -4
  65. package/dist/tools/memory/saveMemory.js +4 -4
  66. package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
  67. package/dist/tools/planning/generatePrd.js +46 -46
  68. package/dist/tools/prompt/enhancePromptGemini.js +160 -160
  69. package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
  70. package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
  71. package/package.json +69 -66
  72. package/skills/git-worktree.md +178 -0
  73. package/skills/priority-todos.md +236 -0
  74. package/templates/constitution-template.md +184 -184
  75. package/templates/contract-backend-template.md +517 -517
  76. package/templates/contract-frontend-template.md +594 -594
  77. package/templates/feature-template.md +96 -96
  78. package/templates/hooks-template.json +103 -103
  79. package/templates/spec-template.md +199 -199
  80. package/.claude/vibe/rules/tools/mcp-hi-ai-guide.md +0 -665
  81. package/.claude/vibe/rules/tools/mcp-workflow.md +0 -51
@@ -1,96 +1,96 @@
1
- # Feature: {기능명}
2
-
3
- > 이 파일은 **품질 보장의 핵심**입니다. 모든 시나리오 통과 = 기능 완성.
4
-
5
- **SPEC**: `.claude/vibe/specs/{기능명}.md`
6
- **Last verified**: -
7
- **Quality score**: -
8
-
9
- ---
10
-
11
- ## User Story
12
-
13
- **As a** {사용자 역할}
14
- **I want** {원하는 기능}
15
- **So that** {이유/가치}
16
-
17
- ---
18
-
19
- ## Scenarios
20
-
21
- > 각 시나리오가 구현 단위이자 검증 단위입니다.
22
-
23
- ### Scenario 1: {Happy Path - 정상 케이스}
24
-
25
- ```gherkin
26
- Scenario: {시나리오 제목}
27
- Given {전제 조건}
28
- # 검증: {무엇을 확인하는가}
29
- When {사용자 행동}
30
- # 검증: {어떤 기능이 실행되는가}
31
- Then {예상 결과}
32
- # 검증: {무엇이 보이거나 반환되는가}
33
- ```
34
-
35
- **SPEC AC**: #1
36
- **Status**: ⬜
37
-
38
- ---
39
-
40
- ### Scenario 2: {Edge Case - 에러 케이스}
41
-
42
- ```gherkin
43
- Scenario: {에러 시나리오 제목}
44
- Given {전제 조건}
45
- When {잘못된 입력 또는 예외 상황}
46
- Then {에러 메시지 또는 적절한 처리}
47
- ```
48
-
49
- **SPEC AC**: #2
50
- **Status**: ⬜
51
-
52
- ---
53
-
54
- ### Scenario 3: {Boundary Case - 경계 케이스}
55
-
56
- ```gherkin
57
- Scenario: {경계값 테스트}
58
- Given {전제 조건}
59
- When {경계값 입력}
60
- Then {적절한 처리}
61
- ```
62
-
63
- **SPEC AC**: #3
64
- **Status**: ⬜
65
-
66
- ---
67
-
68
- ## Coverage Summary
69
-
70
- | # | Scenario | SPEC AC | Status | Retries |
71
- |---|----------|---------|--------|---------|
72
- | 1 | {Happy Path} | AC-1 | ⬜ | - |
73
- | 2 | {Edge Case} | AC-2 | ⬜ | - |
74
- | 3 | {Boundary Case} | AC-3 | ⬜ | - |
75
-
76
- **Total**: 0/3 통과 (0%)
77
-
78
- ---
79
-
80
- ## Verification Commands
81
-
82
- ```bash
83
- # 전체 검증
84
- /vibe.verify "{기능명}"
85
-
86
- # 실패 시 자동 수정
87
- /vibe.run "{기능명}" --fix
88
- ```
89
-
90
- ---
91
-
92
- ## Notes
93
-
94
- - 시나리오 추가/수정 시 Coverage Summary도 함께 업데이트
95
- - Given/When/Then 각각에 검증 포인트 명시
96
- - 모든 시나리오 통과 시 품질 보장됨
1
+ # Feature: {기능명}
2
+
3
+ > 이 파일은 **품질 보장의 핵심**입니다. 모든 시나리오 통과 = 기능 완성.
4
+
5
+ **SPEC**: `.claude/vibe/specs/{기능명}.md`
6
+ **Last verified**: -
7
+ **Quality score**: -
8
+
9
+ ---
10
+
11
+ ## User Story
12
+
13
+ **As a** {사용자 역할}
14
+ **I want** {원하는 기능}
15
+ **So that** {이유/가치}
16
+
17
+ ---
18
+
19
+ ## Scenarios
20
+
21
+ > 각 시나리오가 구현 단위이자 검증 단위입니다.
22
+
23
+ ### Scenario 1: {Happy Path - 정상 케이스}
24
+
25
+ ```gherkin
26
+ Scenario: {시나리오 제목}
27
+ Given {전제 조건}
28
+ # 검증: {무엇을 확인하는가}
29
+ When {사용자 행동}
30
+ # 검증: {어떤 기능이 실행되는가}
31
+ Then {예상 결과}
32
+ # 검증: {무엇이 보이거나 반환되는가}
33
+ ```
34
+
35
+ **SPEC AC**: #1
36
+ **Status**: ⬜
37
+
38
+ ---
39
+
40
+ ### Scenario 2: {Edge Case - 에러 케이스}
41
+
42
+ ```gherkin
43
+ Scenario: {에러 시나리오 제목}
44
+ Given {전제 조건}
45
+ When {잘못된 입력 또는 예외 상황}
46
+ Then {에러 메시지 또는 적절한 처리}
47
+ ```
48
+
49
+ **SPEC AC**: #2
50
+ **Status**: ⬜
51
+
52
+ ---
53
+
54
+ ### Scenario 3: {Boundary Case - 경계 케이스}
55
+
56
+ ```gherkin
57
+ Scenario: {경계값 테스트}
58
+ Given {전제 조건}
59
+ When {경계값 입력}
60
+ Then {적절한 처리}
61
+ ```
62
+
63
+ **SPEC AC**: #3
64
+ **Status**: ⬜
65
+
66
+ ---
67
+
68
+ ## Coverage Summary
69
+
70
+ | # | Scenario | SPEC AC | Status | Retries |
71
+ |---|----------|---------|--------|---------|
72
+ | 1 | {Happy Path} | AC-1 | ⬜ | - |
73
+ | 2 | {Edge Case} | AC-2 | ⬜ | - |
74
+ | 3 | {Boundary Case} | AC-3 | ⬜ | - |
75
+
76
+ **Total**: 0/3 통과 (0%)
77
+
78
+ ---
79
+
80
+ ## Verification Commands
81
+
82
+ ```bash
83
+ # 전체 검증
84
+ /vibe.verify "{기능명}"
85
+
86
+ # 실패 시 자동 수정
87
+ /vibe.run "{기능명}" --fix
88
+ ```
89
+
90
+ ---
91
+
92
+ ## Notes
93
+
94
+ - 시나리오 추가/수정 시 Coverage Summary도 함께 업데이트
95
+ - Given/When/Then 각각에 검증 포인트 명시
96
+ - 모든 시나리오 통과 시 품질 보장됨
@@ -1,103 +1,103 @@
1
- {
2
- "hooks": {
3
- "SessionStart": [
4
- {
5
- "hooks": [
6
- {
7
- "type": "command",
8
- "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
9
- }
10
- ]
11
- }
12
- ],
13
- "PreToolUse": [
14
- {
15
- "matcher": "Bash",
16
- "hooks": [
17
- {
18
- "type": "command",
19
- "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
20
- }
21
- ]
22
- }
23
- ],
24
- "PostToolUse": [
25
- {
26
- "matcher": "Write|Edit",
27
- "hooks": [
28
- {
29
- "type": "command",
30
- "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
31
- }
32
- ]
33
- }
34
- ],
35
- "UserPromptSubmit": [
36
- {
37
- "matcher": "ultrawork|ulw|울트라워크",
38
- "hooks": [
39
- {
40
- "type": "command",
41
- "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
42
- }
43
- ]
44
- },
45
- {
46
- "matcher": "analyze|분석|analysis",
47
- "hooks": [
48
- {
49
- "type": "command",
50
- "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
51
- }
52
- ]
53
- },
54
- {
55
- "matcher": "debug|디버그|debugging",
56
- "hooks": [
57
- {
58
- "type": "command",
59
- "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
60
- }
61
- ]
62
- },
63
- {
64
- "matcher": "test|테스트|testing",
65
- "hooks": [
66
- {
67
- "type": "command",
68
- "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
69
- }
70
- ]
71
- }
72
- ],
73
- "Notification": [
74
- {
75
- "matcher": "context_window_80",
76
- "hooks": [
77
- {
78
- "type": "command",
79
- "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
80
- }
81
- ]
82
- },
83
- {
84
- "matcher": "context_window_90",
85
- "hooks": [
86
- {
87
- "type": "command",
88
- "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
89
- }
90
- ]
91
- },
92
- {
93
- "matcher": "context_window_95",
94
- "hooks": [
95
- {
96
- "type": "command",
97
- "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
98
- }
99
- ]
100
- }
101
- ]
102
- }
103
- }
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "type": "command",
8
+ "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
9
+ }
10
+ ]
11
+ }
12
+ ],
13
+ "PreToolUse": [
14
+ {
15
+ "matcher": "Bash",
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
20
+ }
21
+ ]
22
+ }
23
+ ],
24
+ "PostToolUse": [
25
+ {
26
+ "matcher": "Write|Edit",
27
+ "hooks": [
28
+ {
29
+ "type": "command",
30
+ "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ "UserPromptSubmit": [
36
+ {
37
+ "matcher": "ultrawork|ulw|울트라워크",
38
+ "hooks": [
39
+ {
40
+ "type": "command",
41
+ "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "matcher": "analyze|분석|analysis",
47
+ "hooks": [
48
+ {
49
+ "type": "command",
50
+ "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "matcher": "debug|디버그|debugging",
56
+ "hooks": [
57
+ {
58
+ "type": "command",
59
+ "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "matcher": "test|테스트|testing",
65
+ "hooks": [
66
+ {
67
+ "type": "command",
68
+ "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "Notification": [
74
+ {
75
+ "matcher": "context_window_80",
76
+ "hooks": [
77
+ {
78
+ "type": "command",
79
+ "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "matcher": "context_window_90",
85
+ "hooks": [
86
+ {
87
+ "type": "command",
88
+ "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "matcher": "context_window_95",
94
+ "hooks": [
95
+ {
96
+ "type": "command",
97
+ "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
98
+ }
99
+ ]
100
+ }
101
+ ]
102
+ }
103
+ }