prep

prep is a skill for Claude Code from byjunyoung/claude-product-skills. It costs 101 tokens per session (5,376 once invoked), scanned A, original, MIT.

A Figma preparation workflow that organizes a design page by renaming frames, adding feature sections, and creating placeholders for missing screen states or interaction results.

In plain words
What is it for?
Use it to prepare Figma screens, normalize frame names, and stub missing states before designing them fully.
Why use it?
It exposes unrepresented cases before the main design work begins, so the page covers more of the intended experience.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the fig plugin — 14 skills, 1 hook shipped together

Good fit Use it to prepare Figma screens, normalize frame names, and stub missing states before designing them fully.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add byjunyoung/claude-product-skills
Claude Code
/plugin install fig

Made for: Claude Code.

Or install fig, the plugin that ships this one along with the rest of its 14 skills, 1 hook.

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 prep

README.md
[![agentmods](https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/prep/github.svg)](https://agentmods.dev/skills/byjunyoung/claude-product-skills/prep)
Your own site
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/prep"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/prep/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 prep

Your own site · 80×15
<a href="https://agentmods.dev/skills/byjunyoung/claude-product-skills/prep"><img src="https://agentmods.dev/badge/skills/byjunyoung/claude-product-skills/prep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,376 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.
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.00101 $0.05376
Opus 5.5 $0.00040 $0.02150
Sonnet 5.5 $0.00020 $0.01075
Haiku 4.5 $0.00010 $0.00538

Measured 14d ago against content hash 82927f1565fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

prep 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 14d 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.

plugins/fig/skills/prep/SKILL.md · 204 lines

How it starts

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

fig:prep — prepare the page (tidy, section, stub missing cases)

Part of a plugin. The scripts this skill runs ship beside it under ${CLAUDE_PLUGIN_ROOT}. If that path does not resolve, this file was installed on its own — stop and say the plugin itself is needed (claude plugin install fig@byjunyoung), rather than improvising what the scripts do.

Like mise en place in a kitchen: before the design work and the arrows, every ingredient — every frame — gets cut and put where it belongs.

Takes one page of a design file and (1) normalizes frame names to the convention, (2) groups them into feature-level sections and lays them out, and (3) reads what is actually on each screen to find missing cases and stub them as placeholder frames. A tidied page is only a third done — /fig:draw fills the stubs, then connecting the flow with /fig:arrows completes the set.

Prerequisites: always load the figma:figma-use skill before calling use_figma, and, before the first mutating call, figma:figma-generate-design alongside it (figma-use asks for both); in the skillNames of every mutating call name both: figma-use,figma-generate-design. This skill uses generate-design only for component discovery, never its page-level wrapper, which would put a new frame at the page's top level where prep places things itself. Discovery before the go stays read-only: it reads components and screens and writes nothing.

Seat check before the first write — call whoami once. Where every plan it lists carries seat: View, stop before any use_figma write and say so: the reading half of this skill runs on a View seat, the writing half needs an Edit seat on the file's plan, and no retry changes that. Where the seats are mixed, go ahead — and if the first write comes back as a permission error, report the seat table and stop rather than retrying.

When to invoke

  • "tidy this page to the convention", "fix the frame naming and sections"
  • "stub the missing states as placeholders"
  • Laying down the skeleton — sections plus placeholders — before designing a new domain's screens

Read the full file on GitHub · 204 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. 14d ago Changed 82927f1565fc
  2. 1mo ago Changed · -53 tokens per session adecdc4fefa1
  3. 2mo ago Changed ec0bac3e12a4
  4. 2mo ago Changed · +7 lines 2b2afb1577c4
  5. 3mo ago Changed · +2 lines fc46240cbc97
  6. 3mo ago First seen · 195 lines · 154 tokens per session scan A b347d43f315f

Subscribe to this mod's changes

prep is a skill published in the GitHub repository byjunyoung/claude-product-skills (5 stars, last pushed today), licensed MIT. It adds 101 tokens to every session and 5,376 once invoked, about $0.0004 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-31.

Related

prep compared with skills from other repositories

prep next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prepbyjunyoung/claude-product-skillsSkill5todayMITA101Claude Code
accessibility-per-componentmurphytrueman/design-system-opsSkill2292mo agoMITA68Claude Code
figma-variable-auditmurphytrueman/design-system-opsSkill2292mo agoMITA63Claude Code
metadata-schema-generatormurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code
theme-auditmurphytrueman/design-system-opsSkill2292mo agoMITA57Claude Code
token-auditmurphytrueman/design-system-opsSkill2292mo agoMITA72Claude Code
token-compliancemurphytrueman/design-system-opsSkill2292mo agoMITA62Claude Code