src/orchestrator/plugins/figma/SKILL.md
Figma design-to-code workflows, design token extraction, component inspection, and asset export. Use when translating Figma designs into code, extracting design tokens, or referencing component specs.
npx skillsauth add monkilabs/opencastle figma-designInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
For project-specific design system details, see the frontend-design skill.
| Tool | Purpose |
|------|---------|
| figma/get_file | Retrieve full Figma file structure |
| figma/get_file_nodes | Get specific nodes/frames |
| figma/get_images | Export nodes as images |
| figma/get_comments | Read design review comments |
| figma/get_styles | Extract color/text/effect styles |
| figma/get_components | List reusable components |
// figma/get_file — full file structure
{ "file_key": "a1b2C3d4E5", "depth": 2 }
// figma/get_file_nodes — specific frames
{ "file_key": "a1b2C3d4E5", "node_ids": ["123:45"] }
// figma/get_images — export as PNG at 2x
{ "file_key": "a1b2C3d4E5", "ids": ["123:45"], "format": "png", "scale": 2 }
figma/get_file_nodes for the target node IDs and extract bounding boxes, fills, text styles, and auto-layout info.src/styles/tokens.css or a token JSON.data-testid for programmatic verification.// src/components/ui/Card.tsx — consumes tokens, matches Figma layout
import '../styles/tokens.css';
interface CardProps { title: string; description?: string }
export function Card({ title, description }: CardProps) {
return (
<div data-testid="card" className="card">
<span className="card-title">{title}</span>
{description && <p>{description}</p>}
</div>
);
}
See REFERENCE.md for a verification script and Figma→CSS translation rules.
development
Defines 10 sequential validation gates: secret scanning, lint/test/build checks, blast radius analysis, dependency auditing, browser testing, cache management, regression checks, smoke tests. Use when running pre-deploy validation or CI checks, CI/CD pipelines, deployment pipeline validation, pre-merge checks, continuous integration, or pull request validation.
development
Generates test plans, writes unit/integration/E2E test files, identifies coverage gaps, flags common testing anti-patterns. Use when writing tests, creating test suites, planning test strategies, mocking dependencies, measuring code coverage, or test planning.
development
Provides model routing rules, validates delegation prerequisites, supplies cost tracking templates, defines dead-letter queue formats for Team Lead orchestration. Load when assigning tasks to agents, choosing model tiers, starting delegation session, running multi-agent workflow, delegating work, choosing which model to use, or assigning tasks.
testing
Saves, restores session state including task progress, file changes, delegation history. Use when saving progress, resuming interrupted work, picking up where you left off, or checkpointing current work.