@kood/claude-code 0.7.6 → 0.7.8

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 (31) hide show
  1. package/dist/index.js +215 -39
  2. package/package.json +1 -1
  3. package/templates/.claude/skills/design/SKILL.md +199 -0
  4. package/templates/.claude/skills/design/references/accessibility.md +106 -0
  5. package/templates/.claude/skills/design/references/checklist.md +41 -0
  6. package/templates/.claude/skills/design/references/core-principles.md +66 -0
  7. package/templates/.claude/skills/design/references/global-uiux.md +216 -0
  8. package/templates/.claude/skills/design/references/korea-uiux.md +227 -0
  9. package/templates/.claude/skills/design/references/patterns.md +250 -0
  10. package/templates/.claude/skills/design/references/responsive.md +248 -0
  11. package/templates/.claude/skills/design/references/safe-area.md +202 -0
  12. package/templates/.claude/skills/design/references/systems.md +116 -0
  13. package/templates/.claude/skills/design/references/trends.md +75 -0
  14. package/templates/.claude/skills/global-uiux-design/AGENTS.md +0 -320
  15. package/templates/.claude/skills/global-uiux-design/SKILL.md +0 -1089
  16. package/templates/.claude/skills/global-uiux-design/references/accessibility.md +0 -401
  17. package/templates/.claude/skills/global-uiux-design/references/color-system.md +0 -275
  18. package/templates/.claude/skills/global-uiux-design/references/design-philosophy.md +0 -206
  19. package/templates/.claude/skills/global-uiux-design/references/design-systems.md +0 -446
  20. package/templates/.claude/skills/korea-uiux-design/AGENTS.md +0 -310
  21. package/templates/.claude/skills/korea-uiux-design/SKILL.md +0 -980
  22. package/templates/.claude/skills/korea-uiux-design/references/accessibility.md +0 -298
  23. package/templates/.claude/skills/korea-uiux-design/references/checklist.md +0 -107
  24. package/templates/.claude/skills/korea-uiux-design/references/color-system.md +0 -156
  25. package/templates/.claude/skills/korea-uiux-design/references/design-philosophy.md +0 -25
  26. package/templates/.claude/skills/korea-uiux-design/references/icon-guide.md +0 -180
  27. package/templates/.claude/skills/korea-uiux-design/references/micro-interactions.md +0 -259
  28. package/templates/.claude/skills/korea-uiux-design/references/responsive-patterns.md +0 -115
  29. package/templates/.claude/skills/korea-uiux-design/references/service-patterns.md +0 -206
  30. package/templates/.claude/skills/korea-uiux-design/references/state-patterns.md +0 -320
  31. package/templates/.claude/skills/korea-uiux-design/references/typography.md +0 -70
