@su-record/vibe 2.8.26 → 2.8.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@su-record/vibe",
3
- "version": "2.8.26",
3
+ "version": "2.8.27",
4
4
  "description": "AI Coding Framework for Claude Code — 49 agents, 41+ tools, multi-LLM orchestration",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",
@@ -255,10 +255,39 @@ get_design_context(fileKey, 섹션.nodeId)
255
255
  전부 완료해야 c 단계로 진행. 하나라도 실패 → 코드 생성 금지.
256
256
  ```
257
257
 
258
- #### c. SCSS 작성
258
+ #### c. 클래스 매핑 테이블 생성
259
259
 
260
260
  ```
261
- 참조 코드의 Tailwind 클래스에서 CSS 값을 추출하여 외부 SCSS에 작성.
261
+ SCSS 작성 전에 반드시 매핑 테이블을 먼저 출력한다.
262
+ 이 테이블 없이 SCSS를 작성하지 않는다.
263
+
264
+ 1. Phase 1 컴포넌트의 클래스 목록을 Read로 수집
265
+ 2. 참조 코드의 data-name + HTML 구조를 분석
266
+ 3. 매핑 테이블 출력:
267
+
268
+ ┌─────────────────────┬──────────────────┬────────────────────────────┐
269
+ │ Phase 1 클래스 │ 참조 data-name │ 핵심 Tailwind 값 │
270
+ ├─────────────────────┼──────────────────┼────────────────────────────┤
271
+ │ .kidSection │ (root) │ flex flex-col gap-[32px] │
272
+ │ .kidBg │ BG │ absolute mix-blend-multiply│
273
+ │ .kidLoginBtn │ Btn_Login │ border shadow h-[120px] │
274
+ │ .kidLoginBtnText │ (텍스트 노드) │ text-[36px] text-white │
275
+ │ .kidDivider │ Divider │ h-px w-full │
276
+ │ .kidSteamLink │ steam_account │ text-[24px] font-semibold │
277
+ │ .kidSteamNote │ (하위 텍스트) │ text-[20px] #dadce3 │
278
+ └─────────────────────┴──────────────────┴────────────────────────────┘
279
+
280
+ 매핑 기준:
281
+ data-name 일치 → 직접 매핑
282
+ data-name 없음 → HTML 위치/텍스트 내용으로 판단
283
+ Phase 1에 없는 요소 → 클래스 신규 추가 (template에도 반영)
284
+ 참조 코드에 없는 클래스 → 스타일 없이 유지
285
+ ```
286
+
287
+ #### d. SCSS 작성
288
+
289
+ ```
290
+ 매핑 테이블의 각 행을 순서대로 CSS로 변환하여 SCSS에 작성.
262
291
  vibe-figma-extract의 Tailwind→CSS 변환표 참조.
263
292
 
264
293
  CSS 변수 패턴 처리:
@@ -286,7 +315,7 @@ BG 레이어 패턴 (참조 코드에서 absolute + inset-0 + object-cover):
286
315
  index.scss에 새 섹션 @import 추가.
287
316
  ```
288
317
 
289
- #### d. template 업데이트
318
+ #### e. template 업데이트
290
319
 
291
320
  ```
292
321
  Phase 1 컴포넌트의 template을 참조 코드 기반으로 리팩토링.
@@ -311,7 +340,7 @@ script(JSDoc, 인터페이스, 목 데이터, 핸들러)는 보존.
311
340
  컴포넌트에 <style> 블록 없음. 스타일은 전부 외부 SCSS.
312
341
  ```
313
342
 
314
- #### e. 섹션 검증
343
+ #### f. 섹션 검증
315
344
 
316
345
  ```
317
346
  Grep 체크: