source-command-gravity-tokens

Apply Gravity design system tokens to Figma screens via component linking and variable binding.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/codesour-design/gravity --skill source-command-gravity-tokens
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: source-command-gravity-tokens
Source: https://github.com/codesour-design/gravity/tree/main/.agents/skills/source-command-gravity-tokens
Command: npx skills add https://github.com/codesour-design/gravity --skill source-command-gravity-tokens

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the inconsistency of manually applying design system tokens when translating prototypes into Figma screens by automating Gravity component, typography, color, and spacing alignment.

Core Features & Use Cases

  • Design Token Application: Applies Gravity design system components, text styles, color variables, and spacing variables to Figma screens.
  • Figma Prototype Migration Support: Guides HTML-to-Figma transposition workflows by ensuring screens are connected to the correct design system resources.
  • Validation Workflow: Verifies applied changes through metadata checks and screenshots of sections and completed frames.

Quick Start

Use the source-command-gravity-tokens skill to apply Gravity design system tokens to the provided Figma screen URL or file key and node ID.

Frequently Asked Questions about source-command-gravity-tokens

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

FAQPage Schema
How do I apply design system tokens to Figma screens automatically?

To apply design system tokens to Figma screens, you need a workflow that connects components, typography, colors, and spacing to reusable variables. This process inspects Figma metadata and binds design tokens to ensure consistent design system adoption across migrated frames.

What is the best way to migrate an HTML prototype into a Figma design system?

Migrating an HTML prototype to a Figma design system requires transposing the HTML structure and linking it to existing design resources. This involves mapping text styles, binding variables, and validating the final frames through screenshots to ensure complete token application.

How do you map typography and color variables in Figma?

Mapping typography and color variables in Figma involves inspecting frame metadata and linking text nodes to predefined text styles and color variables. This ensures all elements conform to the target design system's reusable resources through automated variable binding.

Can I validate design token application in Figma without manual checks?

Validating design token application in Figma can be automated by inspecting metadata and capturing screenshots of sections and completed frames. This workflow verifies that components, colors, and spacing variables are correctly bound to the design system resources.

Does Gravity design system token application work with existing Figma components?

Gravity design system token application works with existing Figma components by connecting them to reusable design resources. It requires a Figma screen URL or file key and node ID to inspect metadata and bind typography, color, and spacing variables accurately.