figma-enforcer

Compare Figma designs with production code to identify UI discrepancies.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/sevenbelowllc/sevenbelow-resources --skill figma-enforcer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: figma-enforcer
Source: https://github.com/sevenbelowllc/sevenbelow-resources/tree/main/claude-setups/compliance-os-project-v1/global/.claude/skills/figma-enforcer
Command: npx skills add https://github.com/sevenbelowllc/sevenbelow-resources --skill figma-enforcer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents UI inconsistencies and layout invention by mandating the use of Figma as the single source of truth for all UI development, ensuring visual fidelity and adherence to design specifications.

Core Features & Use Cases

  • Mandatory Figma Source Reading: Enforces reading Figma AI source files before any UI code changes.
  • Gap Identification: Requires a structured list of discrepancies between Figma and production code.
  • Visual Authority: Establishes Figma as the definitive source for layout, components, and visual elements.
  • Use Case: When a developer starts working on a new dashboard component, this skill automatically prompts them to review the corresponding Figma design file, compare it with the existing code, and document any differences before writing new code.

Quick Start

Use the figma-enforcer skill to ensure the 'activityRuns' component in the UI matches its Figma source definition.

Frequently Asked Questions about figma-enforcer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce Figma design adherence for frontend development?

To enforce Figma design adherence, the system mandates reading Figma source files before any UI code changes. It automates comparing Figma designs with production code to identify layout discrepancies, preventing unapproved visual changes and ensuring strict fidelity.

How do I stop developers from inventing UI layouts not in the design system?

To stop developers from inventing UI layouts, you must establish Figma as the single source of truth. This enforcement requires a strict protocol for UI component creation, comparing production code against Figma files to document and resolve discrepancies before writing code.

What is the best way to compare Figma designs with production code?

The best way to compare Figma designs with production code is to automate the identification of layout and component discrepancies. This process requires a structured list of differences, ensuring visual authority remains with the Figma source files during UI development.

Can I require a Figma source review before modifying existing UI components?

Yes, you can require a mandatory Figma source review before modifying existing UI components. This enforcement establishes visual authority by automatically prompting developers to review Figma files, compare them with existing code, and document differences before writing new code.

Why does my frontend UI not match the Figma design after coding?

Your frontend UI might not match the Figma design because layout discrepancies were not identified before coding. Enforcing strict protocol adherence and generating a structured list of differences between Figma and production code prevents unapproved visual changes.

Does enforcing Figma as a single source of truth work for planning phases?

Yes, enforcing Figma as a single source of truth works for planning phases. The protocol requires strict adherence during UI component creation, modification, and planning, ensuring visual fidelity and preventing unapproved visual changes before development begins.