Install
$ agentstack add skill-ikusmart-claude-figma-skills-figma-rules ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Create Design System Rules
Self-Documentation
When invoked WITHOUT clear input:
- Display the Quick Help block below
- Ask the user if they want to generate rules for the current project
When invoked WITH clear intent — skip help and proceed to Step 1.
Quick Help
What I do: Generate a project-specific rules document that teaches AI agents how to correctly translate Figma designs into code for YOUR project. Encodes "unwritten knowledge" — component organization, token mapping, styling conventions.
Example prompts:
Create design system rules for this projectGenerate Figma implementation rulesSet up design rules so /figma-implement uses our conventions
Prerequisites:
- Figma MCP server configured. Run
/figma-setupif not configured. - An existing project with components, styling, and conventions to encode.
What you get:
- A rules document saved to
.claude/rules/figma-design-system.md - Rules cover: component organization, implementation flow, token mapping, reuse patterns
- All future
/figma-implementcalls will follow these rules automatically
Step 1: Analyze Project
Scan the current project to understand its structure:
- Framework: React, Vue, Svelte, Angular, etc.
- Component directories: where UI components live (e.g.,
src/components/ui/) - Styling: Tailwind, CSS Modules, styled-components, SCSS, design tokens
- Token system: color variables, spacing, typography definitions
- Naming conventions: PascalCase components, kebab-case files, etc.
- Existing patterns: how components are structured, exported, tested
Step 2: Call MCP
Call create_design_system_rules with the detected frameworks and languages:
create_design_system_rules(
clientFrameworks: "react,tailwind", // detected frameworks
clientLanguages: "typescript,css" // detected languages
)
This returns a base set of rules from Figma.
Step 3: Customize Rules
Merge MCP output with project-specific conventions discovered in Step 1:
- Map Figma color tokens → project CSS variables or Tailwind config
- Map Figma spacing → project spacing scale
- Map Figma typography → project font definitions
- Define component reuse rules (which project components map to Figma components)
- Define file placement rules (where new components should be created)
Step 4: Save Rules
Write the generated rules to .claude/rules/figma-design-system.md.
Example structure (the agent will generate project-specific content):
# Figma Design System Rules
## Component Organization
- Where UI components live, naming patterns
## Token Mapping
| Figma Token | Project Token |
|-------------|---------------|
| Primary/500 | --color-primary |
## Styling Rules
- Framework-specific conventions
Important: Rules saved to .claude/rules/ are auto-loaded for ALL sessions in this project. The /figma-implement skill will use these rules as primary context, skipping redundant project analysis.
Step 5: Report
Tell the user:
- Where the rules file was saved
- What conventions were encoded
- How it affects future
/figma-implementcalls (rules are auto-loaded by Claude Code) - Suggest running
/figma-implementto test the rules on a real design
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ikusmart
- Source: ikusmart/claude.figma.skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.