ds-align-ready-for-dev
/ds-align-ready-for-dev
Use when the designer has changed screens in Figma and marked sections Ready for dev - reads the screens and new components in those sections, compares them item by item with the current code, updates the code to match the design, verifies with screenshots, and updates token proposals and the registry.
- Author
- Tuzibaobaobai ↗
- Repository
- Agent-with-Figma-Design-System ↗
- Licence
- MIT
- Last repository change
- 09.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when the designer has changed screens in Figma and marked sections Ready for dev - reads the screens and new components in those sections, compares them item by item with the current code, updates the code to match the design, verifies with screenshots, and updates token proposals and the registry.
Original author description
Use when the designer has changed screens in Figma and marked sections Ready for dev - reads the screens and new components in those sections, compares them item by item with the current code, updates the code to match the design, verifies with screenshots, and updates token proposals and the registry.
How it works
- 0. Set the scope
- 1. Read the design
- 2. Compare with the current state
- 3. Change the code
- 4. Verify
- 5. Report
- 6. Update the ledger
SKILL.md preview
---
name: ds-align-ready-for-dev
description: Use when the designer has changed screens in Figma and marked sections Ready for dev - reads the screens and new components in those sections, compares them item by item with the current code, updates the code to match the design, verifies with screenshots, and updates token proposals and the registry.
---
# Align with the designer's Ready for dev changes
## 0. Set the scope
- **The Figma plugin API and MCP cannot read the Ready for dev mark.** Do not guess. The signals you can read: the ready marker at the start of a section name (config `review.readyMarker`, default "✅ Ready"), the `ready` list in the review ledger, and section links a person forwards (`…?node-id=<id>`). Anything else is not final: ask.
- Handle only the screens within the linked scope. Changes to shared components (such as the page header) affect other pages; report them when done.
## 1. Read the design
1. `get_metadata` on the section: list the screen frames and the components the designer created (usually placed next to the section, with names that lack the proposal prefix).
2. `get_design_context` (with screenshot) for each screen. The returned code is React + Tailwind **reference** code and cannot be used directly — replace it with the project's components and tokens.
3. For new and changed components, read the component set itself to get every variant (`get_design_context` on the component set node), especially states not visible on screens, such as Hover / Disabled.
4. When the designer used styles or variables that are not in the pinned version (for example, a new shadow style), read their name, key and values with `use_figma`.
5. Download icon assets from the design (the temporary links in the response expire after 7 days). For single-colour icons that need to change colour, set the colour to `currentColor`. Icons the designer newly drew can be obtained with `use_figma` via `exportAsync({ format: 'SVG' })` on the node.
## 2. Compare with the current state
- Run the project's screenshots (e2e or screenshot script) and view them side by side with the design screenshots.
- Write a diff list: size, spacing, font size and weight, colour, shadow, corner radius, element position, copy, interaction states.
## 3. Change the code
- Change components (ds-implement rules): all sizes and colours use tokens.
- **A value in the design is not a token**:
- A library style / variable the designer created → write it into `proposed.tokens.json` with `use` set to "style <name> (key …) created by the designer after <version>; becomes an official token after the next sync", then run `build`.
- A raw value in the design (not bound to a style) → first look for the closest existing token. If there really is none, propose it as needs-designer and list it in the report.
- Copy follows the design; update every language file for i18n at the same time.
- When a component the designer created replaces a previously reused component: update the registry. If it is not yet in the pinned inventory, record it in `figmaPending`. Never invent a `figma.nodeId`.
- When structure that tests depend on (class, accessible name, role) changes, update the tests and mention it in the report.
## 4. Verify
- `npx ds-workflow check`, type check, unit tests, build and e2e all pass.
- Compare screenshots with the design screen by screen: at desktop width and at least one narrow width.
## 5. Report
- What changed on each screen; other pages affected by shared components.
- New proposed tokens, `figmaPending` components, copy changes.
- Remaining differences from the design and why (for example, the design is a static illustration, while the code hides a button according to the component's Disabled definition).
- Pushing and deploying wait for a person's confirmation.
## 6. Update the ledger
Move the section to `ready` in the review ledger (if it is not there yet), set `codeAligned` to the commit that aligned the code, and remove the matching `pending` entries. `npx ds-workflow check` passes.
Versions
The database has no other skills named ds-align-ready-for-dev.
Database snapshot: 13.11.2026 · package version ac75b65818bb (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90ds-write-back
Use to write UI states back to Figma as components (stage 6) - builds each screen from design system and proposal component instances with the Figma MCP use_figma and places them on the Screens page for the designer, without touching screens the designer marked Ready; never use… - 90ds-review-loop
Use whenever new or changed UI goes to Figma for the designer to review - runs automatically after any UI change (new screen, new state, changed layout, interaction or copy position, new variant), reads which sections the designer marked Ready, never overwrites them (adds a v2… - 95design-organize
Use when Figma screens in a section, frame or page need organizing into a clean, labelled layout: rows by flow, sub-sections, screen labels, re-formatting an existing layout, or moving screens between sections. Triggers include "organize these screens", "clean up this section",… - 100figma
Use when working with Figma as the design source for a design system — including Variables, Dev Mode, Code Connect, the REST API, and MCP-based design-to-code workflows. USE FOR: Figma Variables, Figma Dev Mode, Code Connect, Figma REST API, Tokens Studio plugin, Figma MCP… - 90design-annotations
Use when dev notes need adding, placing, or rewriting next to Figma design screens, using a note component from the design system or a default template. Triggers include "place my dev notes by their screens", "add dev notes to these screens", "improve the copy on these notes",… - 100sb-figma
The Figma↔Storybook bridge, both directions, via the native Figma MCP. design→code: map foundation tokens (color/spacing/type) from Figma variables with design↔code parity + drift, and deliver approved Figma components (extract → build → embed), authoring stories via sb-stories'…