Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

Pix

Build frontend on autopilot. Pixel-perfect Figma-to-code with autonomous refinement.

Install

claude plugin install github:skobak/pix

Or manually:

git clone https://github.com/skobak/pix.git ~/.claude/plugins/pix

Usage

Start Claude Code with Chrome integration:

claude --dangerously-skip-permissions --chrome

Then run:

/pix

How it works

  1. Run /pix — checks your Figma MCP and Chrome extension setup, guides you if anything is missing

  2. Auto-launch — starts your dev server, opens localhost in Chrome, asks you to paste the Figma link (Figma MCP handles screenshots directly)

  3. Sit back — watch it extract tokens, implement the component, screenshot both views, compare pixel-by-pixel, and auto-fix until perfect

What it handles

  • Detects your stack (Vite, Next, etc.)
  • Finds your design system (Tailwind, styled-components, Chakra, etc.)
  • Identifies your icon library
  • Syncs Figma tokens to your config
  • Uses Code Connect to reuse existing components
  • Recursive refinement until pixel-perfect

Figma MCP Tools Used

Tool Purpose
whoami Verify authentication
get_metadata Component structure
get_design_context Full design spec
get_variable_defs Design tokens
get_code_connect_map Existing component mappings
get_screenshot Figma reference image

Requirements

  • Claude Code v2.0.73+ with --chrome flag
  • Claude in Chrome extension v1.0.36+ (install)
  • Figma MCP configured (setup guide)
  • Paid Claude plan (Pro, Team, or Enterprise)

License

MIT

About

No description, website, or topics provided.

Resources

Stars

96 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors