@su-record/vibe 3.1.0 → 3.2.1

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 (183) hide show
  1. package/CLAUDE.md +2 -2
  2. package/README.en.md +9 -6
  3. package/README.md +9 -4
  4. package/dist/__tests__/wiring-integrity.test.d.ts +2 -0
  5. package/dist/__tests__/wiring-integrity.test.d.ts.map +1 -0
  6. package/dist/__tests__/wiring-integrity.test.js +160 -0
  7. package/dist/__tests__/wiring-integrity.test.js.map +1 -0
  8. package/dist/cli/commands/info.d.ts.map +1 -1
  9. package/dist/cli/commands/info.js +2 -1
  10. package/dist/cli/commands/info.js.map +1 -1
  11. package/dist/cli/commands/init.d.ts.map +1 -1
  12. package/dist/cli/commands/init.js +4 -2
  13. package/dist/cli/commands/init.js.map +1 -1
  14. package/dist/cli/design/design-md-parser.test.js +2 -2
  15. package/dist/cli/design/design-md-parser.test.js.map +1 -1
  16. package/dist/cli/index.js +102 -128
  17. package/dist/cli/index.js.map +1 -1
  18. package/dist/cli/postinstall/claude-agents.d.ts.map +1 -1
  19. package/dist/cli/postinstall/claude-agents.js +0 -5
  20. package/dist/cli/postinstall/claude-agents.js.map +1 -1
  21. package/dist/cli/postinstall/constants.d.ts +6 -0
  22. package/dist/cli/postinstall/constants.d.ts.map +1 -1
  23. package/dist/cli/postinstall/constants.js +42 -60
  24. package/dist/cli/postinstall/constants.js.map +1 -1
  25. package/dist/cli/postinstall/inline-skills.js +2 -2
  26. package/dist/cli/postinstall/inline-skills.js.map +1 -1
  27. package/dist/cli/postinstall/main.d.ts.map +1 -1
  28. package/dist/cli/postinstall/main.js +2 -0
  29. package/dist/cli/postinstall/main.js.map +1 -1
  30. package/dist/cli/postinstall.d.ts +6 -1
  31. package/dist/cli/postinstall.d.ts.map +1 -1
  32. package/dist/cli/postinstall.js +6 -1
  33. package/dist/cli/postinstall.js.map +1 -1
  34. package/dist/cli/setup/GlobalInstaller.d.ts +1 -15
  35. package/dist/cli/setup/GlobalInstaller.d.ts.map +1 -1
  36. package/dist/cli/setup/GlobalInstaller.js +16 -115
  37. package/dist/cli/setup/GlobalInstaller.js.map +1 -1
  38. package/dist/cli/setup/GlobalInstaller.test.d.ts +2 -0
  39. package/dist/cli/setup/GlobalInstaller.test.d.ts.map +1 -0
  40. package/dist/cli/setup/GlobalInstaller.test.js +16 -0
  41. package/dist/cli/setup/GlobalInstaller.test.js.map +1 -0
  42. package/dist/cli/setup/ProjectSetup.js +2 -2
  43. package/dist/cli/setup/ProjectSetup.js.map +1 -1
  44. package/dist/cli/setup/Provisioner.d.ts.map +1 -1
  45. package/dist/cli/setup/Provisioner.js +23 -7
  46. package/dist/cli/setup/Provisioner.js.map +1 -1
  47. package/dist/cli/setup.d.ts +1 -1
  48. package/dist/cli/setup.d.ts.map +1 -1
  49. package/dist/cli/setup.js +1 -1
  50. package/dist/cli/setup.js.map +1 -1
  51. package/dist/cli/utils/cli-detector.d.ts +3 -3
  52. package/dist/cli/utils/cli-detector.d.ts.map +1 -1
  53. package/dist/cli/utils/cli-detector.js +7 -27
  54. package/dist/cli/utils/cli-detector.js.map +1 -1
  55. package/dist/cli/utils/cli-detector.test.js +3 -2
  56. package/dist/cli/utils/cli-detector.test.js.map +1 -1
  57. package/dist/infra/lib/SkillRepository.js +1 -1
  58. package/dist/infra/lib/evolution/__tests__/integration.test.js +0 -42
  59. package/dist/infra/lib/evolution/__tests__/integration.test.js.map +1 -1
  60. package/dist/infra/lib/llm-availability.d.ts.map +1 -1
  61. package/dist/infra/lib/llm-availability.js +2 -10
  62. package/dist/infra/lib/llm-availability.js.map +1 -1
  63. package/dist/infra/lib/llm-availability.test.js +3 -2
  64. package/dist/infra/lib/llm-availability.test.js.map +1 -1
  65. package/dist/infra/lib/utils.d.ts +6 -0
  66. package/dist/infra/lib/utils.d.ts.map +1 -1
  67. package/dist/infra/lib/utils.js +33 -0
  68. package/dist/infra/lib/utils.js.map +1 -1
  69. package/dist/tools/convention/validateCodeQuality.d.ts +1 -0
  70. package/dist/tools/convention/validateCodeQuality.d.ts.map +1 -1
  71. package/dist/tools/convention/validateCodeQuality.js +3 -2
  72. package/dist/tools/convention/validateCodeQuality.js.map +1 -1
  73. package/dist/tools/index.d.ts +2 -2
  74. package/dist/tools/index.d.ts.map +1 -1
  75. package/dist/tools/index.js +2 -0
  76. package/dist/tools/index.js.map +1 -1
  77. package/dist/tools/spec/executionPacket.d.ts +101 -0
  78. package/dist/tools/spec/executionPacket.d.ts.map +1 -0
  79. package/dist/tools/spec/executionPacket.js +394 -0
  80. package/dist/tools/spec/executionPacket.js.map +1 -0
  81. package/dist/tools/spec/executionPacket.test.d.ts +2 -0
  82. package/dist/tools/spec/executionPacket.test.d.ts.map +1 -0
  83. package/dist/tools/spec/executionPacket.test.js +360 -0
  84. package/dist/tools/spec/executionPacket.test.js.map +1 -0
  85. package/dist/tools/spec/index.d.ts +2 -0
  86. package/dist/tools/spec/index.d.ts.map +1 -1
  87. package/dist/tools/spec/index.js +2 -0
  88. package/dist/tools/spec/index.js.map +1 -1
  89. package/dist/tools/spec/specGenerator.d.ts +12 -0
  90. package/dist/tools/spec/specGenerator.d.ts.map +1 -1
  91. package/dist/tools/spec/specGenerator.js +96 -14
  92. package/dist/tools/spec/specGenerator.js.map +1 -1
  93. package/dist/tools/spec/specGenerator.test.d.ts +2 -0
  94. package/dist/tools/spec/specGenerator.test.d.ts.map +1 -0
  95. package/dist/tools/spec/specGenerator.test.js +130 -0
  96. package/dist/tools/spec/specGenerator.test.js.map +1 -0
  97. package/hooks/scripts/__tests__/.vibe/command-log.txt +3 -3
  98. package/hooks/scripts/__tests__/clone-behaviors.test.js +33 -1
  99. package/hooks/scripts/__tests__/code-check-memory-write.test.js +81 -0
  100. package/hooks/scripts/__tests__/llm-orchestrate-antigravity.test.js +5 -2
  101. package/hooks/scripts/__tests__/run-ledger-verify-required.test.js +7 -2
  102. package/hooks/scripts/__tests__/run-ledger.test.js +161 -10
  103. package/hooks/scripts/__tests__/step-counter.test.js +21 -0
  104. package/hooks/scripts/__tests__/utils-npm-root.test.js +5 -4
  105. package/hooks/scripts/auto-format.js +2 -11
  106. package/hooks/scripts/auto-test.js +2 -11
  107. package/hooks/scripts/clone-extract.js +146 -10
  108. package/hooks/scripts/code-check.js +27 -55
  109. package/hooks/scripts/lib/glob.js +32 -0
  110. package/hooks/scripts/lib/hook-context.js +19 -2
  111. package/hooks/scripts/lib/run-ledger.js +123 -21
  112. package/hooks/scripts/post-edit.js +2 -3
  113. package/hooks/scripts/prompt-dispatcher.js +1 -1
  114. package/hooks/scripts/scope-guard.js +3 -42
  115. package/hooks/scripts/sentinel-guard.js +5 -20
  116. package/hooks/scripts/session-start.js +2 -2
  117. package/hooks/scripts/step-counter.js +35 -57
  118. package/hooks/scripts/verify-ledger.js +23 -3
  119. package/package.json +2 -3
  120. package/skills/clone/SKILL.md +10 -216
  121. package/skills/clone/references/capture-rules.md +48 -0
  122. package/skills/clone/references/legal-and-error-recovery.md +40 -0
  123. package/skills/clone/references/refine-rules.md +61 -0
  124. package/skills/clone/references/scaffold-phases.md +59 -0
  125. package/skills/clone/references/setup-and-layout.md +30 -0
  126. package/skills/docs/SKILL.md +39 -4
  127. package/skills/docs/references/api-docs-changelog.md +34 -0
  128. package/skills/docs/references/codemaps-output.md +23 -0
  129. package/{agents/diagrammer.md → skills/docs/references/diagram-spec.md} +2 -15
  130. package/skills/exec-plan/SKILL.md +1 -1
  131. package/skills/exec-plan/templates/plan.md +1 -1
  132. package/skills/handoff/SKILL.md +3 -3
  133. package/skills/handoff/templates/handoff.md +1 -1
  134. package/skills/spec/SKILL.md +7 -0
  135. package/skills/vibe/SKILL.md +3 -2
  136. package/skills/vibe.analyze/SKILL.md +12 -249
  137. package/skills/vibe.analyze/references/output-templates.md +188 -0
  138. package/skills/vibe.analyze/references/quality-gate.md +93 -0
  139. package/skills/vibe.clone/SKILL.md +14 -1
  140. package/skills/vibe.continue/SKILL.md +32 -0
  141. package/skills/vibe.design/SKILL.md +23 -1
  142. package/skills/vibe.design/references/ui-preview.md +20 -0
  143. package/skills/vibe.docs/SKILL.md +4 -2
  144. package/skills/vibe.figma/SKILL.md +33 -260
  145. package/skills/vibe.figma/references/branch-phases.md +113 -0
  146. package/skills/vibe.figma/references/state-schema.md +42 -0
  147. package/skills/vibe.figma/references/step-algorithms.md +204 -0
  148. package/skills/vibe.image/SKILL.md +62 -0
  149. package/skills/vibe.image/references/image-generation-examples.md +39 -0
  150. package/skills/vibe.reason/SKILL.md +3 -183
  151. package/skills/vibe.reason/references/output-format-template.md +57 -0
  152. package/skills/vibe.reason/references/quality-rubrics.md +94 -0
  153. package/skills/vibe.reason/references/worked-example.md +45 -0
  154. package/skills/vibe.review/SKILL.md +13 -348
  155. package/skills/vibe.review/references/boundary-check.md +25 -0
  156. package/skills/vibe.review/references/output-template.md +74 -0
  157. package/skills/vibe.review/references/quality-gate.md +84 -0
  158. package/skills/vibe.review/references/race-mode.md +117 -0
  159. package/skills/vibe.review/references/worked-examples.md +94 -0
  160. package/skills/vibe.run/SKILL.md +29 -6
  161. package/skills/vibe.trace/SKILL.md +3 -3
  162. package/skills/vibe.verify/SKILL.md +10 -4
  163. package/vibe/rules/loop-contract.md +7 -3
  164. package/vibe/templates/claudemd-template.md +1 -1
  165. package/vibe/templates/spec-template.md +32 -5
  166. package/agents/acceptance-tester.md +0 -56
  167. package/agents/documenter.md +0 -43
  168. package/agents/figma/figma-engineer.md +0 -76
  169. package/dist/cli/postinstall/index.d.ts +0 -23
  170. package/dist/cli/postinstall/index.d.ts.map +0 -1
  171. package/dist/cli/postinstall/index.js +0 -23
  172. package/dist/cli/postinstall/index.js.map +0 -1
  173. package/dist/cli/setup/index.d.ts +0 -9
  174. package/dist/cli/setup/index.d.ts.map +0 -1
  175. package/dist/cli/setup/index.js +0 -12
  176. package/dist/cli/setup/index.js.map +0 -1
  177. package/hooks/scripts/__tests__/.vibe/memories/memories.db +0 -0
  178. package/hooks/scripts/__tests__/.vibe/memories/memories.db-shm +0 -0
  179. package/hooks/scripts/__tests__/.vibe/memories/memories.db-wal +0 -0
  180. package/hooks/scripts/evolution-engine.js +0 -91
  181. package/hooks/scripts/hud-status.js +0 -321
  182. package/hooks/scripts/skill-injector.js +0 -83
  183. package/skills/vibe.utils/SKILL.md +0 -415