@@ -0,0 +1,116 @@
1
+ # Design Systems
2
+
3
+ <typography>
4
+
5
+ ## 타이포그래피
6
+
7
+ ### Type Scale
8
+
9
+ | 용도 | 크기 | 클래스 | 사용처 |
10
+ |------|------|--------|--------|
11
+ | **Display** | 48-60px | `text-5xl sm:text-6xl` | 랜딩 페이지 히어로 |
12
+ | **H1** | 36px | `text-3xl` | 페이지 제목 |
13
+ | **H2** | 24px | `text-xl` | 섹션 제목 |
14
+ | **H3** | 18px | `text-lg` | 카드 제목 |
15
+ | **Body** | 16px | `text-base` | 본문 |
16
+ | **Small** | 14px | `text-sm` | 캡션, 레이블 |
17
+
18
+ ### Font Stack
19
+
20
+ ```css
21
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
22
+ ```
23
+
24
+ </typography>
25
+
26
+ ---
27
+
28
+ <color_system>
29
+
30
+ ## 컬러 시스템
31
+
32
+ ### 60-30-10 규칙
33
+
34
+ | 비율 | 색상 | 용도 |
35
+ |------|------|------|
36
+ | **60%** | Neutral | 배경, 텍스트 |
37
+ | **30%** | Secondary | 보조 요소 |
38
+ | **10%** | Primary | CTA, 강조 |
39
+
40
+ ### 시맨틱 컬러
41
+
42
+ ```tsx
43
+ {/* Success */}
44
+ <div className="bg-green-50 border-green-200 text-green-900" />
45
+
46
+ {/* Error */}
47
+ <div className="bg-red-50 border-red-200 text-red-900" />
48
+
49
+ {/* Warning */}
50
+ <div className="bg-yellow-50 border-yellow-200 text-yellow-900" />
51
+
52
+ {/* Info */}
53
+ <div className="bg-blue-50 border-blue-200 text-blue-900" />
54
+ ```
55
+
56
+ </color_system>
57
+
58
+ ---
59
+
60
+ <grid_system>
61
+
62
+ ## 그리드 시스템
63
+
64
+ ### 12열 그리드
65
+
66
+ ```tsx
67
+ <div className="grid grid-cols-12 gap-6">
68
+ <div className="col-span-12 md:col-span-8">Main content</div>
69
+ <div className="col-span-12 md:col-span-4">Sidebar</div>
70
+ </div>
71
+ ```
72
+
73
+ ### 간격 (8px 기본 단위)
74
+
75
+ | 크기 | px | 클래스 | 용도 |
76
+ |------|---|--------|------|
77
+ | **xs** | 4px | `gap-1` | 아이콘-텍스트 |
78
+ | **sm** | 8px | `gap-2` | 폼 레이블-입력 |
79
+ | **md** | 16px | `gap-4` | 카드 내부 |
80
+ | **lg** | 24px | `gap-6` | 섹션 간 |
81
+ | **xl** | 32px | `gap-8` | 페이지 여백 |
82
+
83
+ </grid_system>
84
+
85
+ ---
86
+
87
+ <responsive_design>
88
+
89
+ ## 반응형 디자인
90
+
91
+ ### Breakpoints
92
+
93
+ | 이름 | 최소 너비 | 디바이스 |
94
+ |------|----------|---------|
95
+ | **sm** | 640px | 모바일 가로 |
96
+ | **md** | 768px | 태블릿 세로 |
97
+ | **lg** | 1024px | 태블릿 가로 |
98
+ | **xl** | 1280px | 데스크톱 |
99
+ | **2xl** | 1536px | 대형 데스크톱 |
100
+
101
+ ### Mobile-First 패턴
102
+
103
+ ```tsx
104
+ {/* 모바일: 1열, 태블릿: 2열, 데스크톱: 3열 */}
105
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
106
+ {items.map(item => <Card key={item.id} {...item} />)}
107
+ </div>
108
+
109
+ {/* 모바일: 숨김, 데스크톱: 표시 */}
110
+ <aside className="hidden lg:block w-64 border-r" />
111
+
112
+ {/* 모바일: 표시, 데스크톱: 숨김 */}
113
+ <nav className="lg:hidden fixed bottom-0 inset-x-0 h-16 border-t" />
114
+ ```
115
+
116
+ </responsive_design>
@@ -0,0 +1,75 @@
1
+ # 2024-2026 Design Trends
2
+
3
+ <ai_integration>
4
+
5
+ ## AI 통합 UI
6
+
7
+ ```tsx
8
+ {/* AI 어시스턴트 입력 */}
9
+ <div className="flex gap-3 p-4 border rounded-2xl">
10
+ <textarea
11
+ className="flex-1 resize-none focus:outline-none"
12
+ placeholder="Ask AI anything..."
13
+ />
14
+ <button className="w-10 h-10 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 text-white">
15
+ <svg className="w-5 h-5" />
16
+ </button>
17
+ </div>
18
+ ```
19
+
20
+ </ai_integration>
21
+
22
+ ---
23
+
24
+ <micro_interactions>
25
+
26
+ ## 마이크로인터랙션
27
+
28
+ ```tsx
29
+ <button className="group relative overflow-hidden">
30
+ <span className="relative z-10">Hover me</span>
31
+ <div className="absolute inset-0 bg-gradient-to-r from-blue-500 to-purple-500 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
32
+ </button>
33
+ ```
34
+
35
+ </micro_interactions>
36
+
37
+ ---
38
+
39
+ <dark_mode>
40
+
41
+ ## 다크모드
42
+
43
+ ```tsx
44
+ <div className="bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100">
45
+ <button className="bg-gray-100 dark:bg-gray-800 hover:bg-gray-200 dark:hover:bg-gray-700">
46
+ Theme toggle
47
+ </button>
48
+ </div>
49
+ ```
50
+
51
+ </dark_mode>
52
+
53
+ ---
54
+
55
+ <spatial_design>
56
+
57
+ ## 3D & 공간 디자인
58
+
59
+ ### Glassmorphism
60
+
61
+ ```tsx
62
+ <div className="backdrop-blur-lg bg-white/10 border border-white/20 rounded-2xl p-6">
63
+ <h3 className="font-semibold">Glass card</h3>
64
+ </div>
65
+ ```
66
+
67
+ ### Neumorphism
68
+
69
+ ```tsx
70
+ <div className="bg-gray-100 rounded-2xl p-6 shadow-[8px_8px_16px_#bebebe,-8px_-8px_16px_#ffffff]">
71
+ <h3 className="font-semibold">Neomorphic card</h3>
72
+ </div>
73
+ ```
74
+
75
+ </spatial_design>
@@ -1,320 +0,0 @@
1
- # Global UI/UX Design - Agent Coordination
2
-
3
- 글로벌 UI/UX 디자인 구현 시 에이전트 활용 가이드.
4
-
5
- ---
6
-
7
- <agents_reference>
8
-
9
- 다중 에이전트 구조:
10
- - 에이전트 목록: @../../instructions/multi-agent/agent-roster.md
11
- - 조정 가이드: @../../instructions/multi-agent/coordination-guide.md
12
- - 실행 패턴: @../../instructions/multi-agent/execution-patterns.md
13
-
14
- </agents_reference>
15
-
16
- ---
17
-
18
- <recommended_agents>
19
-
20
- ## 추천 에이전트
21
-
22
- | 에이전트 | 모델 | 용도 |
23
- |---------|------|------|
24
- | **designer** | sonnet/opus | UI/UX 디자인 + 구현 (Material 3, Apple HIG, Fluent 2) |
25
- | **explore** | haiku | 디자인 시스템 패턴 분석, 프로젝트 구조 파악 |
26
- | **implementation-executor** | sonnet | API 연동, 상태 관리, 비즈니스 로직 |
27
- | **code-reviewer** | opus | 접근성(WCAG 2.2), 성능, 크로스 플랫폼 검토 |
28
-
29
- </recommended_agents>
30
-
31
- ---
32
-
33
- <coordination_patterns>
34
-
35
- ## 조정 패턴
36
-
37
- ### 패턴 1: 디자인 시스템 분석 → 방향 정의 → 병렬 구현
38
-
39
- **용도:** 글로벌 표준 기반 디자인 시스템 구축
40
-
41
- ```typescript
42
- // Phase 1: 병렬 탐색
43
- Task(
44
- subagent_type="explore",
45
- model="haiku",
46
- prompt="Material 3, Apple HIG, Fluent 2 최신 패턴 분석"
47
- )
48
-
49
- Task(
50
- subagent_type="explore",
51
- model="haiku",
52
- prompt="프로젝트 기존 컴포넌트 및 다국어 지원 현황"
53
- )
54
-
55
- // Phase 2: 디자인 방향 정의
56
- Task(
57
- subagent_type="designer",
58
- model="opus",
59
- prompt=`글로벌 서비스 디자인 방향 정의:
60
- - 미학적 톤 선택 (Material 3 기반)
61
- - 2026 트렌드 통합 (AI 기반, 적응형 테마)
62
- - 크로스 플랫폼 일관성`
63
- )
64
-
65
- // Phase 3: 병렬 구현
66
- Task(
67
- subagent_type="designer",
68
- model="sonnet",
69
- prompt="컬러 시스템 (다크 모드 포함, Material 3 Dynamic Color)"
70
- )
71
-
72
- Task(
73
- subagent_type="designer",
74
- model="sonnet",
75
- prompt="타이포그래피 (다국어 지원, 시스템 폰트)"
76
- )
77
-
78
- Task(
79
- subagent_type="designer",
80
- model="sonnet",
81
- prompt="컴포넌트 라이브러리 (웹 컴포넌트 기반)"
82
- )
83
- ```
84
-
85
- ---
86
-
87
- ### 패턴 2: 크로스 플랫폼 병렬 구현
88
-
89
- **용도:** 웹/iOS/Android 동시 개발
90
-
91
- ```typescript
92
- // 각 플랫폼 병렬 구현
93
- Task(
94
- subagent_type="designer",
95
- model="sonnet",
96
- prompt="웹 인터페이스 (Material 3 기반, 반응형)"
97
- )
98
-
99
- Task(
100
- subagent_type="designer",
101
- model="sonnet",
102
- prompt="iOS 인터페이스 (Apple HIG 준수, Swift UI)"
103
- )
104
-
105
- Task(
106
- subagent_type="designer",
107
- model="sonnet",
108
- prompt="Android 인터페이스 (Material 3 네이티브)"
109
- )
110
-
111
- Task(
112
- subagent_type="implementation-executor",
113
- model="sonnet",
114
- prompt="공통 비즈니스 로직 및 상태 관리"
115
- )
116
- ```
117
-
118
- ---
119
-
120
- ### 패턴 3: 공간 UI 프로젝트 (AR/VR)
121
-
122
- **용도:** WebGPU/WebXR 기반 공간 UI
123
-
124
- ```typescript
125
- // Phase 1: 탐색
126
- Task(
127
- subagent_type="explore",
128
- model="haiku",
129
- prompt="WebGPU/WebXR 지원 현황 및 공간 UI 패턴"
130
- )
131
-
132
- // Phase 2: 디자인 + 구현 병렬
133
- Task(
134
- subagent_type="designer",
135
- model="opus",
136
- prompt="3D 공간 UI 디자인 (Vision Pro 스타일)"
137
- )
138
-
139
- Task(
140
- subagent_type="designer",
141
- model="sonnet",
142
- prompt="2D 폴백 인터페이스 (점진적 향상)"
143
- )
144
-
145
- Task(
146
- subagent_type="implementation-executor",
147
- model="sonnet",
148
- prompt="WebXR 통합 및 센서 처리"
149
- )
150
-
151
- // Phase 3: 검증
152
- Task(
153
- subagent_type="code-reviewer",
154
- model="opus",
155
- prompt="공간 UI 접근성 및 성능 검토"
156
- )
157
- ```
158
-
159
- ---
160
-
161
- ### 패턴 4: 구현 → 다중 검증
162
-
163
- **용도:** WCAG 2.2, 성능, 접근성 검증
164
-
165
- ```typescript
166
- // 병렬 검증
167
- Task(
168
- subagent_type="code-reviewer",
169
- model="opus",
170
- prompt="WCAG 2.2 AA 접근성 검토 (대비, 키보드, ARIA)"
171
- )
172
-
173
- Task(
174
- subagent_type="code-reviewer",
175
- model="opus",
176
- prompt="성능 검토 (60fps, 번들 크기, 로딩)"
177
- )
178
-
179
- Task(
180
- subagent_type="code-reviewer",
181
- model="opus",
182
- prompt="크로스 플랫폼 일관성 검토 (iOS/Android/Web)"
183
- )
184
- ```
185
-
186
- </coordination_patterns>
187
-
188
- ---
189
-
190
- <model_routing>
191
-
192
- ## 모델 라우팅
193
-
194
- | 작업 | 모델 | 이유 |
195
- |------|------|------|
196
- | **디자인 시스템 분석** | haiku | 빠른 패턴 조사 |
197
- | **디자인 방향 정의** | opus | 전략적 결정, 트렌드 통합 |
198
- | **컴포넌트 구현** | sonnet | UI 코드 작성 |
199
- | **공간 UI 디자인** | opus | 복잡한 3D 인터랙션 |
200
- | **접근성/성능 검증** | opus | 세밀한 검토 |
201
-
202
- </model_routing>
203
-
204
- ---
205
-
206
- <practical_examples>
207
-
208
- ## 실전 예시
209
-
210
- ### 예시 1: 글로벌 SaaS 디자인 시스템
211
-
212
- ```typescript
213
- // Phase 1: 병렬 탐색
214
- Task(subagent_type="explore", model="haiku",
215
- prompt="Material 3, Fluent 2 디자인 토큰 분석")
216
- Task(subagent_type="explore", model="haiku",
217
- prompt="프로젝트 기존 컴포넌트 현황")
218
-
219
- // Phase 2: 디자인 정의
220
- Task(subagent_type="designer", model="opus",
221
- prompt="크로스 플랫폼 디자인 토큰 시스템 설계")
222
-
223
- // Phase 3: 병렬 구현
224
- Task(subagent_type="designer", model="sonnet",
225
- prompt="컬러 시스템 (다크 모드 포함)")
226
- Task(subagent_type="designer", model="sonnet",
227
- prompt="타이포그래피 (다국어)")
228
- Task(subagent_type="designer", model="sonnet",
229
- prompt="컴포넌트 라이브러리")
230
-
231
- // Phase 4: 검증
232
- Task(subagent_type="code-reviewer", model="opus",
233
- prompt="WCAG 2.2, 크로스 플랫폼 검증")
234
- ```
235
-
236
- ---
237
-
238
- ### 예시 2: 크로스 플랫폼 애플리케이션
239
-
240
- ```typescript
241
- // 병렬 실행 (플랫폼별)
242
- Task(subagent_type="designer", model="sonnet",
243
- prompt="웹 인터페이스 (Material 3 기반)")
244
- Task(subagent_type="designer", model="sonnet",
245
- prompt="iOS 인터페이스 (Apple HIG 준수)")
246
- Task(subagent_type="designer", model="sonnet",
247
- prompt="Android 인터페이스 (Material 3 네이티브)")
248
- Task(subagent_type="implementation-executor", model="sonnet",
249
- prompt="공통 비즈니스 로직 및 상태 관리")
250
- ```
251
-
252
- ---
253
-
254
- ### 예시 3: 2026 트렌드 적용 (AI 기반 UI)
255
-
256
- ```typescript
257
- // Phase 1: 탐색
258
- Task(subagent_type="explore", model="haiku",
259
- prompt="AI 기반 UI 패턴 조사 (개인화, 예측형 인터페이스)")
260
-
261
- // Phase 2: 디자인 + 구현 병렬
262
- Task(subagent_type="designer", model="opus",
263
- prompt="AI 기반 개인화 UI 디자인 (적응형 테마)")
264
- Task(subagent_type="implementation-executor", model="sonnet",
265
- prompt="AI 모델 통합 및 개인화 로직")
266
-
267
- // Phase 3: 검증
268
- Task(subagent_type="code-reviewer", model="opus",
269
- prompt="AI 기반 UI 접근성 및 성능 검토")
270
- ```
271
-
272
- </practical_examples>
273
-
274
- ---
275
-
276
- <best_practices>
277
-
278
- ## 모범 사례
279
-
280
- ### 작업 시작 전 체크
281
-
282
- - [ ] 글로벌 서비스인가? → Material 3/Apple HIG 참조
283
- - [ ] 크로스 플랫폼? → 플랫폼별 병렬 구현
284
- - [ ] 2026 트렌드 적용? → designer (opus) 사용
285
- - [ ] 접근성 중요? → code-reviewer 검증 필수
286
-
287
- ### 디자인 시스템 참조
288
-
289
- | 프로젝트 유형 | 참조 시스템 |
290
- |--------------|------------|
291
- | B2B/Enterprise | Carbon, Ant Design, Lightning |
292
- | Consumer Apps | Material 3, Apple HIG |
293
- | Creative Tools | Spectrum 2 |
294
- | E-commerce | Polaris |
295
-
296
- ### 에이전트 활용 원칙
297
-
298
- **DO:**
299
- - 디자인 시스템 탐색 → explore (병렬)
300
- - 플랫폼별 구현 → designer (병렬)
301
- - 트렌드 통합 → designer (opus)
302
- - WCAG/성능 → code-reviewer (병렬)
303
-
304
- **DON'T:**
305
- - 단일 에이전트로 모든 플랫폼 순차 구현
306
- - 접근성 검증 생략
307
- - 글로벌 표준 무시
308
-
309
- ### 2026 트렌드 활용
310
-
311
- @designer 에이전트가 제공:
312
- - AI 기반 개인화
313
- - 공간 UI (AR/VR)
314
- - 키네틱 타이포그래피
315
- - 적응형 테마
316
- - 마이크로 인터랙션
317
-
318
- **참조:** `.claude/agents/designer.md`
319
-
320
- </best_practices>