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,391 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,391 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.06391
Opus 5.5 $0.00037 $0.02556
Sonnet 5.5 $0.00018 $0.01278
Haiku 4.5 $0.00009 $0.00639

Measured 13d ago against content hash 38ba2dc9cf07, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 13d ago.

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 · 662 lines

How it starts

The opening of the file, as written. The whole thing — 662 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.
  • Express design tokens are in express/code/styles/styles.css; S2A tokens are in the external stylesheet https://www.adobe.com/libs/c2/styles/s2a-tokens.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 and S2A token sources, Figma-to-CSS-variable matching rules, 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 · 662 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. 13d ago Changed · -1 lines 38ba2dc9cf07
  2. 1mo ago Changed · +2 lines 94f22a1d0040
  3. 2mo 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 yesterday), licensed Apache-2.0. It adds 92 tokens to every session and 6,391 once invoked, about $0.0004 per session on Opus 5.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

build-block-from-figma compared with skills from other repositories

build-block-from-figma next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-block-from-figmaadobecom/da-express-miloSkill6yesterdayApache-2.0C92Claude Code
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code