@su-record/vibe 2.8.1 → 2.8.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.
package/README.md CHANGED
@@ -278,6 +278,51 @@ Additional: `llm-orchestrate.js`, `codex-review-gate.js`, `codex-detect.js`, `se
278
278
 
279
279
  ---
280
280
 
281
+ ## Figma → Code Pipeline
282
+
283
+ Design-to-code with responsive support and design skill integration.
284
+
285
+ ```bash
286
+ # Single design (MCP plugin handles auth — no token setup needed)
287
+ /vibe.figma "https://figma.com/design/ABC/Project?node-id=1-2"
288
+
289
+ # Responsive (mobile + desktop)
290
+ /vibe.figma "mobile-url" "desktop-url"
291
+ ```
292
+
293
+ ### What It Does
294
+
295
+ | Phase | Description |
296
+ |-------|-------------|
297
+ | **Extract** | MCP plugin → design context + screenshot + metadata (no token needed) |
298
+ | **Analyze** | Image-first analysis → viewport diff table (responsive mode) |
299
+ | **Generate** | Stack-aware code (React/Vue/Svelte/SCSS/Tailwind) + design tokens |
300
+ | **Integrate** | Maps to project's existing design system (MASTER.md, design-context.json) |
301
+
302
+ ### Responsive Design
303
+
304
+ Auto-detected when 2+ URLs provided. Generates fluid scaling with `clamp()` for typography/spacing, `@media` only for layout structure changes.
305
+
306
+ | Config | Default | Description |
307
+ |--------|---------|-------------|
308
+ | `breakpoint` | 1024px | PC↔Mobile boundary |
309
+ | `pcTarget` | 1920px | PC main target resolution |
310
+ | `mobileMinimum` | 360px | Minimum mobile viewport |
311
+ | `designPc` | 2560px | Figma PC artboard (2x) |
312
+ | `designMobile` | 720px | Figma Mobile artboard (2x) |
313
+
314
+ Customize: `vibe figma breakpoints --set breakpoint=768`
315
+
316
+ ### Design Skill Pipeline
317
+
318
+ After code generation, chain design skills for quality assurance:
319
+
320
+ ```
321
+ /vibe.figma → /design-normalize → /design-audit → /design-polish
322
+ ```
323
+
324
+ ---
325
+
281
326
  ## Quality Gates
282
327
 
283
328
  | Guard | Mechanism |
@@ -308,6 +353,7 @@ Additional: `llm-orchestrate.js`, `codex-review-gate.js`, `codex-detect.js`, `se
308
353
  | `/vibe.reason "problem"` | Systematic reasoning framework |
309
354
  | `/vibe.analyze` | Project analysis |
310
355
  | `/vibe.event` | Event automation |
356
+ | `/vibe.figma "url"` | Figma design → production code (responsive, multi-URL) |
311
357
  | `/vibe.utils` | Utilities (E2E, diagrams, UI, session restore) |
312
358
 
313
359
  ---
@@ -343,6 +389,10 @@ vibe claude key|status|logout
343
389
  # External Skills
344
390
  vibe skills add <owner/repo> # Install skills from skills.sh
345
391
 
392
+ # Figma
393
+ vibe figma breakpoints # Show/set responsive breakpoints
394
+ vibe figma status|logout # Token management (MCP fallback only)
395
+
346
396
  # Channels
347
397
  vibe telegram setup|chat|status
348
398
  vibe slack setup|channel|status