figma-to-sfnext-pagedesigner

figma-to-sfnext-pagedesigner is a skill for Claude Code from SalesforceCommerceCloud/b2c-developer-tooling. It costs 181 tokens per session (6,739 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 Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the figma-to-sfnext-pagedesigner plugin — 1 skill shipped together

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 with agentmods
npx agentmods add skills/salesforcecommercecloud/b2c-developer-tooling/figma-to-sfnext-pagedesigner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

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

Made for: Claude Code.

Or install figma-to-sfnext-pagedesigner, the plugin that ships this one along with the rest of its 1 skill.

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 181 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,739 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.00181 $0.06739
Opus 5.5 $0.00072 $0.02696
Sonnet 5.5 $0.00036 $0.01348
Haiku 4.5 $0.00018 $0.00674

Measured 22d ago against content hash e46e155e448c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 22d 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 · 448 lines

How it starts

The opening of the file, as written. The whole thing — 448 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 (Node >= 24, pnpm >= 10.28), with the sfnext CLI available (pnpm sfnext …).
  • A B2C instance and credentials for pnpm cartridge:deploy (see b2c-cli:b2c-code), and MRT access for pnpm push (see b2c-cli:b2c-mrt).
  • gh CLI authenticated (gh auth status) only if you want the skill to clone the repo 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 (use b2c:b2c-page-designer).
  • The user wants to sync a design kit or Code Connect mappings from brand tokens (use storefront-next-figma:sfnext-create-figma-kit).

For the decorator, registry, loader and <Region> reference used throughout, see storefront-next:sfnext-page-designer.


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; the generated id is <Group>.<typeId>) Content
Target branch main or a feature branch name

Read the full file on GitHub · 448 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. 22d ago Changed · +3 lines · +107 tokens per session e46e155e448c
  2. 1mo 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 (56 stars, last pushed today), licensed Apache-2.0. It adds 181 tokens to every session and 6,739 once invoked, about $0.0007 per session on Opus 5.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

Builds, styles, and polishes anything drawn with HTML, CSS, or SVG: web UI, pages, components, HTML reports rendered to PDF or print, figures, PNG/SVG diagrams, slides, and images for Notion or Slack. Use for any styling, layout, animation, or visual-quality task, or when asked to make something look or feel a certain…

code-yeongyu/lazycodex · 79 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

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

product-configurator-design

Designing build-your-own product configurators (Tesla-style, custom-pricing, plan-builders) with constraint logic, real-time pricing, validation, and save-and-share mechanics. Honest about infinite-options (decision paralysis), canned-bundles-only (no real customization), and guided-configuration (smart defaults plus…

rampstackco/claude-skills · 129 tokens

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens

excalidraw-cli

Create editable Excalidraw flowcharts and diagrams, or export .excalidraw files to PNG or SVG.

swiftlysingh/excalidraw-cli · 30 tokens