Skip to content
cccskills
FreePublished on GitHub

figma-tokens

Extract Figma design tokens and generate consumable formats: CSS variables, Tailwind config, JSON, Style Dictionary, Swift, Flutter.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)
Works withFigma

Run score Not tested

See how to install

Files included (1)

  • SKILL.md2.4 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Figma Tokens → Code

Extrae tokens desde Figma y los convierte a formatos usables por el stack.

Fuentes en Figma

FuenteAPINotas
Variables (moderna, preferida)GET /v1/files/$KEY/variables/localPrimitives, aliases, modes (light/dark)
Styles (legacy)GET /v1/files/$KEY/stylesColor, text, effect styles

Token Categories

CategoryStructure
ColorsNested by scale: color.primary.500: "#3B82F6"
TypographyComposite: fontFamily, fontWeight, fontSize, lineHeight, letterSpacing
SpacingScale: 1: 4px, 2: 8px, 3: 12px, 4: 16px, 6: 24px, 8: 32px
Border radiussm: 4px, md: 8px, lg: 12px, full: 9999px
ShadowsCSS shadow strings: 0 4px 6px rgba(0,0,0,0.1)

Output Formats

FormatTargetNaming
CSS Variables:root { --color-primary-500: ... } + [data-theme="dark"]kebab-case
Tailwind Configtheme.extend.colors/spacing/borderRadius/boxShadownested dot
Style DictionaryMulti-platform (iOS Swift, Android XML, Web CSS)per-platform
SwiftUIextension Color { static let primary500 = ... }camelCase
Flutter (Dart)class AppColors { static const primary500 = Color(0xFF...) }camelCase

Comando

/figma-tokens <figma_url> [--output css|tailwind|json|style-dictionary|swift|flutter]

Flujo: pedir formato (default: Tailwind web, JSON multi-platform) → extraer variables → categorizar → generar output → preguntar ubicación (Next.js→tailwind.config.ts, Vue→src/styles/tokens.css, Swift→Sources/DesignSystem/Tokens.swift, Flutter→lib/design/tokens.dart).

Naming Conventions

Figma Primary/500 → primary-500. Convertir: CSS kebab-case (--color-primary-500), Tailwind nested (primary.500), Swift camelCase (primary500).

Reglas

  • Preservar modes (light/dark) si existen en Figma
  • Aliases semánticos > primitives: exportar ambos, priorizar aliases en uso
  • Validar coherencia: alias sin valor → flaggear
  • Versionar tokens: git commit cada regeneración

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill