@su-record/vibe 2.4.4 → 2.4.6

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 (99) hide show
  1. package/.claude/settings.json +48 -48
  2. package/.claude/settings.local.json +24 -24
  3. package/.claude/vibe/constitution.md +184 -184
  4. package/.claude/vibe/rules/core/communication-guide.md +104 -104
  5. package/.claude/vibe/rules/core/development-philosophy.md +52 -52
  6. package/.claude/vibe/rules/core/quick-start.md +120 -120
  7. package/.claude/vibe/rules/languages/dart-flutter.md +509 -509
  8. package/.claude/vibe/rules/languages/go.md +396 -396
  9. package/.claude/vibe/rules/languages/java-spring.md +586 -586
  10. package/.claude/vibe/rules/languages/kotlin-android.md +491 -491
  11. package/.claude/vibe/rules/languages/python-django.md +371 -371
  12. package/.claude/vibe/rules/languages/python-fastapi.md +386 -386
  13. package/.claude/vibe/rules/languages/rust.md +425 -425
  14. package/.claude/vibe/rules/languages/swift-ios.md +516 -516
  15. package/.claude/vibe/rules/languages/typescript-nextjs.md +441 -441
  16. package/.claude/vibe/rules/languages/typescript-node.md +375 -375
  17. package/.claude/vibe/rules/languages/typescript-nuxt.md +521 -521
  18. package/.claude/vibe/rules/languages/typescript-react-native.md +446 -446
  19. package/.claude/vibe/rules/languages/typescript-react.md +525 -525
  20. package/.claude/vibe/rules/languages/typescript-vue.md +353 -353
  21. package/.claude/vibe/rules/quality/bdd-contract-testing.md +388 -388
  22. package/.claude/vibe/rules/quality/checklist.md +276 -276
  23. package/.claude/vibe/rules/quality/testing-strategy.md +437 -437
  24. package/.claude/vibe/rules/standards/anti-patterns.md +369 -369
  25. package/.claude/vibe/rules/standards/code-structure.md +291 -291
  26. package/.claude/vibe/rules/standards/complexity-metrics.md +312 -312
  27. package/.claude/vibe/rules/standards/naming-conventions.md +198 -198
  28. package/.claude/vibe/setup.sh +31 -31
  29. package/.claude/vibe/templates/constitution-template.md +184 -184
  30. package/.claude/vibe/templates/contract-backend-template.md +517 -517
  31. package/.claude/vibe/templates/contract-frontend-template.md +594 -594
  32. package/.claude/vibe/templates/feature-template.md +96 -96
  33. package/.claude/vibe/templates/spec-template.md +199 -199
  34. package/CLAUDE.md +345 -345
  35. package/LICENSE +21 -21
  36. package/README.md +164 -164
  37. package/agents/compounder.md +261 -261
  38. package/agents/diagrammer.md +178 -178
  39. package/agents/e2e-tester.md +266 -266
  40. package/agents/explorer.md +48 -48
  41. package/agents/implementer.md +53 -53
  42. package/agents/research/best-practices-agent.md +139 -139
  43. package/agents/research/codebase-patterns-agent.md +147 -147
  44. package/agents/research/framework-docs-agent.md +181 -181
  45. package/agents/research/security-advisory-agent.md +167 -167
  46. package/agents/review/architecture-reviewer.md +107 -107
  47. package/agents/review/complexity-reviewer.md +116 -116
  48. package/agents/review/data-integrity-reviewer.md +88 -88
  49. package/agents/review/git-history-reviewer.md +103 -103
  50. package/agents/review/performance-reviewer.md +86 -86
  51. package/agents/review/python-reviewer.md +152 -152
  52. package/agents/review/rails-reviewer.md +139 -139
  53. package/agents/review/react-reviewer.md +144 -144
  54. package/agents/review/security-reviewer.md +80 -80
  55. package/agents/review/simplicity-reviewer.md +140 -140
  56. package/agents/review/test-coverage-reviewer.md +116 -116
  57. package/agents/review/typescript-reviewer.md +127 -127
  58. package/agents/searcher.md +54 -54
  59. package/agents/simplifier.md +119 -119
  60. package/agents/tester.md +49 -49
  61. package/agents/ui-previewer.md +137 -137
  62. package/commands/vibe.analyze.md +260 -260
  63. package/commands/vibe.reason.md +223 -223
  64. package/commands/vibe.review.md +213 -213
  65. package/commands/vibe.run.md +935 -842
  66. package/commands/vibe.spec.md +442 -405
  67. package/commands/vibe.utils.md +101 -101
  68. package/commands/vibe.verify.md +282 -282
  69. package/dist/cli/index.js +386 -386
  70. package/dist/lib/MemoryManager.js +92 -92
  71. package/dist/lib/PythonParser.js +108 -108
  72. package/dist/lib/gemini-mcp.js +15 -15
  73. package/dist/lib/gemini-oauth.js +35 -35
  74. package/dist/lib/gpt-mcp.js +17 -17
  75. package/dist/lib/gpt-oauth.js +44 -44
  76. package/dist/orchestrator/orchestrator.js +12 -12
  77. package/dist/orchestrator/parallelResearch.js +24 -24
  78. package/dist/tools/analytics/getUsageAnalytics.js +12 -12
  79. package/dist/tools/memory/createMemoryTimeline.js +10 -10
  80. package/dist/tools/memory/getMemoryGraph.js +12 -12
  81. package/dist/tools/memory/getSessionContext.js +9 -9
  82. package/dist/tools/memory/linkMemories.js +14 -14
  83. package/dist/tools/memory/listMemories.js +4 -4
  84. package/dist/tools/memory/recallMemory.js +4 -4
  85. package/dist/tools/memory/saveMemory.js +4 -4
  86. package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
  87. package/dist/tools/planning/generatePrd.js +46 -46
  88. package/dist/tools/prompt/enhancePromptGemini.js +160 -160
  89. package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
  90. package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
  91. package/hooks/hooks.json +189 -189
  92. package/package.json +85 -85
  93. package/skills/context7-usage.md +82 -82
  94. package/skills/git-worktree.md +181 -181
  95. package/skills/multi-llm-orchestration.md +97 -97
  96. package/skills/parallel-research.md +77 -77
  97. package/skills/priority-todos.md +239 -239
  98. package/skills/tool-fallback.md +126 -126
  99. package/skills/vibe-capabilities.md +127 -127
