@su-record/vibe 2.9.2 → 2.9.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 (59) hide show
  1. package/CLAUDE.md +30 -10
  2. package/README.ko.md +90 -25
  3. package/README.md +139 -25
  4. package/agents/teams/figma/figma-builder.md +29 -1
  5. package/agents/teams/review-debate-team.md +1 -1
  6. package/commands/vibe.analyze.md +324 -170
  7. package/commands/vibe.figma.md +549 -34
  8. package/commands/vibe.harness.md +177 -0
  9. package/commands/vibe.run.md +44 -27
  10. package/commands/vibe.scaffold.md +195 -0
  11. package/commands/vibe.spec.md +375 -947
  12. package/commands/vibe.trace.md +17 -0
  13. package/commands/vibe.verify.md +19 -10
  14. package/dist/cli/commands/init.d.ts.map +1 -1
  15. package/dist/cli/commands/init.js +29 -1
  16. package/dist/cli/commands/init.js.map +1 -1
  17. package/dist/cli/commands/update.d.ts.map +1 -1
  18. package/dist/cli/commands/update.js +4 -2
  19. package/dist/cli/commands/update.js.map +1 -1
  20. package/dist/cli/postinstall/constants.d.ts +1 -1
  21. package/dist/cli/postinstall/constants.d.ts.map +1 -1
  22. package/dist/cli/postinstall/constants.js +6 -1
  23. package/dist/cli/postinstall/constants.js.map +1 -1
  24. package/dist/cli/setup/ProjectSetup.d.ts +12 -1
  25. package/dist/cli/setup/ProjectSetup.d.ts.map +1 -1
  26. package/dist/cli/setup/ProjectSetup.js +259 -72
  27. package/dist/cli/setup/ProjectSetup.js.map +1 -1
  28. package/dist/cli/setup.d.ts +1 -1
  29. package/dist/cli/setup.d.ts.map +1 -1
  30. package/dist/cli/setup.js +1 -1
  31. package/dist/cli/setup.js.map +1 -1
  32. package/hooks/scripts/figma-guard.js +220 -0
  33. package/package.json +1 -1
  34. package/skills/arch-guard/SKILL.md +1 -1
  35. package/skills/capability-loop/SKILL.md +106 -2
  36. package/skills/chub-usage/SKILL.md +43 -43
  37. package/skills/claude-md-guide/SKILL.md +175 -175
  38. package/skills/design-teach/SKILL.md +33 -33
  39. package/skills/devlog/SKILL.md +38 -38
  40. package/skills/event-comms/SKILL.md +23 -13
  41. package/skills/event-ops/SKILL.md +28 -19
  42. package/skills/event-planning/SKILL.md +13 -1
  43. package/skills/priority-todos/SKILL.md +1 -1
  44. package/skills/vibe.figma/SKILL.md +234 -154
  45. package/skills/vibe.figma.convert/SKILL.md +123 -112
  46. package/skills/vibe.figma.extract/SKILL.md +141 -129
  47. package/skills/vibe.interview/SKILL.md +358 -0
  48. package/skills/vibe.interview/checklists/api.md +101 -0
  49. package/skills/vibe.interview/checklists/feature.md +88 -0
  50. package/skills/vibe.interview/checklists/library.md +95 -0
  51. package/skills/vibe.interview/checklists/mobile.md +89 -0
  52. package/skills/vibe.interview/checklists/webapp.md +97 -0
  53. package/skills/vibe.interview/checklists/website.md +99 -0
  54. package/skills/vibe.plan/SKILL.md +216 -0
  55. package/skills/vibe.spec/SKILL.md +1155 -0
  56. package/{commands/vibe.spec.review.md → skills/vibe.spec.review/SKILL.md} +269 -108
  57. package/vibe/templates/claudemd-template.md +74 -0
  58. package/vibe/templates/constitution-template.md +15 -0
  59. package/vibe/templates/plan-template.md +194 -0