@@ -0,0 +1,188 @@
1
+ # Analyze Output Templates — Full Reference
2
+
3
+ > Loaded by vibe.analyze SKILL.md for the Mode 1–4 output formats, the Mode 1 Next Steps decision tables, the Mode 1 stack directory mapping, and the Mode 2 document-type table.
4
+
5
+ ## Mode 1: Project Structure — Stack Directory Mapping
6
+
7
+ **Backend:**
8
+ - FastAPI/Django: `app/api/`, `app/services/`, `app/models/`
9
+ - Express/NestJS: `src/controllers/`, `src/services/`, `src/models/`
10
+
11
+ **Frontend:**
12
+ - React/Next.js: `src/components/`, `src/pages/`, `src/hooks/`
13
+ - Flutter: `lib/screens/`, `lib/services/`, `lib/providers/`
14
+
15
+ ## Mode 1: Scale for Large Projects (6+ related files) — Additional Agent Prompts
16
+
17
+ ```text
18
+ Agent(subagent_type="Explore", model="haiku",
19
+ prompt="Find all test files related to [FEATURE]. Identify tested vs untested paths.")
20
+
21
+ Agent(subagent_type="Explore", model="haiku",
22
+ prompt="Analyze [FEATURE] configuration, environment variables, and external integrations.")
23
+ ```
24
+
25
+ ## Mode 1: Feature/Module Analysis — Output
26
+
27
+ ```markdown
28
+ ## [feature-name] Analysis Results
29
+
30
+ ### Overview
31
+ - **Feature**: [one-line summary]
32
+ - **Status**: [Complete / In progress / Not implemented]
33
+ - **Files**: N related files
34
+
35
+ ### Structure
36
+
37
+ #### API Endpoints
38
+ | Method | Path | Description | Auth |
39
+ |--------|------|-------------|------|
40
+ | POST | /api/v1/auth/login | User login | None |
41
+
42
+ #### Core Services
43
+ - `auth_service.py`: Authentication logic
44
+ - `login()`: Processes login
45
+ - `verify_token()`: Validates JWT
46
+
47
+ #### Data Models
48
+ - `User`: User table
49
+ - Key fields: id, email, password_hash
50
+ - Relationships: Session (1:N)
51
+
52
+ ### Reference Files
53
+ - src/api/auth/router.py:L10-50
54
+ - src/services/auth_service.py:L1-100
55
+ ```
56
+
57
+ ## Mode 1: Next Steps — Decision Tables
58
+
59
+ After analysis, suggest mode-specific follow-up actions:
60
+
61
+ **After code/feature analysis:**
62
+
63
+ | Task Scope | Approach |
64
+ |------------|----------|
65
+ | Simple fix (1-2 files) | Plan Mode |
66
+ | Complex feature (3+ files) | `/vibe.spec` |
67
+
68
+ **After document analysis:**
69
+
70
+ | Goal | Approach |
71
+ |------|----------|
72
+ | Apply findings to project | `/vibe.spec "feature-name"` |
73
+ | Derive improvement direction | Plan Mode |
74
+ | Compare with another source | `/vibe.analyze [other target]` |
75
+
76
+ **After website analysis:**
77
+
78
+ | Goal | Approach |
79
+ |------|----------|
80
+ | Build similar product | `/vibe.spec` |
81
+ | Improve existing UI | `/vibe.figma` |
82
+ | Compare with another site | `/vibe.analyze [other URL]` |
83
+
84
+ ## Mode 2: Classify Document Type
85
+
86
+ | Type | Analysis Focus |
87
+ |------|---------------|
88
+ | Technical spec | API definitions, data models, sequence diagrams |
89
+ | Presentation/slides | Key claims, frameworks, case studies |
90
+ | PRD/requirements | User stories, acceptance criteria, scope |
91
+ | Business document | Strategy, decision points, action items |
92
+ | Research/academic | Methodology, conclusions, applicability |
93
+
94
+ ## Mode 2: Document Analysis — Output
95
+
96
+ ```markdown
97
+ ## [Document Name] Analysis
98
+
99
+ ### Overview
100
+ - **Type**: [Presentation / Technical spec / PRD / ...]
101
+ - **Topic**: [one-line summary]
102
+ - **Pages/Sections**: N
103
+ - **Audience**: [Developers / PMs / Executives / ...]
104
+
105
+ ### Key Content
106
+ 1. **[Concept 1]**: Description
107
+ 2. **[Concept 2]**: Description
108
+
109
+ ### Frameworks/Models (if any)
110
+ - [Systematic structure presented in the document]
111
+
112
+ ### Project Relevance
113
+ | Recommendation | Current State | Gap |
114
+ |----------------|---------------|-----|
115
+ | ... | ... | ... |
116
+
117
+ ### Key Insights
118
+ - [Most important takeaway]
119
+
120
+ ### Suggested Actions
121
+ 1. ...
122
+ ```
123
+
124
+ ## Mode 3: Website Analysis — Output
125
+
126
+ ```markdown
127
+ ## [URL] Analysis
128
+
129
+ ### Overview
130
+ - **Site type**: [SaaS / E-commerce / Portfolio / ...]
131
+ - **Tech stack**: [Next.js, Tailwind, ...]
132
+ - **Overall score**: N/100
133
+
134
+ ### Technical Analysis
135
+ | Area | Detection | Details |
136
+ |------|-----------|---------|
137
+ | Framework | React/Next.js | SSR enabled |
138
+ | CSS | Tailwind CSS | v3.4 |
139
+
140
+ ### UX/UI Analysis
141
+ - **Navigation**: [assessment]
142
+ - **CTA placement**: [assessment]
143
+ - **Responsive design**: [assessment]
144
+
145
+ ### SEO Analysis (N/100)
146
+ | Element | Status | Recommendation |
147
+ |---------|--------|----------------|
148
+ | Title | Present | Appropriate length |
149
+ | Meta Description | Missing | Add description |
150
+
151
+ ### Accessibility (WCAG 2.1 AA)
152
+ - **Semantic HTML**: [assessment]
153
+ - **Keyboard navigation**: [assessment]
154
+ - **Screen reader support**: [assessment]
155
+
156
+ ### Improvement Suggestions
157
+ 1. [highest priority]
158
+ 2. ...
159
+ ```
160
+
161
+ ## Mode 4: Project Quality Analysis — Report
162
+
163
+ Save to `.vibe/reports/analysis-{date}.md`:
164
+
165
+ ```markdown
166
+ # Project Analysis Report
167
+
168
+ ## Overview
169
+ - Analysis date: YYYY-MM-DD HH:MM
170
+ - Scope: Full / Code / Deps / Arch
171
+
172
+ ## Code Quality (N/100)
173
+ - Average complexity: N (good/warning/critical)
174
+ - High complexity files: N
175
+
176
+ ## Dependencies (N/100)
177
+ - Total packages: N
178
+ - Updates needed: N
179
+ - Security issues: N
180
+
181
+ ## Architecture (N/100)
182
+ - Circular dependencies: N found
183
+ - Layer violations: N
184
+
185
+ ## Improvement Suggestions
186
+ 1. ...
187
+ 2. ...
188
+ ```
@@ -0,0 +1,93 @@
1
+ # Analyze Quality Gate — Full Reference
2
+
3
+ > Loaded by vibe.analyze SKILL.md for the mode-specific weighted checklists, score calculation, depth levels, forbidden-patterns table, and quality thresholds.
4
+
5
+ ### Mode-Specific Checklists
6
+
7
+ **Code/Feature Analysis:**
8
+
9
+ | Category | Check Item | Weight |
10
+ |----------|------------|--------|
11
+ | Completeness | All related files identified | 20% |
12
+ | Completeness | All API endpoints documented | 15% |
13
+ | Completeness | All data models mapped | 15% |
14
+ | Accuracy | File paths verified to exist | 10% |
15
+ | Accuracy | Line numbers accurate | 10% |
16
+ | Depth | Business logic explained | 10% |
17
+ | Depth | Dependencies mapped | 10% |
18
+ | Actionability | Next steps clearly defined | 10% |
19
+
20
+ **Document Analysis:**
21
+
22
+ | Category | Check Item | Weight |
23
+ |----------|------------|--------|
24
+ | Completeness | Full document read | 20% |
25
+ | Completeness | All key concepts extracted | 20% |
26
+ | Structure | Section structure identified | 15% |
27
+ | Depth | Project relevance analyzed | 15% |
28
+ | Depth | Gap analysis performed | 15% |
29
+ | Actionability | Specific follow-up actions suggested | 15% |
30
+
31
+ **Website Analysis:**
32
+
33
+ | Category | Check Item | Weight |
34
+ |----------|------------|--------|
35
+ | Completeness | HTML fetched and parsed | 15% |
36
+ | Tech | Tech stack identified | 15% |
37
+ | UX | UX/UI patterns analyzed | 15% |
38
+ | SEO | SEO elements inspected | 15% |
39
+ | A11y | Accessibility checked | 15% |
40
+ | Performance | Performance hints analyzed | 10% |
41
+ | Actionability | Improvements suggested | 15% |
42
+
43
+ ### Score Calculation
44
+
45
+ ```
46
+ Score = sum(checked items * weight) / 100
47
+
48
+ Grades:
49
+ - 95-100: EXCELLENT — comprehensive analysis
50
+ - 90-94: GOOD — minor gaps, additional exploration recommended
51
+ - 80-89: FAIR — needs deeper exploration
52
+ - 0-79: POOR — incomplete, re-analyze
53
+ ```
54
+
55
+ ### Depth Levels
56
+
57
+ | Level | Scope | Output |
58
+ |-------|-------|--------|
59
+ | L1: Surface | File names, basic structure | File list |
60
+ | L2: Structure | Functions, classes, imports | Structure map |
61
+ | L3: Logic | Business logic, data flow | Flow analysis |
62
+ | L4: Deep | Edge cases, dependencies, risks | Full analysis |
63
+
64
+ **Minimum**: L3 for feature analysis, L2 for project overview.
65
+
66
+ ### Forbidden Patterns
67
+
68
+ | Pattern | Problem | Fix |
69
+ |---------|---------|-----|
70
+ | "and more..." | Incomplete | List all items |
71
+ | "etc." | Vague | Be specific |
72
+ | "related files" without paths | Missing detail | Provide file paths |
73
+ | Missing line numbers | Hard to navigate | Use `:L10-50` format |
74
+ | No auth info on endpoints | Security gap | Always specify auth |
75
+
76
+ ### Quality Thresholds
77
+
78
+ **Code (`--code`):**
79
+
80
+ | Metric | Good | Warning | Critical |
81
+ |--------|------|---------|----------|
82
+ | Avg Complexity | ≤10 | 11-15 | >15 |
83
+ | Max Function Length | ≤30 | 31-50 | >50 |
84
+ | High Complexity Files | 0 | 1-3 | >3 |
85
+ | Circular Dependencies | 0 | 1 | >1 |
86
+
87
+ **Dependencies (`--deps`):**
88
+
89
+ | Metric | Good | Warning | Critical |
90
+ |--------|------|---------|----------|
91
+ | Outdated Packages | 0-3 | 4-10 | >10 |
92
+ | Security Vulnerabilities | 0 | 1-2 (low) | Any high/critical |
93
+ | Major Version Behind | 0 | 1-2 | >2 |
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vibe.clone
3
3
  description: URL → 마크업 레벨 픽셀 완벽 클론 — 헤드리스 브라우저로 라이브 사이트 캡처 후 현재 프로젝트 스택에 맞게 스캐폴딩