@@ -1,82 +1,82 @@
1
- ---
2
- description: Context7 MCP for latest library documentation. Auto-activates when docs, documentation, latest version, official docs, API reference, or library help is needed.
3
- ---
4
- # Context7 Usage
5
-
6
- Guide for searching latest library/framework documentation using Context7 MCP.
7
-
8
- ## When to Use
9
-
10
- | Situation | Example |
11
- |-----------|---------|
12
- | Latest API check | "React 19 use() hook usage" |
13
- | Version differences | "Next.js 15 changes" |
14
- | Official docs needed | "Prisma schema syntax" |
15
- | Migration guide | "Vue 2 → Vue 3 migration" |
16
-
17
- ## Usage (2 Steps)
18
-
19
- ### Step 1: Find Library ID
20
-
21
- ```
22
- mcp__context7__resolve-library-id({
23
- libraryName: "react"
24
- })
25
- ```
26
-
27
- Returns: `/facebook/react`, `/vercel/next.js`, etc.
28
-
29
- ### Step 2: Get Documentation
30
-
31
- ```
32
- mcp__context7__get-library-docs({
33
- context7CompatibleLibraryID: "/facebook/react",
34
- topic: "hooks" // optional: specific topic only
35
- })
36
- ```
37
-
38
- ## Common Library IDs
39
-
40
- | Library | Context7 ID |
41
- |---------|-------------|
42
- | React | /facebook/react |
43
- | Next.js | /vercel/next.js |
44
- | Vue | /vuejs/vue |
45
- | Svelte | /sveltejs/svelte |
46
- | Express | /expressjs/express |
47
- | Prisma | /prisma/prisma |
48
- | TypeScript | /microsoft/typescript |
49
-
50
- ## Search Tips
51
-
52
- ```
53
- # Broad search
54
- topic: omit → full documentation
55
-
56
- # Narrow search
57
- topic: "authentication" → auth related only
58
-
59
- # Specific feature
60
- topic: "server components" → server components only
61
- ```
62
-
63
- ## Web Search vs Context7
64
-
65
- | Aspect | Web Search | Context7 |
66
- |--------|------------|----------|
67
- | Speed | Slow | Fast |
68
- | Accuracy | Blogs mixed in | Official docs only |
69
- | Freshness | Variable | Always latest |
70
- | Reliability | Medium | High |
71
-
72
- **Prefer Context7 for library documentation**
73
-
74
- ## Fallback When Fails
75
-
76
- ```
77
- context7 fails
78
-
79
- Web Search for official docs
80
-
81
- Ask vibe-gpt
82
- ```
1
+ ---
2
+ description: Context7 MCP for latest library documentation. Auto-activates when docs, documentation, latest version, official docs, API reference, or library help is needed.
3
+ ---
4
+ # Context7 Usage
5
+
6
+ Guide for searching latest library/framework documentation using Context7 MCP.
7
+
8
+ ## When to Use
9
+
10
+ | Situation | Example |
11
+ |-----------|---------|
12
+ | Latest API check | "React 19 use() hook usage" |
13
+ | Version differences | "Next.js 15 changes" |
14
+ | Official docs needed | "Prisma schema syntax" |
15
+ | Migration guide | "Vue 2 → Vue 3 migration" |
16
+
17
+ ## Usage (2 Steps)
18
+
19
+ ### Step 1: Find Library ID
20
+
21
+ ```
22
+ mcp__context7__resolve-library-id({
23
+ libraryName: "react"
24
+ })
25
+ ```
26
+
27
+ Returns: `/facebook/react`, `/vercel/next.js`, etc.
28
+
29
+ ### Step 2: Get Documentation
30
+
31
+ ```
32
+ mcp__context7__get-library-docs({
33
+ context7CompatibleLibraryID: "/facebook/react",
34
+ topic: "hooks" // optional: specific topic only
35
+ })
36
+ ```
37
+
38
+ ## Common Library IDs
39
+
40
+ | Library | Context7 ID |
41
+ |---------|-------------|
42
+ | React | /facebook/react |
43
+ | Next.js | /vercel/next.js |
44
+ | Vue | /vuejs/vue |
45
+ | Svelte | /sveltejs/svelte |
46
+ | Express | /expressjs/express |
47
+ | Prisma | /prisma/prisma |
48
+ | TypeScript | /microsoft/typescript |
49
+
50
+ ## Search Tips
51
+
52
+ ```
53
+ # Broad search
54
+ topic: omit → full documentation
55
+
56
+ # Narrow search
57
+ topic: "authentication" → auth related only
58
+
59
+ # Specific feature
60
+ topic: "server components" → server components only
61
+ ```
62
+
63
+ ## Web Search vs Context7
64
+
65
+ | Aspect | Web Search | Context7 |
66
+ |--------|------------|----------|
67
+ | Speed | Slow | Fast |
68
+ | Accuracy | Blogs mixed in | Official docs only |
69
+ | Freshness | Variable | Always latest |
70
+ | Reliability | Medium | High |
71
+
72
+ **Prefer Context7 for library documentation**
73
+
74
+ ## Fallback When Fails
75
+
76
+ ```
77
+ context7 fails
78
+
79
+ Web Search for official docs
80
+
81
+ Ask vibe-gpt
82
+ ```
@@ -1,181 +1,181 @@
1
- ---
2
- description: Git Worktree for parallel branch work. Auto-activates for PR review, hotfix, parallel testing, or working on multiple branches simultaneously.
3
- ---
4
- # Git Worktree Skill
5
-
6
- Git Worktree를 활용한 병렬 브랜치 작업 스킬
7
-
8
- ## Overview
9
-
10
- 메인 작업을 중단하지 않고 다른 브랜치에서 리뷰/테스트 수행
11
-
12
- ## Usage
13
-
14
- ```bash
15
- # Worktree 생성
16
- git worktree add ../review-pr123 pr/123
17
-
18
- # 해당 디렉토리에서 작업
19
- cd ../review-pr123
20
- npm test
21
-
22
- # 작업 완료 후 정리
23
- git worktree remove ../review-pr123
24
- ```
25
-
26
- ## Commands
27
-
28
- ### Create Worktree
29
-
30
- ```bash
31
- # PR 리뷰용 worktree
32
- git worktree add ../review-{pr_number} origin/pr/{pr_number}
33
-
34
- # 특정 브랜치 worktree
35
- git worktree add ../feature-work feature/new-feature
36
-
37
- # 새 브랜치로 worktree
38
- git worktree add -b hotfix/urgent ../hotfix main
39
- ```
40
-
41
- ### List Worktrees
42
-
43
- ```bash
44
- git worktree list
45
- # /path/to/main abc1234 [main]
46
- # /path/to/review-123 def5678 [pr/123]
47
- ```
48
-
49
- ### Remove Worktree
50
-
51
- ```bash
52
- # 정상 제거
53
- git worktree remove ../review-123
54
-
55
- # 강제 제거 (uncommitted changes 무시)
56
- git worktree remove --force ../review-123
57
-
58
- # Prune stale worktrees
59
- git worktree prune
60
- ```
61
-
62
- ## Workflow Integration
63
-
64
- ### PR Review Workflow
65
-
66
- ```
67
- ┌─────────────────────────────────────────────────────────────────┐
68
- │ /vibe.review PR#123 │
69
- ├─────────────────────────────────────────────────────────────────┤
70
- │ │
71
- │ 1. git worktree add ../review-123 origin/pr/123 │
72
- │ 2. cd ../review-123 │
73
- │ 3. npm install && npm test │
74
- │ 4. Run parallel review agents │
75
- │ 5. Generate review report │
76
- │ 6. cd - && git worktree remove ../review-123 │
77
- │ │
78
- └─────────────────────────────────────────────────────────────────┘
79
- ```
80
-
81
- ### Hotfix Workflow
82
-
83
- ```
84
- ┌─────────────────────────────────────────────────────────────────┐
85
- │ Urgent hotfix while working on feature │
86
- ├─────────────────────────────────────────────────────────────────┤
87
- │ │
88
- │ # Keep feature work intact │
89
- │ git worktree add -b hotfix/critical ../hotfix main │
90
- │ cd ../hotfix │
91
- │ │
92
- │ # Fix and deploy │
93
- │ vim src/bug.py │
94
- │ git commit -am "fix: critical bug" │
95
- │ git push origin hotfix/critical │
96
- │ │
97
- │ # Return to feature │
98
- │ cd - && git worktree remove ../hotfix │
99
- │ │
100
- └─────────────────────────────────────────────────────────────────┘
101
- ```
102
-
103
- ## Benefits
104
-
105
- 1. **No Stash Needed**: 현재 작업 그대로 유지
106
- 2. **Full Codebase**: 각 worktree는 완전한 코드베이스
107
- 3. **Parallel Work**: 여러 브랜치 동시 작업
108
- 4. **Clean Testing**: 격리된 환경에서 테스트
109
-
110
- ## Best Practices
111
-
112
- ### Naming Convention
113
-
114
- ```bash
115
- # PR 리뷰
116
- ../review-{pr_number}
117
-
118
- # 핫픽스
119
- ../hotfix-{issue_number}
120
-
121
- # 실험
122
- ../experiment-{feature_name}
123
- ```
124
-
125
- ### Cleanup
126
-
127
- ```bash
128
- # 정기 정리
129
- git worktree prune
130
-
131
- # 모든 worktree 확인
132
- git worktree list
133
-
134
- # 스크립트로 자동 정리
135
- for wt in $(git worktree list --porcelain | grep worktree | cut -d' ' -f2); do
136
- if [[ $wt == *"review-"* ]] || [[ $wt == *"hotfix-"* ]]; then
137
- git worktree remove "$wt" 2>/dev/null || true
138
- fi
139
- done
140
- ```
141
-
142
- ### Integration with CI/CD
143
-
144
- ```yaml
145
- # GitHub Actions example
146
- - name: Setup Review Worktree
147
- run: |
148
- git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
149
- git worktree add ../review pr-${{ github.event.pull_request.number }}
150
-
151
- - name: Run Tests in Worktree
152
- working-directory: ../review
153
- run: npm test
154
-
155
- - name: Cleanup
156
- run: git worktree remove ../review
157
- ```
158
-
159
- ## Troubleshooting
160
-
161
- ### "already checked out" Error
162
-
163
- ```bash
164
- # 해결: 해당 브랜치가 다른 worktree에 있음
165
- git worktree list # 확인
166
- git worktree remove <path> # 제거
167
- ```
168
-
169
- ### Locked Worktree
170
-
171
- ```bash
172
- # 해결: 잠긴 worktree 해제
173
- git worktree unlock <path>
174
- ```
175
-
176
- ### Stale Worktree
177
-
178
- ```bash
179
- # 해결: 삭제된 디렉토리 정리
180
- git worktree prune
181
- ```
1
+ ---
2
+ description: Git Worktree for parallel branch work. Auto-activates for PR review, hotfix, parallel testing, or working on multiple branches simultaneously.
3
+ ---
4
+ # Git Worktree Skill
5
+
6
+ Git Worktree를 활용한 병렬 브랜치 작업 스킬
7
+
8
+ ## Overview
9
+
10
+ 메인 작업을 중단하지 않고 다른 브랜치에서 리뷰/테스트 수행
11
+
12
+ ## Usage
13
+
14
+ ```bash
15
+ # Worktree 생성
16
+ git worktree add ../review-pr123 pr/123
17
+
18
+ # 해당 디렉토리에서 작업
19
+ cd ../review-pr123
20
+ npm test
21
+
22
+ # 작업 완료 후 정리
23
+ git worktree remove ../review-pr123
24
+ ```
25
+
26
+ ## Commands
27
+
28
+ ### Create Worktree
29
+
30
+ ```bash
31
+ # PR 리뷰용 worktree
32
+ git worktree add ../review-{pr_number} origin/pr/{pr_number}
33
+
34
+ # 특정 브랜치 worktree
35
+ git worktree add ../feature-work feature/new-feature
36
+
37
+ # 새 브랜치로 worktree
38
+ git worktree add -b hotfix/urgent ../hotfix main
39
+ ```
40
+
41
+ ### List Worktrees
42
+
43
+ ```bash
44
+ git worktree list
45
+ # /path/to/main abc1234 [main]
46
+ # /path/to/review-123 def5678 [pr/123]
47
+ ```
48
+
49
+ ### Remove Worktree
50
+
51
+ ```bash
52
+ # 정상 제거
53
+ git worktree remove ../review-123
54
+
55
+ # 강제 제거 (uncommitted changes 무시)
56
+ git worktree remove --force ../review-123
57
+
58
+ # Prune stale worktrees
59
+ git worktree prune
60
+ ```
61
+
62
+ ## Workflow Integration
63
+
64
+ ### PR Review Workflow
65
+
66
+ ```
67
+ ┌─────────────────────────────────────────────────────────────────┐
68
+ │ /vibe.review PR#123 │
69
+ ├─────────────────────────────────────────────────────────────────┤
70
+ │ │
71
+ │ 1. git worktree add ../review-123 origin/pr/123 │
72
+ │ 2. cd ../review-123 │
73
+ │ 3. npm install && npm test │
74
+ │ 4. Run parallel review agents │
75
+ │ 5. Generate review report │
76
+ │ 6. cd - && git worktree remove ../review-123 │
77
+ │ │
78
+ └─────────────────────────────────────────────────────────────────┘
79
+ ```
80
+
81
+ ### Hotfix Workflow
82
+
83
+ ```
84
+ ┌─────────────────────────────────────────────────────────────────┐
85
+ │ Urgent hotfix while working on feature │
86
+ ├─────────────────────────────────────────────────────────────────┤
87
+ │ │
88
+ │ # Keep feature work intact │
89
+ │ git worktree add -b hotfix/critical ../hotfix main │
90
+ │ cd ../hotfix │
91
+ │ │
92
+ │ # Fix and deploy │
93
+ │ vim src/bug.py │
94
+ │ git commit -am "fix: critical bug" │
95
+ │ git push origin hotfix/critical │
96
+ │ │
97
+ │ # Return to feature │
98
+ │ cd - && git worktree remove ../hotfix │
99
+ │ │
100
+ └─────────────────────────────────────────────────────────────────┘
101
+ ```
102
+
103
+ ## Benefits
104
+
105
+ 1. **No Stash Needed**: 현재 작업 그대로 유지
106
+ 2. **Full Codebase**: 각 worktree는 완전한 코드베이스
107
+ 3. **Parallel Work**: 여러 브랜치 동시 작업
108
+ 4. **Clean Testing**: 격리된 환경에서 테스트
109
+
110
+ ## Best Practices
111
+
112
+ ### Naming Convention
113
+
114
+ ```bash
115
+ # PR 리뷰
116
+ ../review-{pr_number}
117
+
118
+ # 핫픽스
119
+ ../hotfix-{issue_number}
120
+
121
+ # 실험
122
+ ../experiment-{feature_name}
123
+ ```
124
+
125
+ ### Cleanup
126
+
127
+ ```bash
128
+ # 정기 정리
129
+ git worktree prune
130
+
131
+ # 모든 worktree 확인
132
+ git worktree list
133
+
134
+ # 스크립트로 자동 정리
135
+ for wt in $(git worktree list --porcelain | grep worktree | cut -d' ' -f2); do
136
+ if [[ $wt == *"review-"* ]] || [[ $wt == *"hotfix-"* ]]; then
137
+ git worktree remove "$wt" 2>/dev/null || true
138
+ fi
139
+ done
140
+ ```
141
+
142
+ ### Integration with CI/CD
143
+
144
+ ```yaml
145
+ # GitHub Actions example
146
+ - name: Setup Review Worktree
147
+ run: |
148
+ git fetch origin pull/${{ github.event.pull_request.number }}/head:pr-${{ github.event.pull_request.number }}
149
+ git worktree add ../review pr-${{ github.event.pull_request.number }}
150
+
151
+ - name: Run Tests in Worktree
152
+ working-directory: ../review
153
+ run: npm test
154
+
155
+ - name: Cleanup
156
+ run: git worktree remove ../review
157
+ ```
158
+
159
+ ## Troubleshooting
160
+
161
+ ### "already checked out" Error
162
+
163
+ ```bash
164
+ # 해결: 해당 브랜치가 다른 worktree에 있음
165
+ git worktree list # 확인
166
+ git worktree remove <path> # 제거
167
+ ```
168
+
169
+ ### Locked Worktree
170
+
171
+ ```bash
172
+ # 해결: 잠긴 worktree 해제
173
+ git worktree unlock <path>
174
+ ```
175
+
176
+ ### Stale Worktree
177
+
178
+ ```bash
179
+ # 해결: 삭제된 디렉토리 정리
180
+ git worktree prune
181
+ ```