@@ -0,0 +1,74 @@
1
+ # VIBE
2
+
3
+ > **vibe = Easy vibe coding + Minimum quality guaranteed**
4
+
5
+ ## Constraints
6
+
7
+ - **Modify only requested scope** — Don't touch unrelated code
8
+ - **Preserve existing style** — Follow project conventions
9
+ - **Edit existing files, never create new ones** — Fix problems at source
10
+
11
+ ### Complexity Limits
12
+
13
+ | Metric | Limit |
14
+ |--------|-------|
15
+ | Function length | ≤50 lines |
16
+ | Nesting depth | ≤3 levels |
17
+ | Parameters | ≤5 |
18
+ | Cyclomatic complexity | ≤10 |
19
+
20
+ ### Forbidden Patterns
21
+
22
+ - No `console.log` in commits
23
+ - No hardcoded strings/numbers (use constants)
24
+ - No commented-out code
25
+ - No `any` type — use `unknown` + type guards
26
+
27
+ ## Project Structure
28
+
29
+ | Folder | Owner | Purpose |
30
+ |--------|-------|---------|
31
+ | `src/` | Human+AI | Business logic |
32
+ | `docs/` | **Human** | Business rules, domain definitions, ADR — **read before starting work** |
33
+ | `tests/` | Human+AI | Test infrastructure |
34
+ | `.dev/` | **AI** | Learnings, troubleshooting logs, scratch files |
35
+ | `.claude/` | AI | Configuration, rules, skills |
36
+
37
+ ## References
38
+
39
+ - **Rules**: See `.claude/vibe/config.json` → `references.rules[]`
40
+ - **Language standards**: See `.claude/vibe/languages/`
41
+ - **Constitution**: See `.claude/vibe/constitution.md`
42
+
43
+ ## Workflow
44
+
45
+ | Task Size | Approach |
46
+ |-----------|----------|
47
+ | 1-2 files | Plan Mode |
48
+ | 3+ files | `/vibe.spec` — single entry point, orchestrates everything |
49
+ | Analyze target | `/vibe.analyze` — code, documents, websites, Figma |
50
+ | Check Harness | `/vibe.harness` — diagnose project maturity |
51
+ | Project structure | `/vibe.scaffold` — generate optimized folder structure |
52
+
53
+ ## Magic Keywords
54
+
55
+ | Keyword | Effect |
56
+ |---------|--------|
57
+ | `ultrawork` / `ulw` | Parallel agents + auto-continue |
58
+ | `ralph` | Iterate until 100% complete |
59
+ | `quick` | Fast mode, minimal verification |
60
+
61
+ ## Quality Gate
62
+
63
+ Convergence Principle: loop until P1 = 0. Changed files only.
64
+
65
+ ## Context Management
66
+
67
+ At 70%+ context: `save_memory` → `/new` → `/vibe.utils --continue`
68
+
69
+ ## Git Commit Rules
70
+
71
+ **Include:** `.claude/vibe/plans/`, `.claude/vibe/specs/`, `.claude/vibe/features/`, `.claude/vibe/config.json`, `CLAUDE.md`
72
+ **Exclude:** `~/.claude/vibe/rules/`, `~/.claude/commands/`, `~/.claude/agents/`, `~/.claude/skills/`, `.claude/settings.local.json`
73
+
74
+ <!-- VIBE:END -->
@@ -60,6 +60,21 @@ All reference documents are stored globally and specified in `.claude/vibe/confi
60
60
 
61
61
  ---
62
62
 
63
+ ## Project Structure
64
+
65
+ ### Human vs AI Document Separation
66
+
67
+ | Folder | Owner | Purpose |
68
+ |--------|-------|---------|
69
+ | `docs/` | **Human** | Business rules, domain definitions, ADR, API specs |
70
+ | `.dev/` | **AI** | Learnings, troubleshooting logs, scratch/experiments |
71
+
72
+ - **Before starting work**: Always check `docs/` for business context
73
+ - **After solving issues**: Record learnings in `.dev/learnings/`
74
+ - **Experiments**: Use `.dev/scratch/` (gitignored)
75
+
76
+ ---
77
+
63
78
  ## 1. Project Principles
64
79
 
65
80
  ### Values
@@ -0,0 +1,194 @@
1
+ # PLAN: {Project or Feature Name}
2
+
3
+ ## Metadata
4
+
5
+ - **Created**: {YYYY-MM-DD}
6
+ - **Author**: {Name}
7
+ - **Status**: DRAFT
8
+ - **Type**: {website | webapp | mobile | api | feature | library}
9
+ - **Language**: {ko | en}
10
+ - **Downstream**: {spec | figma | both}
11
+
12
+ ---
13
+
14
+ ## 1. 개요 (Overview)
15
+
16
+ > 한 줄 요약 — "무엇"인지 비전공자도 이해할 수 있게.
17
+
18
+ {One-line summary}
19
+
20
+ ---
21
+
22
+ ## 2. 배경 (Why)
23
+
24
+ **왜 만드는가?**
25
+
26
+ {Motivation, problem being solved}
27
+
28
+ **왜 지금인가?**
29
+
30
+ {Trigger — what changed, new opportunity, user pain}
31
+
32
+ ---
33
+
34
+ ## 3. 타깃 사용자 (Who)
35
+
36
+ **주요 사용자**
37
+
38
+ - {Persona 1}: {상황, 니즈}
39
+ - {Persona 2}: {상황, 니즈}
40
+
41
+ **사용 맥락**
42
+
43
+ - 언제: {when}
44
+ - 어디서: {where}
45
+ - 어떤 디바이스로: {device}
46
+
47
+ ---
48
+
49
+ ## 4. 목표 & 성공 기준 (Goals)
50
+
51
+ **달성하려는 것**
52
+
53
+ - {Goal 1}
54
+ - {Goal 2}
55
+
56
+ **성공 지표 (측정 가능)**
57
+
58
+ | 지표 | 현재 | 목표 | 측정 방법 |
59
+ |-----|-----|-----|---------|
60
+ | {Metric 1} | {baseline} | {target} | {how} |
61
+
62
+ ---
63
+
64
+ ## 5. 핵심 기능/섹션 (What)
65
+
66
+ **기능/섹션 리스트 (우선순위)**
67
+
68
+ | 우선순위 | 항목 | 설명 |
69
+ |--------|-----|-----|
70
+ | Must | {Item 1} | {description} |
71
+ | Must | {Item 2} | {description} |
72
+ | Should | {Item 3} | {description} |
73
+ | Could | {Item 4} | {description} |
74
+
75
+ ---
76
+
77
+ ## 6. 범위 (Scope)
78
+
79
+ **이번 버전 포함**
80
+
81
+ - {In-scope item 1}
82
+ - {In-scope item 2}
83
+
84
+ **제외 (Non-goals)**
85
+
86
+ - {Out-of-scope item 1}
87
+ - {Out-of-scope item 2}
88
+
89
+ ---
90
+
91
+ ## 7. Look & Feel
92
+
93
+ > **UI 프로젝트에서만 작성.** API/라이브러리면 이 섹션 생략.
94
+
95
+ **분위기/톤**
96
+
97
+ - {e.g., "미니멀·시네마틱", "친근·유쾌"}
98
+
99
+ **컬러 방향**
100
+
101
+ - {e.g., "다크 + 네온 액센트", "파스텔 따뜻한 톤"}
102
+
103
+ **타이포그래피**
104
+
105
+ - {e.g., "Serif 헤드라인 + Sans 본문"}
106
+
107
+ **레퍼런스**
108
+
109
+ - {URL or 이미지 경로 1}: {무엇을 참고}
110
+ - {URL or 이미지 경로 2}: {무엇을 참고}
111
+
112
+ **애니메이션/인터랙션**
113
+
114
+ - {e.g., "스크롤 기반 패럴랙스", "호버 시 부드러운 스케일"}
115
+
116
+ ---
117
+
118
+ ## 8. 레이아웃/섹션 구성
119
+
120
+ > **UI 프로젝트에서만 작성.**
121
+
122
+ | 순서 | 섹션 | 목적 | 핵심 콘텐츠 |
123
+ |-----|-----|-----|-----------|
124
+ | 1 | Hero | 첫인상, 브랜드 임팩트 | 타이틀, 서브카피, CTA |
125
+ | 2 | {Section} | {purpose} | {content} |
126
+ | 3 | {Section} | {purpose} | {content} |
127
+
128
+ ---
129
+
130
+ ## 9. 반응형 전략
131
+
132
+ > **UI 프로젝트에서만 작성.**
133
+
134
+ **디바이스 우선순위**
135
+
136
+ - {e.g., "Desktop first — 주 사용자는 PC", "Mobile first — SNS 유입"}
137
+
138
+ **브레이크포인트**
139
+
140
+ - Mobile: {width}
141
+ - Tablet: {width}
142
+ - Desktop: {width}
143
+
144
+ ---
145
+
146
+ ## 10. 기술 스택 & 제약
147
+
148
+ **선호 스택**
149
+
150
+ - Frontend: {framework}
151
+ - Backend: {framework}
152
+ - DB: {database}
153
+ - Hosting: {platform}
154
+
155
+ **제약사항**
156
+
157
+ - 성능: {e.g., "LCP < 2.5s"}
158
+ - 브라우저: {e.g., "최신 2버전"}
159
+ - 접근성: {e.g., "WCAG AA"}
160
+ - 예산: {e.g., "월 $0 (free tier)"}
161
+
162
+ ---
163
+
164
+ ## 11. 가정 & 리스크
165
+
166
+ **가정한 것**
167
+
168
+ | # | 가정 | 검증 방법 | 틀렸을 때 리스크 |
169
+ |---|-----|---------|--------------|
170
+ | 1 | {assumption} | {how to validate} | {risk} |
171
+
172
+ **알려진 리스크**
173
+
174
+ - {Risk 1}: {mitigation}
175
+ - {Risk 2}: {mitigation}
176
+
177
+ ---
178
+
179
+ ## 12. 다음 단계 (Handoff)
180
+
181
+ 이 기획서로 아래 워크플로를 시작할 수 있습니다:
182
+
183
+ | 커맨드 | 결과물 |
184
+ |-------|------|
185
+ | `/vibe.spec "{feature}"` | AI 구현용 코드 명세 → `/vibe.run`으로 기능 구현 |
186
+ | `/vibe.figma` | Figma 디자인 → 프로덕션 UI 코드 |
187
+ | 두 가지 병렬 실행 | 기능 + 디자인 → 웹사이트 프로토타입 |
188
+
189
+ **권장 순서**
190
+
191
+ 1. `/vibe.spec "{feature}"` → 기능 구조 + API + 데이터 모델 확정
192
+ 2. `/vibe.figma` (스토리보드 Phase에서 이 기획서를 참고) → 비주얼 디자인
193
+ 3. `/vibe.run "{feature}"` → 구현
194
+ 4. 통합 검증 → 프로토타입 완성