4
- argument-hint: "<url> [<url2>...] [--name=<feature>] [--mo-only] [--pc-only] [--ignore-robots] [--no-interact] [--real-content]"
4
+ argument-hint: "<url> [<url2>...] [--name=<feature>] [--sub] [--mo-only] [--pc-only] [--ignore-robots] [--no-interact] [--real-content]"
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -18,6 +18,7 @@ URL을 받아 **마크업 수준으로 정밀 복제**하고 현재 프로젝트
18
18
  /vibe.clone <url> --mo-only # 모바일(375×812)만 캡처
19
19
  /vibe.clone <url> --pc-only # 데스크탑(1440×900)만 캡처
20
20
  /vibe.clone <url> --name=stripe-clone # 기능 이름 지정 (기본: 호스트명 kebab-case)
21
+ /vibe.clone <url> --sub # 사이트맵/메가메뉴 하위 메뉴 URL까지 함께 클론
21
22
  /vibe.clone <url1> <url2> <url3> # 다중 페이지 클론 (같은 사이트의 여러 경로)
22
23
  /vibe.clone <url> --ignore-robots # robots.txt 무시 (사이트 소유자 허가 있을 때만)
23
24
  /vibe.clone <url> --no-interact # 능동 인터랙션 스윕 끄기 (완전 결정론적·재현 가능 캡처)
