.claude/skills/gen-figma/SKILL.md
Generate a React component from a single Figma design link using Figma MCP. Use when asked to build a component from Figma, convert Figma to code, or implement a design.
npx skillsauth add hadat112/BASE-AI-FE-Template gen-figmaInstall 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.
Generate a React component based on a Figma design link using Figma MCP.
background, border, text, etc.) defined in tailwind.config.js.tailwind.config.js (e.g., text-display-lg, text-heading-md, text-body-sm, etc.) for typography styling.src/components/ui directory.src/components/ui wherever possible to maintain consistency.src/components/icons folder.import { GoogleIcon, MailIcon } from "@/components/icons";).src/components/icons folder, then run:
node scripts/update-icons.js && node scripts/generate-icons.js
update-icons.js: normalizes SVGs (width/height → 1em, single-color fill/stroke → currentColor)generate-icons.js: auto-generates index.tsx barrel exports from all .svg filessrc/components/icons/index.tsx — always use the script.components/[category]/[ComponentName].tsx).development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
tools
Add responsive support to an existing component. Use when asked to make a component responsive, add mobile/tablet support, or adapt layout for different screen sizes.
tools
Generate React components from multiple Figma design links sequentially using Figma MCP. Use when given a list of Figma links to convert to components.