skills/figma-sync/SKILL.md
Optional: Sync design tokens from Figma, compare against code, flag drift, update visual baselines.
npx skillsauth add ajaywadhara/agentic-sdlc-plugin figma-syncInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Prerequisites:
STEP 1 — INGEST DESIGN TOKENS
Connect to the Figma file. Extract all design tokens:
Save to: design-system/tokens.json
Compare against current CSS variables in src/. Generate a drift report: qa/figma-drift.md
Format: | Property | Figma Value | Current Code | Delta | Action | |----------------|-------------|--------------|--------|--------| | Primary colour | #6366F1 | #6467F2 | off | Fix | | Body font size | 16px | 16px | exact | None | | Card padding | 24px | 20px | 4px | Fix |
STEP 2 — COMPONENT COMPARISON
For each component in the Figma file:
STEP 3 — VISUAL BASELINE UPDATE
After fixing drift items: Run: npx playwright test --project=visual --update-snapshots New snapshots now represent Figma-aligned UI. Commit updated baselines.
STEP 4 — ONGOING SYNC
Add to CI: after every Figma file update (via webhook or manual trigger), run /figma-sync to catch new drift before it accumulates.
tools
Generate clickable HTML wireframes for every screen in the PRD. No design tool needed — open in browser.
tools
Interactive browser testing via Playwright MCP. Navigates the live app, tests every screen, flow, and viewport — then generates permanent .spec.ts test files.
documentation
Turn a vague idea into a structured PRD through guided conversation. The agent asks questions — you just talk.
testing
Market reality check — find competitors, read 1-star reviews, identify your angle. Run after /start.