@@ -31,12 +32,22 @@ Step 1) 인자 수집
31
32
  urls = http(s):// 로 시작하는 모든 인자
32
33
  feature = --name=<value> | URL host → kebab-case
33
34
  scope = --mo-only | --pc-only | (기본: both)
35
+ sub = --sub 플래그 유무
34
36
  ignoreRobots = --ignore-robots 플래그 유무
35
37
  realContent = --real-content 플래그 유무 (소유/허가 확인 질문 1회 후 적용)
36
38
 
37
39
  Step 2) 인자 검증
38
40
  urls.length === 0 → 사용자에게 URL 입력 요청, 중단
39
41
  ! /^https?:\/\//.test(url) → "유효한 URL이 아닙니다" 에러, 중단
42
+ --sub && urls.length > 1 → "--sub는 기준 URL 1개와 함께 사용하세요" 에러, 중단
43
+
44
+ Step 2.5) --sub URL 확장
45
+ - node {{VIBE_PATH}}/hooks/scripts/clone-extract.js suburls <url> \
46
+ --out=/tmp/{feature}/menu-urls.json [--ignore-robots]
47
+ - menu-urls.json.urls 를 urls 로 사용
48
+ - 수집 기준: /sitemap 우선, 없으면 header/nav/mega-menu
49
+ - 포함: 같은 origin + 같은 locale prefix의 하위 메뉴 URL
50
+ - 제외: 외부 링크, 언어 전환, 검색, TOP, 푸터 정책/문의/파트너/뉴스룸 링크
40
51
 
