da-express-milo: Skill for Claude Code

.claude/skills/build-block-from-figma/SKILL.md

build-block-from-figma is a skill for Claude Code from adobecom/da-express-milo. It costs 92 tokens per session (6,450 once invoked), scanned C, original, Apache-2.0.

A workflow for building an Adobe Express block from one or more Figma design frames, then checking the result in a browser. A block is a reusable page component.

In plain words
What is it for?
Use it to implement responsive blocks in the specified repository, compare them with Figma across screen sizes, and run browser-based audits.
Why use it?
It gives the coding agent a defined path from visual design to implementation and includes visual, accessibility, and performance checks.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

This is adobecom/da-express-milo's own configuration. It tells Claude Code how to work on da-express-milo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything da-express-milo configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import('../../../express/code/scripts/utils.js'),.

Reuse

Borrowing it

Nothing to install: this file belongs to adobecom/da-express-milo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/adobecom/da-express-milo/stage/.claude/skills/build-block-from-figma/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/adobecom/da-express-milo

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-block-from-figma

README.md
[![agentmods](https://agentmods.dev/badge/skills/adobecom/da-express-milo/build-block-from-figma/github.svg)](https://agentmods.dev/skills/adobecom/da-express-milo/build-block-from-figma)
Your own site
<a href="https://agentmods.dev/skills/adobecom/da-express-milo/build-block-from-figma"><img src="https://agentmods.dev/badge/skills/adobecom/da-express-milo/build-block-from-figma/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-block-from-figma

Your own site · 80×15
<a href="https://agentmods.dev/skills/adobecom/da-express-milo/build-block-from-figma"><img src="https://agentmods.dev/badge/skills/adobecom/da-express-milo/build-block-from-figma.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,450 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.06450
Opus 5 $0.00046 $0.03225
Sonnet 5 $0.00018 $0.01290
Haiku 4.5 $0.00009 $0.00645

Measured yesterday against content hash 94f22a1d0040, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

build-block-from-figma scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .playwright-mcp /tmp/build-block-figma

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST \
.claude/skills/build-block-from-figma/SKILL.md · 663 lines

How it starts

The opening of the file, as written. The whole thing — 663 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build Block Skill

You are building a new block component for adobe.com/express inside the adobecom/da-express-milo repository. Components are plain HTML blocks styled with plain CSS and initialised by an async function decorate(block) exported as the module default — you never add self-initialisation logic.

Critical path rules

  • Block code lives exclusively in express/code/blocks/<name>/. Read 2–3 existing blocks from there before writing any code.
  • Shared utilities come from express/code/scripts/utils.js (getLibs, decorateButtonsDeprecated, getIconElementDeprecated, fixIcons, toClassName) and from milo loaded lazily via getLibs() (createTag from ${getLibs()}/utils/utils.js). Re-use these; do not duplicate their logic.
  • Design tokens live in express/code/styles/styles.css.
  • Never use .innerHTML — it destroys Preact/Lit components. Use .append(), cloneNode, or createTag instead.
  • The platform is Adobe EDS. Use the Fluffyjaws MCP to look up any EDS conventions you are unsure about.

Bundled resources

Do not load these upfront. Each phase below tells you which file to read at the point it becomes relevant.

references/

File Purpose
design-tokens.md Express token system + the Figma→token mapping algorithm (exact name match → in-category value match → new token / hardcoded), semantic-category guardrails, and the token-mapping report format.
grid-system.md Breakpoints, column counts, container variants, n-up layouts.
eds-patterns.md EDS block anatomy, Express utilities, CTA patterns, icon helpers, placeholder text.
acceptance-criteria.md JS/CSS rules, quality checklists, media-query syntax, token usage.
remote-branch-workflow.md Branch creation, push procedure, CDN refresh, iteration batching for .aem.live URLs.

agents/

File Purpose
visual-comparison.md Playwright screenshot loop — layout, spacing, colour, media fidelity checks.
accessibility-check.md axe-core WCAG 2.2 AA audit scoped to the block.
performance-check.md Lighthouse CLI audit — LCP, CLS, INP, TBT, overall score.

Read the full file on GitHub · 663 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +2 lines 94f22a1d0040
  2. 10d ago First seen · 661 lines · 92 tokens per session scan C b1ea8191f6d1

Subscribe to this mod's changes

build-block-from-figma is a skill published in the GitHub repository adobecom/da-express-milo (6 stars, last pushed today), licensed Apache-2.0. It adds 92 tokens to every session and 6,450 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

animation-principles

Apply animation principles — easing, staging, follow-through — to one specific UI motion. Use when tuning how an animation feels. For product-wide duration and easing tokens use motion-system (design-systems); for a full interaction spec use micro-interaction-spec.

Owl-Listener/designer-skills · 59 tokens

refactoring-ui

Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions "my UI looks off" (or amateur/unprofessional), "fix the design", "Tailwind styling", "color palette", "visual hierarchy", "design system", "spacing scale", or "component styling". Also trigger when building consistent…

wondelai/skills · 132 tokens