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.
curl -O https://raw.githubusercontent.com/adobecom/da-express-milo/stage/.claude/skills/build-block-from-figma/SKILL.mdgit clone --depth 1 https://github.com/adobecom/da-express-miloWrote 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.
[](https://agentmods.dev/skills/adobecom/da-express-milo/build-block-from-figma)<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.
<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>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.
| Model | Per session | Once 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 |
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 \ 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 viagetLibs()(createTagfrom${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, orcreateTaginstead.- 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. |
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/accessibility-check.md 3.2 KB
- agents/performance-check.md 4.5 KB
- agents/visual-comparison.md 8.9 KB
- README.md 2.4 KB
- references/acceptance-criteria.md 8.2 KB
- references/design-tokens.md 13 KB
- references/eds-patterns.md 10 KB
- references/grid-system.md 2.6 KB
- references/remote-branch-workflow.md 7.5 KB
- references/viewport-content.md 3.0 KB
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.
- yesterday Changed · +2 lines 94f22a1d0040
- 10d ago First seen · 661 lines · 92 tokens per session scan C b1ea8191f6d1
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.
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…
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.
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…
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.
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.
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…