difflisted
Install: claude install-skill byjunyoung/claude-product-skills
# fig:diff — marking AS-IS / TO-BE changes and writing up the task doc
Compares AS-IS and TO-BE designs, **finds what changed and pins it with native Figma Dev Mode annotations**, and lays the same thing out as a comparison table in **the linked task doc**. Where that write-up goes is decided by the `task_tracker` setting.
**Principles**
- **The single source for a change is the label text.** The category colour is a secondary cue and can be lost.
- **Never create a category.** Reuse a shared one, or go without.
- **Mark the representative screen only.** State variants (Default/Selected, Detail/Toast, and so on) fold into one representative and are handled with an "inherits" line.
- Every write (Figma or the tracker) goes through the **preview → "go"** gate.
- **Never guess where AS-IS is** — if it is not on the same page, search for it or ask.
## When to invoke
- There is an AS-IS/TO-BE pair and the ask is "mark what changed" or "compare these and annotate them"
- The changes also need writing up in the task doc
- An explicit "/fig:diff"
## When NOT to invoke
- Just understanding the frame structure → `/fig:read`
- Tidying structure and naming, filling placeholders → `/fig:prep`
- Flow arrows → `/fig:arrows`
- Auditing rule violations only → `/fig:lint`
- Auditing, applying, or migrating changes into the canonical page → `/fig:sync`
## Inputs
- `figma_url` (required): the TO-BE (or comparison target) URL. A page, a section, or a frame — the kind is detected and branc