figma-to-sfnext-pagedesigner

figma-to-sfnext-pagedesigner is a skill for Claude Code, Codex from SalesforceCommerceCloud/b2c-developer-tooling. It costs 74 tokens per session (5,699 once invoked), scanned A, original, Apache-2.0.

Instructions for turning a Figma frame into live, editable Storefront Next Page Designer blocks. Figma is a design tool, and Page Designer blocks are merchant-editable sections of an online storefront.

In plain words
What is it for?
Use it to inspect Figma sections such as heroes or product rows, create one Page Designer component per section, and validate the result in a Storefront Next project.
Why use it?
It turns a visual design into separate storefront sections that merchants can author and reuse, while requiring checks against the original design.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is () => import('../../components/<name>/index').

Good fit Use it to inspect Figma sections such as heroes or product rows, create one Page Designer component per section, and validate the result in a Storefront Next project.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/SalesforceCommerceCloud/b2c-developer-tooling
agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin figma-to-sfnext-pagedesigner/plugin install figma-to-sfnext-pagedesigner after adding the marketplace above.

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 figma-to-sfnext-pagedesigner

README.md
[![agentmods](https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner/github.svg)](https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner)
Your own site
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner/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 figma-to-sfnext-pagedesigner

Your own site · 80×15
<a href="https://agentmods.dev/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner"><img src="https://agentmods.dev/badge/skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,699 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Output Handling · line 427
    Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.
    Fix: Validate and sanitize all model output before using it in downstream contexts. Use parameterized queries for SQL, shell quoting for commands, and HTML encoding for web output.
  • medium Excessive Agency · line 39
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00074 $0.05699
Opus 5 $0.00037 $0.02849
Sonnet 5 $0.00015 $0.01140
Haiku 4.5 $0.00007 $0.00570

Measured 9d ago against content hash f28e79d8dac7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

figma-to-sfnext-pagedesigner scanned grade A with 0 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/figma-to-sfnext-pagedesigner/skills/figma-to-sfnext-pagedesigner/SKILL.md · 445 lines

How it starts

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

Skill: figma-to-sfnext-pagedesigner

Convert a Figma frame into one or more live Storefront Next Page Designer blocks in one shot.

One block per section. Inspect the top-level frame and identify distinct visual sections (hero, feature strip, product row, footer band, etc.). Each section becomes its own PD component with its own file, typeId, and decorator. Run Phases 1–4 once per section before moving to the next.

Prerequisites

  • Figma MCP server configured in your AI tool — the skill reads design context through it. Without it, the skill can only act as a manual checklist.
  • Browser MCP (Playwright or similar) — for the Phase 5 visual validation. Optional but recommended.
  • A Storefront Next project in a git repo, with the sfnext CLI available (pnpm sfnext …).
  • gh CLI authenticated (gh auth status) if you want the skill to clone/push for you.
  • A Figma frame URL that includes a node-id.

When to use

Invoke this skill (/figma-to-sfnext-pagedesigner) whenever the user provides a Figma URL and wants the design to become a merchant-authorable Page Designer component in a Storefront Next project.

Do NOT invoke this when:

  • The user only wants React/Tailwind code (no PD integration needed) — use the figma-design-to-code skill directly.
  • The target project is SFRA/ISML, not Storefront Next.

Required inputs (ask if missing)

Input Example
Figma node URL (must include node-id) https://www.figma.com/design/abc123/...?node-id=1-2
Git repo URL (or a local path to the project) https://github.com/org/my-storefront
PD group (palette folder) Content
Target branch main or a feature branch name

Do not ask the user for typeIds, display names, or descriptions upfront — derive these from the section names discovered in the frame and confirm them in the approval gate (Phase 1, step 4).

If the Figma URL has no node-id query param, stop and ask the user to select the frame in Figma and copy the link — never guess a node ID.

Read the full file on GitHub · 445 lines

Files

What ships with it

2 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.

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. 9d ago First seen · 445 lines · 74 tokens per session scan A f28e79d8dac7

Subscribe to this mod's changes

figma-to-sfnext-pagedesigner is a skill published in the GitHub repository SalesforceCommerceCloud/b2c-developer-tooling (53 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 5,699 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

frontend

MUST USE for frontend/web UI/UX/visual work: building, styling, redesigning pages/components, React setup, performance audits, visual QA, taste, and polish. Routes four rulesets: design taste router and brand references; perfection for Playwright/Chromium Lighthouse/Core Web Vitals; ui-ux-db palettes/fonts/guidelines…

code-yeongyu/lazycodex · 183 tokens

designlang-tokens

Use when styling UI for cal.com — references the extracted design system tokens instead of inventing colors, spacing, or typography.

Manavarya09/design-extract · 30 tokens

antv-x6-editor

A skill for creating and troubleshooting interactive diagrams with AntV X6, a JavaScript engine for editors made of connected nodes and lines. It supports diagram types such as flowcharts, dependency graphs, entity-relationship diagrams, and organization charts.

antvis/chart-visualization-skills · 253 tokens

infographic-creator

Create beautiful infographics based on given text content. Use when users request to create infographics.

antvis/chart-visualization-skills · 24 tokens

app-screenshot-debug

Drive the running termio app via AppleScript / System Events to reach a UI state (focus the window, click a sidebar project, a terminal pane, a control), capture a pixel-accurate screenshot of just that window, and read it back for visual analysis — for diagnosing layout / spacing / alignment / 'this looks ugly'…

termio-sh/termio · 161 tokens

cli-anything-photoshop

A command-line tool that controls Adobe Photoshop through Windows automation. It can work with Photoshop documents, layers, selections, text, image adjustments, and exports.

yb2460/harness-anything · 43 tokens