agentleFS
QredenceQredence/skills/skills/figma-agent/follow-ds-guidelines/SKILL.md

follow-ds-guidelines

Skill3 starsChanged 9 months agoMITView on GitHub

Audits a selected frame, screen, or file against the team's published design system (components, styles, and variables) and flags every deviation with a suggested fix. Use when a design needs to conform to existing design system rules before review or handoff. Does not create new components -- use component-audit or legacy-styles-to-variables for that.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 17 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    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
  1. Distinctive:

    Check a design against the team's design system and flag anything that does not use approved components, styles, or variables.

    line 9
  2. Distinctive:

    Default scope is the current selection.

    line 15
  3. Distinctive:

    Use visible Figma design-file context first: frames, components, instances, variables, styles, layers, prototype settings, comments, …

    line 16
  4. Distinctive:

    Use connector or code context only when the user provides it or it is available in the session.

    line 17
  5. Distinctive:

    Ask at most two targeted questions, and only when the missing answer would materially change the result.

    line 18
  6. Distinctive:

    Before sending a file for design review

    line 21
  7. Distinctive:

    After a large exploration pass full of ad hoc shapes and colors

    line 23
  8. Distinctive:

    If an input is missing but can be inferred safely from the selection, proceed and label the assumption.

    line 28
  9. Distinctive:

    Start from the selected frame, component, section, or comment thread.

    line 31
  10. Distinctive:

    Do the useful first pass without waiting for perfect context.

    line 32
  11. Distinctive:

    Prefer in-file evidence over generic best practices.

    line 33
  12. Distinctive:

    Ask before applying destructive changes (detaching instances, deleting layers).

    line 46
  13. Distinctive:

    Keep the task within this skill.

    line 49
  14. Distinctive:

    Do not claim access to private libraries, admin settings, analytics, plugin state, or code unless that context is actually available.

    line 52
  15. Distinctive:

    Never invent a new style or variable name that does not exist in the library -- flag the gap instead and suggest it be added to the library.

    line 56
  16. Distinctive:

    Do not flag intentional one-offs called out in a layer's name or a nearby annotation (e.g.

    line 57
  17. Distinctive:

    Start with a 3-line summary: scope reviewed, blocker count, and highest-risk issue.

    line 66

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Follow DS Guidelines

Purpose

Check a design against the team's design system and flag anything that does not use approved components, styles, or variables.

Operating Role

Act as a Figma design-file reviewer for this specific skill. Inspect the current selection first, give evidence-backed findings, and avoid broad redesign unless the user asks for fixes.

Supported Context

  • Default scope is the current selection. If nothing is selected, use the current page only for review/reporting tasks; ask before file-wide edits.
  • Use visible Figma design-file context first: frames, components, instances, variables, styles, layers, prototype settings, comments, sections, and annotations.
  • Use connector or code context only when the user provides it or it is available in the session. Mark anything based on missing context as an assumption.
  • Ask at most two targeted questions, and only when the missing answer would materially change the result. Otherwise proceed with stated assumptions.

Activation Boundary

  • Before sending a file for design review
  • Before dev handoff
  • After a large exploration pass full of ad hoc shapes and colors

Required Inputs

  • Which library/libraries are the source of truth (ask if more than one is enabled)
  • The specific frame(s), page, or selection to audit -- default to the current selection, or the current page if nothing is selected
  • If an input is missing but can be inferred safely from the selection, proceed and label the assumption.

Fast Defaults

  • Start from the selected frame, component, section, or comment thread. If the user named a scope, use that instead of scanning the whole file.
  • Do the useful first pass without waiting for perfect context. State assumptions briefly and keep moving when the risk is low.
  • Prefer in-file evidence over generic best practices. Name exact layers, frames, variables, styles, or interactions whenever possible.
  • Prioritize actual system violations over cosmetic preferences. Use the current library names and variables exactly as they exist.

Workflow

  1. Identify the enabled libraries for the file and note their published components, color/text/effect styles, and variable collections.
  2. Walk every layer in the selected scope. For each layer, check:
    • Colors: is the fill/stroke a bound variable or shared style, or a raw hex/RGBA value?
    • Typography: is text using a shared text style, or manually set font/size/line-height?
    • Spacing: does auto layout padding/gap use spacing variables, or hardcoded pixel values?
    • Components: could this group of layers be replaced by an existing component or variant instead of custom-drawn layers?
    • Corner radius / effects: do they match a published style/variable, or a one-off value?
  3. Group findings by severity: "Must fix" (visibly off-brand or inconsistent), "Should fix" (raw value that happens to match a token), "Consider" (an existing component could simplify this pattern).
  4. Propose the fix for each finding: which style, variable, or component instance to swap in.
  5. Ask before applying destructive changes (detaching instances, deleting layers). Apply straightforward token/style swaps directly if asked to fix; otherwise just report.

Figma Execution Limits

  • Keep the task within this skill. If adjacent work is needed, name it as a follow-up instead of expanding scope silently.
  • For report-only prompts, do not alter the file. For fix/apply prompts, make only scoped, reversible edits unless the user approves broader changes.
  • For bulk changes, preview the rule and affected count before applying. Skip ambiguous layers, components, variables, or copy instead of guessing.
  • Do not claim access to private libraries, admin settings, analytics, plugin state, or code unless that context is actually available.
  • Preserve intentional exceptions that are labeled, annotated, or explained by the user.

Guardrails

  • Never invent a new style or variable name that does not exist in the library -- flag the gap instead and suggest it be added to the library.
  • Do not flag intentional one-offs called out in a layer's name or a nearby annotation (e.g. "custom - marketing exception").

Completion Criteria

  • The result is immediately usable in the Figma design file or as a handoff artifact from that file.
  • The output preserves the user's intent, source content, existing components, and design-system conventions.
  • Assumptions, skipped items, and tradeoffs are visible and short.
  • The final response states what changed or was produced, what remains unresolved, and where to review it in the file.

Output Contract

Start with a 3-line summary: scope reviewed, blocker count, and highest-risk issue. Then provide grouped findings with location, severity, evidence, and exact fix. End with skipped or unverified areas.

  • Skill-specific format: A grouped checklist (Must fix / Should fix / Consider) with a one-line description and suggested fix per item, plus a short summary count at the top.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.