Agent skill

Figma Variant Matrix

by mohitagw15856 in mohitagw15856/pm-claude-skills

Define component variants and states systematically for Figma.

MITAuto-check passedFrontend & Design

Install Figma Variant Matrix

skills CLI
$ npx skills add mohitagw15856/pm-claude-skills --skill figma-variant-matrix -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mohitagw15856/pm-claude-skills figma-variant-matrix --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/figma-variant-matrix .claude/skills/figma-variant-matrix && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
figma-variant-matrix
GitHub stars
1.4k
Token cost
~870 tokens
SKILL.md length
384 words
Files
1
Skills in repo
1,348
Repo updated
First seen
Licence
MIT

At a glance

Define component variants and states systematically for Figma.

  • Works in 6 steps: Component Overview → Variant Properties → State Definitions → …
  • Asked to plan component variants
  • SKILL.md covers Required Inputs, Output Structure, Quality Checks and Anti-Patterns, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Figma Variant Matrix is an agent skill from mohitagw15856/pm-claude-skills. Define component variants and states systematically for Figma. Use when asked to plan component variants, define states for a component, set up a Figma variant matrix, or work out what properties a component needs before building it. Produces a complete variant matrix with all properties, values, and combinations needed.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Frontend & Design. It works with Figma. The repository describes itself as: 1255 professional Agent Skills for Claude, ChatGPT, Gemini, Cursor & Codex — PRDs, postmortems, leases, medical bills, layoffs, go-bags, new countries. Plain markdown, MIT, in… The licence is MIT.

When your agent uses it

  • Asked to plan component variants
  • Define states for a component
  • Set up a Figma variant matrix
  • Work out what properties a component needs before building it

Example prompts

  • “/figma-variant-matrix”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Component Overview
  2. Variant Properties
  3. State Definitions
  4. Anatomy Breakdown
  5. Token Mapping
  6. Build Order

What it can do on your machine

Read from SKILL.md and the folder at commit 1cbf1f0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Figma Variant Matrix loads about 870 tokens when it runs. Until then it costs about 86 tokens; SKILL.md has 384 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~86
When it runs · the whole SKILL.md, loaded when a task matches
~870

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from mohitagw15856/pm-claude-skills at commit 1cbf1f0, republished under its MIT licence (© mohitagw15856). 384 words, ~870 tokens.

