craft-sync

Installation
SKILL.md

Design system sync

Overview

When a design system already lives in code, the design tool should mirror it, not reinvent it.

  • Import brings the code's tokens and the components the person picks into the tool, under the same names.
  • Export takes changes made in the tool's guide back to the code as a reviewed diff.

A small file at the project root, design-sync.json, remembers what was last synced. Code stays the source of truth until the person says otherwise: changes are drawn first in the tool and land in code through an approved export.

When to use

  • A design task is about to start in a project with a design system in code and no guide in the tool. craft-setup and craft hand off to this.
  • "Import / bring our design system (tokens, components) into Paper / Figma / the design tool."
  • "Apply / push / sync the guide's changes to the code."

When NOT to use

Installs
38
Repository
diego3g/craft
GitHub Stars
92
First Seen
2 days ago