41
52
  Step 3) 스킬 진입
42
53
  → clone 스킬 Phase 0부터 순차 실행
@@ -51,6 +62,7 @@ Step 3) 스킬 진입
51
62
  Phase 0: Setup
52
63
  - .vibe/config.json + package.json → 스택 감지
53
64
  - feature 이름 결정, 디렉토리 생성
65
+ - --sub이면 /tmp/{feature}/menu-urls.json 생성 후 URL 목록 확장
54
66
 
55
67
  Phase 1: Capture (병렬 — scope에 따라 MO/PC 동시)
56
68
  - node {{VIBE_PATH}}/hooks/scripts/clone-extract.js capture <url> \
@@ -108,6 +120,7 @@ Phase 5: Pixel Verification (P1=0까지 루프 — clone SKILL.md 규칙; 병합
108
120
 
109
121
  ```
110
122
  /tmp/{feature}/ # 작업 디렉토리 (산출물 원본)
123
+ ├── menu-urls.json # --sub URL 확장 결과
111
124
  ├── mo/, pc/ # rendered.html, computed.json, screenshot.png, states.json, behaviors.json, sections.json, assets/
112
125
  └── project-tokens.json # 기존 프로젝트 토큰 인덱스
113
126
 
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: vibe.continue
3
+ description: Restore previous session context for continuity — memory load, context restore, resume from last checkpoint.
4
+ argument-hint: (no arguments)
5
+ user-invocable: true
6
+ ---
7
+
8
+ # /vibe.continue
9
+
10
+ Restore previous session context for continuity.
11
+
12
+ ## Usage
13
+
14
+ ```
15
+ /vibe.continue
16
+ ```
17
+
18
+ ## Process
19
+
20
+ 1. Calls `core_start_session` to load project memories
21
+ 2. Restores previous conversation context
22
+ 3. Resumes work from last checkpoint
23
+
24
+ ## When to Use
25
+
26
+ - At new session start, to pick up exactly where the previous session left off
27
+ - At 85%+ context usage: `save_memory` → `/new` → `/vibe.continue` (컨텍스트 리셋 후 즉시 복원)
28
+ - Combine with the `handoff` skill for detailed handover: Handoff writes a manual `HANDOFF.md` (work progress + notes + file list) before a session ends; `/vibe.continue` automatically restores memory + session state at the start of the next one.
29
+
30
+ ---
31
+
32
+ ARGUMENTS: $ARGUMENTS
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vibe.design
3
3
  description: DESIGN.md(시각 품질 SSOT) 생성·검증·드리프트 검사·동기화. Figma 독립.
4
- argument-hint: "init [--from=interview|code|reference|figma] | lint | verify | sync"
4
+ argument-hint: "init [--from=interview|code|reference|figma] | lint | verify | sync | preview"
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -22,6 +22,7 @@ user-invocable: true
22
22
  /vibe.design lint # Stitch 9 섹션 완전성 검증
23
23
  /vibe.design verify [--files=<glob>] # 구현 ↔ DESIGN.md hex 드리프트 (v1)
24
24
  /vibe.design sync # Figma 연결 시 양방향 동기화 (Should, Phase 2)
25
+ /vibe.design preview "description" # UI 프리뷰 (Antigravity 목업 또는 ASCII 폴백)
25
26
  ```
26
27
 
27
28
  ## Philosophy
@@ -152,6 +153,25 @@ user-invocable: true
152
153
 
153
154
  **v1 동작**: "Phase 2 에서 활성됩니다. 현재는 `/vibe.figma --emit-design-md` 를 사용하세요." 메시지 후 종료.
154
155
 
156
+ ### Subcommand: `preview`
157
+
158
+ Generate the UI preview directly in the main session (native capability — no dedicated agent). DESIGN.md 와 독립적으로 동작 — 임시 프리뷰용.
159
+
160
+ Generate UI preview from a text description, a design folder, or a single file.
161
+
162
+ - **Antigravity enabled**: UI mockup image + component code generation
163
+ - **Antigravity disabled**: ASCII art fallback
164
+
165
+ **Input types:**
166
+
167
+ | Input | Example |
168
+ | ----- | ------- |
169
+ | Text description | `"Login form with email, password"` |
170
+ | Design folder | `./design/` |
171
+ | Single file | `./mockups/login.html` |
172
+
173
+ > Read `references/ui-preview.md` for the full supported file-format list and example invocations.
174
+
155
175
  ## Integration
156
176
 
157
177
  | Skill | 통합 지점 |
@@ -173,11 +193,13 @@ user-invocable: true
173
193
  |-----|---------|
174
194
  | `<root>/DESIGN.md` | `init` / `sync` |
175
195
  | 콘솔 리포트 | `lint` / `verify` |
196
+ | ASCII 프리뷰 또는 목업 이미지 | `preview` |
176
197
 
177
198
  ## Heuristics & References
178
199
 
179
200
  - 코드 역추출 패턴: `heuristics/code-extract.md`
180
201
  - 시드 카탈로그: `references/README.md`
202
+ - UI 프리뷰 포맷·예시: `references/ui-preview.md`
181
203
  - 템플릿: `templates/DESIGN.md.template`
182
204
 
183
205
  ARGUMENTS: $ARGUMENTS
@@ -0,0 +1,20 @@
1
+ # vibe.design — UI Preview: Supported Formats & Example
2
+
3
+ > Loaded by vibe.design SKILL.md `preview` subcommand — full supported file-format list and example invocations.
4
+
5
+ **Supported file formats in folder:**
6
+
7
+ - `*.html` - HTML mockups
8
+ - `*.png` / `*.jpg` / `*.webp` - UI screenshots (Claude reads images)
9
+ - `*.json` - Design tokens
10
+ - `*.css` / `*.scss` - Style variables
11
+ - `*.md` - Style guides
12
+ - `*.svg` - Vector graphics
13
+
14
+ **Example:**
15
+
16
+ ```
17
+ /vibe.design preview "Login form - email, password input + login button"
18
+ /vibe.design preview ./design/dashboard/
19
+ /vibe.design preview ./mockups/homepage.png
20
+ ```
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  name: vibe.docs
3
- description: Generate project documentation — README, architecture docs, user guide, release notes, agent instructions
4
- argument-hint: "readme, guide, arch, release, or agent"
3
+ description: Generate project documentation — README, architecture docs, user guide, release notes, agent instructions, diagrams, codemaps
4
+ argument-hint: "readme, guide, arch, release, agent, diagram, or codemaps"
5
5
  user-invocable: true
6
6
  ---
7
7
 
@@ -17,6 +17,8 @@ Generate or update project documentation by analyzing the actual codebase.
17
17
  /vibe.docs arch # 아키텍처 문서 + Mermaid 다이어그램 (docs/ARCHITECTURE.md)
18
18
  /vibe.docs release # 릴리즈 노트 (git history 기반)
19
19
  /vibe.docs agent # CLAUDE.md / AGENTS.md 생성·동기화 (agents-md 검증 필수)
20
+ /vibe.docs diagram # Mermaid 다이어그램 (architecture/ER/flow/seq) → .vibe/diagrams/
21
+ /vibe.docs codemaps # 코드베이스 구조 자동 문서화 → docs/CODEMAPS/
20
22
  ```
21
23
 
22
24
  ## Pipeline Position