figma-handoff
Skill0 starsChanged 13 days agoMITView on GitHub
Turn a Figma file into the Payload CMS frontend. Use when the brief includes a Figma link, a frame, or a design handoff, before bootstrap or before changing an existing Next.js layout. Maps frames to locale routes, writes tokens into the existing Tailwind theme, and stops instead of inventing screens.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- jara-r-k/claude-code-skillstheir own version, first seen Sep 27, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- jara-r-k/claude-code-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-guardrailsSkill
- creative-frontendSkill
- payload-admin-brandingSkill
- payload-auth-rbacSkill
- payload-bookings-paymentsSkill
- payload-bootstrapSkill
- payload-deploy-vercelSkill
- payload-forms-crmSkill
- payload-integrationsSkill
- payload-legal-trustSkill
- payload-live-previewSkill
- payload-localizationSkill
- payload-mcpSkill
- payload-mediaSkill
- payload-performanceSkill
- payload-project-kickoffSkill
- payload-seo-geoSkill
- payload-testingSkill
- project-architectureSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 3 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read PROJECT.md. Under ## Design, set Figma file to the URL the client gave.
- Distinctive: line 21
Use the Figma tools available in this session (a file session, then the frame's layout and text).
- Distinctive: line 23
If no Figma tool is available, stop.
- Very specific: line 25
Write a frame map in PROJECT.md under ## Design before editing React.
- Very specific: line 29
Follow the project-architecture skill first.
- Very specific: line 40
If the app is not Next.js yet, stop after the frame map and follow scenario C in the payload-project-kickoff skill.
- Very specific: line 44
Read colors, type, radius, and spacing from the variables or from the frame, and write the hex values and font names into PROJECT.md.
- Very specific: line 46
Put them in the Tailwind theme the project already uses (src/app/(frontend)/globals.css or the file the architecture skill names).
- Distinctive: line 53
Use the frame's text. Do not rewrite headlines.
- Very specific: line 55
If a locale is RTL, the localized layout sets dir.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Figma handoff
Build the screens that exist in the file. Do not invent pages, sections, or copy to fill gaps.
Step 1: Record the file
- Load the
agent-guardrailsskill. - Read
PROJECT.md. Under## Design, setFigma fileto the URL the client gave. If there is no URL, stop and ask. Do not search the web for a similar design. - From a
figma.com/design/<fileKey>/...URL, keepfileKey. If the URL hasnode-id, convert-to:and keep that node. A branch URL uses the branch key as the file key.
Step 2: Read the frames
Use the Figma tools available in this session (a file session, then the frame's layout and text). Read the frames the brief names. If the brief names none, read the pages marked for the website, not the cover or the archive.
If no Figma tool is available, stop. Ask the client for the frames or for a Dev Mode export. Do not rebuild the site from a screenshot description you were not given.
Write a frame map in PROJECT.md under ## Design before editing React. Columns: frame name, route, locale, notes. The route pattern is in references/frame-map.md.
Step 3: Put the frontend in the standard folders
Follow the project-architecture skill first.
| What you found | Where it goes |
| A page frame | src/app/(frontend)/[locale]/... |
| A repeating section | src/components/sections/<Name>.tsx |
| A small control used on more than one page | src/components/ui/<Name>.tsx |
| Brand SVG | public/brand/ |
Pages compose sections. Do not paste a whole frame into page.tsx.
If the app is not Next.js yet, stop after the frame map and follow scenario C in the payload-project-kickoff skill. Do not start a second frontend.
Step 4: Tokens go in the theme that already exists
Read colors, type, radius, and spacing from the variables or from the frame, and write the hex values and font names into PROJECT.md.
Put them in the Tailwind theme the project already uses (src/app/(frontend)/globals.css or the file the architecture skill names). Do not add a second theme, a second CSS framework, or a shadcn preset as the base design system.
The shadcn CLI may fetch one named registry component only when PROJECT.md lists that exact component. That fetch is the creative-frontend skill, not this one.
Step 5: Match the frame, then stop
- Implement one frame at a time, in the order of the map.
- Use the frame's text. Do not rewrite headlines.
- Images in the file are placeholders until the client supplies files. Use the
payload-mediaskill for real images. Do not hotlink Figma URLs from the website. - If a locale is RTL, the localized layout sets
dir. Do not hardcode a left-to-right page for Arabic. - Desktop and the narrow frame, when the file has one. If the file has no narrow frame, stop and ask before inventing a mobile layout.
Motion, 3D, or a copied component waits for the creative-frontend skill. A static section that matches the frame is enough for this skill.
Stop and ask
- The Figma URL is missing, or the tools cannot open the file.
- A frame has no route in the brief.
- The file contradicts
PROJECT.md(an extra language, a payment step, a page the brief does not mention). - You would need a paid Figma plan or a paid component to match the frame.
Done when
PROJECT.mdhas the file URL, the hex colors, the font names, and the frame map- Every implemented route is a row in that map
- No route exists that the map does not list
- Tokens live in the existing theme file
- The next skill is named:
payload-bootstrapfor a new site, or the feature skill for a site that already has Payload
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

