Skip to main content

Figma Guidance Rule

For any Figma-driven implementation, follow the shared reference guidance in .agents/references/coding-standard/figma-guidance.md

Source: .agents/rules/clean-figma.mdc

Metadata

  • name: clean-figma
  • alwaysApply: true

Content

Figma Guidance Rule

  • For any request involving Figma URLs, node IDs, screenshots, or design-spec implementation, follow:
    • references/coding-standard/figma-guidance.md
  • Treat that reference as the single source of truth for:
    • MCP usage requirements
    • Spacing/padding/sizing fidelity
    • Typography token mapping
    • Color/token mapping
    • Layout/copy fidelity rules
    • Behavior preservation requirements for design-only changes
  • A visual design update must not silently change existing business logic, eligibility logic, pricing/trial behavior, API contracts, routing, tracking, validation, or permission behavior unless the user request, product spec, or Figma annotation explicitly calls for that behavior change.