بنقرة واحدة
figma-to-code
Translate Figma designs or UI specs into React + Tailwind components
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Translate Figma designs or UI specs into React + Tailwind components
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | figma-to-code |
| description | Translate Figma designs or UI specs into React + Tailwind components |
| user-invocable | true |
Translate a Figma design or written UI spec into production-ready React + Tailwind components. Acts as the UI/UX Designer → Frontend Engineer handoff step.
Reference: Read
.claude/references/ui-feedback.mdbefore starting — it covers the agentation workflow for visual corrections.
Use this skill when:
Accept one of:
Extract:
p-4, gap-3, w-full, etc.)bg-primary, text-muted-foreground, etc.)text-sm font-medium, text-2xl font-bold, etc.)Always use CSS variable-based tokens (shadcn theme), not hardcoded colors:
| Design intention | Tailwind class |
|---|---|
| Primary action | bg-primary text-primary-foreground |
| Secondary/muted | bg-secondary text-secondary-foreground |
| Destructive | bg-destructive text-destructive-foreground |
| Card surface | bg-card text-card-foreground |
| Muted text | text-muted-foreground |
| Border | border border-input |
| Background | bg-background |
Dark mode: every color class must have a dark: counterpart if not using CSS variables.
Follow project conventions:
export function MyComponent(...)interface MyComponentProps { ... }Card, Button, Input, Dialog) as basemin-h-11 min-w-11md: and lg: breakpointsEvery new component must pass:
aria-label or visible text)role="status" and aria-labelalt text<label> or aria-labelaria-describedbyAny text input where the user types Danish must include virtual keys:
import { DanishInput } from '@/components/ui/DanishInput'
<DanishInput
value={answer}
onChange={setAnswer}
onSubmit={handleSubmit}
placeholder="Skriv svaret her..."
/>
Produce:
src/components/src/components/ui/ first)Manage the project backlog — add, list, filter, update, prioritize, and suggest work items
Daily session wrapper — start with backlog, work, commit, retro
End-of-session retrospective — summarize work, update backlog statuses, update MEMORY.md
Commit, branch, PR, self-review, fix — then stop for human approval before merge
Pre-flight for parallel work — pick items, check file overlap, set statuses, generate terminal commands
Manage project backlog — add, list, filter, update, prioritize, suggest