/product-discovery:build-figma-libraryfrom Superhero Skills
Builds or extends a Figma token and component library from product docs, code, or existing UI. Verifies component properties, composition, and handoff readiness for another agent.
Ships in Superhero Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn product sources into native Variables, styles, and components, then verify that another agent can use them to build a view. A component board or a token count alone does not establish library readiness.
This skill defines the outcome and handoff criteria. Delegate execution mechanics to the current skills in the installed Figma plugin:
Use the current conversation and available sources to establish:
Do not expand a listing into the entire product or a token-only request into a full library. An unspecified usage mode does not justify claiming readiness across files: build the agreed local scope and explicitly identify the unverified handoff stage. Ask only about decisions that block the outcome; continue the remaining work.
Before making changes, state a concise scope and acceptance criteria. Inspect existing assets and preserve compatible IDs, conventions, and dependencies.
Read the source and token contract.
Collect confirmed values, layout rules, families, dependencies, and actual state combinations. Distinguish observed information, new Figma mappings, recommendations, and gaps. Then build the required Variables, aliases, modes, text styles, and effect styles. Bind them to components and verify alias resolution and code mappings.
Do not turn every literal into a global token. Do not add themes or states merely because they are common. Preserve source exceptions unless changing them is part of the task.
Work in dependency order. Validate a representative family first, then extend the verified model to the remaining scope.
For a full library or a library intended for building views, include a complete representative view made from instances in the relevant responsive layouts. Reuse an existing example if it serves this purpose.
Show composition rules: container, margins, grid, section spacing, content order, and optional-element behavior. Label your own proposals separately. A board of independent cards and controls does not replace a full-page example.
For foundations only or a single family, provide an example appropriate to that scope; do not add unrequested screens.
Read the acceptance and handoff criteria. Perform the structural, visual, and usage checks relevant to the scope.
The guide in the file must let another agent select components, tokens, variants, and layout without access to this conversation. Record concrete asset links and IDs, along with open decisions; working state in /tmp is not consumer documentation.
When the scope includes use across files, include publishing components, styles, variable collections, and their dependencies, followed by a test in the consuming file. Publish within the task's authorization, your permissions, and the existing audience. Do not broaden access in the process.
If the consumer is a coding agent, also provide the repository and actual code mappings. Do not equate a Figma library with an implementation component package.
Provide links to the library, guide, and example, along with coverage, validation results, and remaining decisions. Distinguish:
Do not claim full readiness while a required stage remains incomplete. Identify the specific gap without blocking independent parts of the task.
The updated prompt can start a task or share the workflow with someone who prefers a full instruction. It does not need to be read on every invocation of this skill.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/ab-test-designDesign an A/B test and decide whether available traffic can detect a useful effect. Use when planning a randomized product comparison, checking sample size or test duration, or creating an interactive A/B test card./affinity-mappingSynthesize interview transcripts into evidenced themes and user needs, then render an interactive HTML evidence map. Use when synthesizing interviews, affinity mapping, or preparing opportunities for discovery./code-event-stormingReconstruct an EventStorming board from business behavior evidenced in an existing codebase. Use to map current processes, commands, domain events, read models, and open questions in a self-contained HTML board./customer-researchUse when researching customer experiences published online about a product, service, or problem, using reviews, comments, or community discussions./data-analysisGuide a full data-analyst workflow from business question to recommendation. Use when the user says "analyze this data/CSV", wants EDA on a fresh dataset, asks to find patterns in this dataset (segmentation, cohorts, correlations), or wants SQL queries over files or databases via DuckDB./desk-researchUse when the user wants desk research, a literature review, competitive evidence, or to test a hypothesis. Search live sources, challenge assumptions, and explain what the evidence means in a concise report with a separate evidence file.npx claudepluginhub superhero-tech/superhero-skills --plugin product-discoveryOther plugins' skills for the same job