audit-design-system
Skill4 starsChanged 19 days agoMITView on GitHub
Analyze, audit, inventory, and document an existing Figma design system through the Figma MCP server — components, variables, tokens, patterns, design debt, usage rules, causal relationships — and create design-system documentation pages in Figma on request. Use when the user asks to audit, inventory, map, document, or find debt in a Figma file, page, frame, component set, or selection. Read-only by default; modify Figma only when the user explicitly asks. Not for designing or building screens — that is design-screens; not for repairing broken variable bindings — that is figma-fix-variable-bindings.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- schudarin/chudarin-figma-skillsword for word, first seen Oct 26, 2026
- trycompai/comptheir own version, first seen Oct 8, 2026
- edenspiekermann/Skillstheir own version, first seen Mar 24, 2026
Other versions3 projects use a version of this.
Word for word · 1
- schudarin/chudarin-figma-skills★ 4100% same
Edited · 0
None found.
Wrote their own version · 2
- trycompai/comp★ 2.1ksame name
- edenspiekermann/Skills★ 67same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository6 other files it gives its agents.
- design-screensSkill
- design-slidesSkill
- figma-fix-variable-bindingsSkill
- figma-plugin-api-rulesSkill
- plan-user-flowsSkill
- writing-textsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
36 rules. About 0 are common, 36 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈36
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill to analyze real Figma files and help build a tokenized design system grounded in actual layouts, components, variables, and …
- Distinctive: line 18
Do not create, edit, delete, rename, move, or reorganize Figma content unless the user explicitly asks to do so.
- Distinctive: line 20
If the user asks to analyze, audit, find, compare, document, propose, or recommend, stay read-only.
- Distinctive: line 22
If the user asks to create, add, insert, update, modify, rename, organize, or publish in Figma, you may use write-capable Figma MCP tools, …
- Distinctive: line 24
Do not analyze the codebase or Code Connect mappings.
- Distinctive: line 43
When the user provides a Figma URL or selection:
- Distinctive: line 48
Use Figma MCP tools to inspect metadata, design context, screenshots, variables, libraries, and existing components.
- Distinctive: line 58
Use tools in this order when applicable:
- Distinctive: line 68
If a listed tool is unavailable in the current MCP server, use the closest available Figma MCP tool and state which expected data could not …
- Distinctive: line 115
Should be governed centrally
- Distinctive: line 131
Do and don't examples
- Distinctive: line 138
Check states for all interactive components:
- Distinctive: line 166
Search with filters = pattern
- Distinctive: line 173
Use three token layers:
- Distinctive: line 216
Do not create a semantic token only because a raw value repeats.
- Distinctive: line 218
Create a semantic token when the value:
- Distinctive: line 227
Create component tokens only when the component needs independent control over variants, states, modes, or theming.
- Distinctive: line 229
Avoid token names based on appearance:
- Distinctive: line 246
When proposing Figma Variables, use this collection structure unless the user provides another standard:
- Distinctive: line 254
Use modes when needed:
- Distinctive: line 260
Use slash-style Figma variable names when appropriate:
- Distinctive: line 273
When the user asks to create design-system documentation in Figma, create only the pages this run fills.
- Distinctive: line 275
Do not modify product screens unless the user explicitly asks.
- Distinctive: line 279
When the file already has documentation boards, they set the look of every new or rebuilt one.
- Distinctive: line 291
If the user does not specify a format, return:
- Distinctive: line 303
If the user explicitly asks to create documentation in Figma, create Figma pages and frames instead of only responding in chat.
- Distinctive: line 307
Before finalizing recommendations, check:
- Distinctive: line 317
Every major conclusion has evidence and confidence.
- Distinctive: line 325
Do not modify Figma unless explicitly asked.
- Distinctive: line 326
Do not analyze the codebase or Code Connect.
- Distinctive: line 327
Do not invent components without labeling them as recommendations.
- Distinctive: line 328
Do not treat every repeated value as a token.
- Distinctive: line 329
Do not create components from one-off layout details.
- Distinctive: line 330
Do not ignore existing variables, styles, libraries, or components.
- Distinctive: line 331
Do not present guesses as facts.
- Distinctive: line 332
Do not overwrite or restructure product screens without explicit permission.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Figma Audit Design System
Use this skill to analyze real Figma files and help build a tokenized design system grounded in actual layouts, components, variables, and product flows.
Operating mode
Work read-only by default.
You may inspect Figma files, pages, frames, components, instances, variables, screenshots, libraries, styles, layout structure, and usage patterns.
A read-only use_figma script is inspection: run it without asking. Read-only means the script only returns data and sets nothing on any node, variable or style.
Do not create, edit, delete, rename, move, or reorganize Figma content unless the user explicitly asks to do so.
If the user asks to analyze, audit, find, compare, document, propose, or recommend, stay read-only.
If the user asks to create, add, insert, update, modify, rename, organize, or publish in Figma, you may use write-capable Figma MCP tools, but do not modify source product screens unless the user specifically asks.
Do not analyze the codebase or Code Connect mappings.
Primary objective
Build design-system knowledge from evidence, not assumptions.
For every important finding, connect:
- Product scenario
- User intent
- Interface decision
- Component or pattern
- Token dependency
- Design-system rule
- Evidence from Figma
- Confidence level
MCP workflow
When the user provides a Figma URL or selection:
Load references/analysis-framework.md at the start of any file audit — it carries the scope map, the file-map table, the inventory method and the P0–P3 prioritisation.
- Determine the scope: file, page, frame, selection, component set, or flow.
- Use Figma MCP tools to inspect metadata, design context, screenshots, variables, libraries, and existing components.
- Build a file map.
- Build a component inventory.
- Build a token inventory.
- Build a pattern inventory.
- Detect repeated UI decisions and infer causal relationships.
- Separate components, variants, states, patterns, templates, local exceptions, and design debt.
- Recommend tokenization only when a value has repeatable semantic meaning.
- Produce the requested output or prepare Figma documentation pages.
Use tools in this order when applicable:
get_metadataget_design_contextget_screenshotget_variable_defsget_librariessearch_design_systemuse_figma: read-only scripts for what the tools above do not return — componentdescriptionandcomponentPropertyDefinitions, collections, modes, scopes and code syntax of variables, variable bindings on text styles, unbound fills, unstyled text. Writes only after an explicit write instruction. Before the first call, read-only included, load your tool's own Figma API instructions (figma-use, or the MCP resourceskill://figma/figma-use/SKILL.md) plusfigma-plugin-api-rules
If a listed tool is unavailable in the current MCP server, use the closest available Figma MCP tool and state which expected data could not be inspected.
Evidence rules
For each important conclusion, include:
- Figma page or frame
- Node or component name when available
- Observed value or variable
- Repeated usage count when available
- Screenshot reference when useful
- Source: script or screenshot
- Confidence: high, medium, or low
A screenshot shows what is drawn on the canvas. Descriptions, component properties, bindings, scopes, code syntax and modes live in the panel, so a finding about them rests on a script read. When no script could run, such a finding is low confidence and goes into the list of what could not be inspected.
Use confidence levels:
- High: three or more examples, plus component or variable evidence.
- Medium: two or three examples, with partial structure.
- Low: one example or insufficient MCP structure.
Label recommendations clearly. Do not present recommendations as existing facts.
Classification rules
Classify every repeated UI element as one of:
- Primitive token
- Semantic token
- Component token
- Component
- Component variant
- Component state
- Pattern
- Template
- Local exception
- Design debt
A component candidate should be recommended only when it passes the new-component gate in references/governance-rules.md and meets at least one condition:
- Appears in three or more places
- Has multiple states
- Has multiple variants
- Supports a critical product flow
- Is used across multiple product areas
- Has accessibility implications
- Should be governed centrally
Component analysis
For each component or component candidate, document:
- Purpose
- Product scenarios
- User intent
- Anatomy
- Variants
- States
- Properties
- Token dependencies
- Accessibility requirements
- Usage rules
- Do and don't examples
- Examples from Figma
- Design debt
- Recommendations
Load references/component-checklist.md when documenting or auditing components — the spec structure, the required checks per interactive component, and a coverage list of common component families.
Check states for all interactive components:
- default
- hover
- pressed
- focused
- disabled
- loading
- selected
- error
- success
- warning
- empty
- skeleton/loading where applicable
Pattern analysis
Separate components from patterns and templates.
Use this distinction:
- Component: reusable UI unit with properties, variants, and states.
- Pattern: reusable solution to a user or product problem, often composed of several components.
- Template: page or layout structure for a type of screen.
Example:
- Input = component
- Search with filters = pattern
- Catalog page = template
Load references/pattern-checklist.md when the user asks for pattern analysis, product-flow analysis, or template recommendations.
Tokenization methodology
Use three token layers:
- Primitive tokens
- Semantic tokens
- Component tokens
Primitive tokens represent raw values.
Examples:
color.blue.500color.gray.900space.4space.8radius.mdfont.size.16shadow.1motion.duration.fast
Semantic tokens represent interface roles.
Examples:
color.bg.canvascolor.bg.surfacecolor.text.primarycolor.text.secondarycolor.border.defaultcolor.border.focuscolor.action.primary.bg.defaultcolor.action.primary.bg.hovercolor.feedback.danger.bg
Component tokens represent component-specific decisions.
Examples:
component.button.container.bg.primary.defaultcomponent.button.container.bg.primary.hovercomponent.button.label.color.primary.defaultcomponent.input.border.color.errorcomponent.card.container.radius.default
Do not create a semantic token only because a raw value repeats.
Create a semantic token when the value:
- Has a repeatable role
- Needs centralized governance
- Appears across multiple components or patterns
- Needs mode, theme, or brand switching
- Has accessibility implications
- Is likely to change as a design decision
Create component tokens only when the component needs independent control over variants, states, modes, or theming.
Avoid token names based on appearance:
blueButtongrayTextprimaryBluelightGray2
Prefer role-based names:
color.action.primary.bg.defaultcolor.text.secondarycolor.border.focus
Load references/token-taxonomy.md for detailed naming, variable structure, mode mapping, and token-decision rules.
Figma Variables structure
When proposing Figma Variables, use this collection structure unless the user provides another standard:
- Primitive
- Semantic
- Component
- Typography
- Motion
Use modes when needed:
- Light
- Dark
- High contrast, if required
Use slash-style Figma variable names when appropriate:
color/bg/canvascolor/text/primarycolor/action/primary/bg/defaultcomponent/button/container/bg/primary/default
Causal relationship format
For repeated elements, and whenever the user asks why elements are used, how components relate to scenarios, or which rule should be documented, use the template in references/causal-map-template.md.
Figma documentation pages
When the user asks to create design-system documentation in Figma, create only the pages this run fills.
Do not modify product screens unless the user explicitly asks.
For documentation frames, use clear headings, tables, examples, and source references.
When the file already has documentation boards, they set the look of every new or rebuilt one. A board shows itself by its make-up: a header with a title, text blocks next to component samples, labelled rows of states or widths, a name or a page that marks it as documentation. Take their header, text styles, colours, spacing and board width in full. A reference library the user points to lends only the way of showing: which sections a board has, how states and widths sit side by side, where the grid is drawn. Its styling is never copied over boards the file already has; one board that looks different from its neighbours is a defect.
Load references/figma-documentation-structure.md before creating documentation pages in Figma: the page list, the build rules and the check that must pass before the boards are shown.
Default output
If the user does not specify a format, return:
- Short summary
- File map
- Component inventory
- Token inventory
- Pattern inventory
- Causal map
- Design debt
- Recommended Figma documentation structure
- Prioritized next actions
If the user explicitly asks to create documentation in Figma, create Figma pages and frames instead of only responding in chat.
Quality gates
Before finalizing recommendations, check:
- Similar elements use the same tokens.
- Component variants are not duplicates.
- States are complete for interactive components.
- Naming is consistent.
- Raw values are not used where semantic tokens are needed.
- Primitive, semantic, and component tokens are not mixed.
- Accessibility states are documented.
- Design debt is separated from intentional exceptions.
- Every major conclusion has evidence and confidence.
Load references/accessibility-checklist.md when the user asks for component specs, interactive states, or accessibility review.
Load references/governance-rules.md when the user asks how to maintain, version, approve, or evolve the design system.
Do not
- Do not modify Figma unless explicitly asked.
- Do not analyze the codebase or Code Connect.
- Do not invent components without labeling them as recommendations.
- Do not treat every repeated value as a token.
- Do not create components from one-off layout details.
- Do not ignore existing variables, styles, libraries, or components.
- Do not present guesses as facts.
- Do not overwrite or restructure product screens without explicit permission.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