Download SKILL.mdSave it as .claude/skills/figma-variant-matrix/SKILL.md (or your agent's skills folder).
name
figma-variant-matrix
description
Define component variants and states systematically for Figma. Use when asked to plan component variants, define states for a component, set up a Figma variant matrix, or work out what properties a component needs before building it. Produces a complete variant matrix with all properties, values, and combinations needed.

Figma Variant Matrix Skill

Defines all variants, properties, and states a component needs before building it in Figma — preventing missing variants discovered after the component is already used across 40 screens.

Required Inputs

  • Component name (Button, Card, Input, Badge, Navigation item, etc.)
  • Component purpose (what does it do, where is it used?)
  • Platform (iOS / Android / Web / Multi-platform)
  • Design system context (standalone / part of existing system)

Output Structure

1. Component Overview

Name, category (Interactive/Display/Layout/Form/Navigation/Feedback), used in contexts.

2. Variant Properties
PropertyValuesNotes
TypePrimary, Secondary, Tertiary, Destructive
SizeLarge, Medium, Small
StateDefault, Hover, Active, Disabled, Loading
IconNone, Leading, Trailing, Only

Total combinations: [N]. Flag if over 50 — consider splitting into multiple components.

3. State Definitions

For each state, list only what changes from Default:

  • Default: [Full visual spec]
  • Hover (web): [Delta from default]
  • Active/Pressed: [Delta]
  • Disabled: [Delta — use layer-level properties, not opacity on whole component]
  • Loading: [What replaces label, interactive during loading?]
  • Error (forms): [Border colour, helper text, icon changes]
4. Anatomy Breakdown
Layer namePurposeRequired?Notes
containerBackground and boundsYes
labelTextConditionalHide when icon-only
icon-leadingLeading icon slotNo
5. Token Mapping
PropertyTokenFallback
Background defaultcolor.brand.primary#hex
Border radiusradius.medium8px
6. Build Order
  1. Default state, most common variant
  2. Convert to component, add properties
  3. Size variants
  4. State variants
  5. Type variants
  6. Icon slot variants last
Show full SKILL.md (155 more words)Show less

Quality Checks

  • All interactive states defined
  • Total variant count calculated, flagged if over 50
  • Every layer named semantically
  • Token mapping covers all visual properties
  • Disabled state uses layer-level properties not opacity

Anti-Patterns

  • Do not create a variant matrix with properties that overlap or conflict — each property must be independently variable
  • Do not use opacity for disabled states — disabled states must use layer-level properties, not opacity
  • Do not enumerate every mathematical combination if many are invalid — document only valid, buildable combinations
  • Do not define variants without considering responsive behaviour — specify which properties change across screen sizes
  • Do not produce a matrix without Figma implementation guidance — variant naming conventions must follow Figma's property system

Example Trigger Phrases

  • "Define the variants for a [component] in Figma"
  • "What states does my [component] need?"
  • "Help me plan the variant matrix for [component]"
  • "Set up the Figma properties for a [button/card/input]"
  • "What are all the combinations I need for my [component]?"

© mohitagw15856, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/figma-variant-matrix of mohitagw15856/pm-claude-skills.

Open the folder on GitHubat commit 1cbf1f0

Compare with similar skills

Figma Variant Matrix next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Figma Variant Matrix compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Figma Variant Matrix this skillmohitagw15856/pm-claude-skills1.4k—~870Automated safety check: PassMIT
Figma Design System Builderwarpdotdev/warp65k2 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma use_figma Plugin API Ruleswarpdotdev/warp65k4 repos~4.4kAutomated safety check: PassAGPL-3.0
Figma Design to Codewarpdotdev/warp65k4 repos~2.9kAutomated safety check: PassAGPL-3.0
Figma Design System Rules Generatorwarpdotdev/warp65k3 repos~4.6kAutomated safety check: PassAGPL-3.0
Figma Code Connect Componentswarpdotdev/warp65k2 repos~4.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Builds or updates a design system in Figma from a codebase in ordered phases: discovery, variables and tokens, components, theming and documentation, with checkpoints.

    65k GitHub starsUsed in 2 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Required groundwork before any use_figma call: the rules and reference files for running JavaScript in a Figma file through the Plugin API without common failures.

    65k GitHub starsUsed in 4 repos~4.4k tokens
    Frontend & DesignAuto-check passed
  • Figma Design to Code

    warpdotdev/warp

    Turns a Figma frame or component into production code that matches the design, using the Figma MCP server and the project's own design system.

    65k GitHub starsUsed in 4 repos~2.9k tokens
    Frontend & DesignAuto-check passed
  • Creates project-specific design system rules from your codebase so coding agents implement Figma designs with your components, naming and tokens.

    65k GitHub starsUsed in 3 repos~4.6k tokens
    Frontend & DesignAuto-check passed
  • Maps published Figma components to their code implementations with Code Connect, using the Figma MCP suggestion and mapping tools.

    65k GitHub starsUsed in 2 repos~4.2k tokens
    Frontend & DesignAuto-check passed
  • Cc Design

    ZeroZ-lab/cc-design

    High-fidelity HTML design and prototype creation. An agent skill from ZeroZ-lab/cc-design.

    827 GitHub stars~2.2k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check: notes

More from mohitagw15856/pm-claude-skills

All 1,348 skills in this repo
  • Car Tco

    mohitagw15856/pm-claude-skills

    Compare the total cost of car ownership across buy-new, buy-used, lease, and keep-your-current-car — depreciation, insurance, maintenance ramp, and fuel over a real horizon, not just the monthly…

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Cs Health Scorecard

    mohitagw15856/pm-claude-skills

    Build a customer health scorecard for a specific account. An agent skill from mohitagw15856/pm-claude-skills.

    1.4k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Exit Waterfall

    mohitagw15856/pm-claude-skills

    Compute who gets what at each exit price from a cap table — liquidation preferences, conversion points, and where the founders' share collapses.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Feature Prioritisation

    mohitagw15856/pm-claude-skills

    Apply prioritisation frameworks (RICE, MoSCoW, Kano, ICE, Opportunity Scoring) to rank features and backlog items.

    1.4k GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Fire Number

    mohitagw15856/pm-claude-skills

    Compute a financial-independence (FIRE) target and years-to-reach with every assumption labeled as an assumption — plus a sensitivity table instead of a single false-precision answer.

    1.4k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Freelance Rate

    mohitagw15856/pm-claude-skills

    Derive a freelance day/hourly rate backwards from target income, honest billable utilization, overhead, and the self-employment tax premium — the arithmetic that proves a rate is not salary÷2000.

    1.4k GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Figma Variant Matrix

What does Figma Variant Matrix do?

Define component variants and states systematically for Figma. Figma Variant Matrix is an agent skill from mohitagw15856/pm-claude-skills. Define component variants and states systematically for Figma.

When should I use Figma Variant Matrix?

Figma Variant Matrix fits situations like: asked to plan component variants; define states for a component; set up a Figma variant matrix; work out what properties a component needs before building it.

How do I install Figma Variant Matrix in Claude Code?

Run `npx skills add mohitagw15856/pm-claude-skills --skill figma-variant-matrix -a claude-code`. Or copy the skill folder (skills/figma-variant-matrix in mohitagw15856/pm-claude-skills) into .claude/skills/figma-variant-matrix in your project. Claude Code loads it when a task matches its description.

How do I install Figma Variant Matrix in Codex?

Run `npx skills add mohitagw15856/pm-claude-skills --skill figma-variant-matrix -a codex`. Or copy the skill folder (skills/figma-variant-matrix in mohitagw15856/pm-claude-skills) into .agents/skills/figma-variant-matrix in your project. Codex loads it when a task matches its description.

Can I use Figma Variant Matrix in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mohitagw15856/pm-claude-skills --skill figma-variant-matrix -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/figma-variant-matrix, .gemini/skills/figma-variant-matrix, .github/skills/figma-variant-matrix and .opencode/skills/figma-variant-matrix in your project.

What does Figma Variant Matrix need to run?

SKILL.md names no scripts, command-line tools or credentials: Figma Variant Matrix is instructions for the agent only.

Does Figma Variant Matrix access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Figma Variant Matrix safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Figma Variant Matrix use?

Figma Variant Matrix is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Figma Variant Matrix use?

About 870 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Figma Variant Matrix?

Skills that share tags, products or a category with Figma Variant Matrix: Figma Design System Builder (warpdotdev/warp, 65k stars), Figma use_figma Plugin API Rules (warpdotdev/warp, 65k stars), Figma Design to Code (warpdotdev/warp, 65k stars) and Figma Design System Rules Generator (warpdotdev/warp, 65k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Figma Variant Matrix?

mohitagw15856 (a GitHub user) maintains it in mohitagw15856/pm-claude-skills, which has 1,434 GitHub stars. The repository holds 1,348 skills in this directory. The repository was last updated on October 9, 2026.

Source: mohitagw15856/pm-claude-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.