[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C4YMV79JY76B10FKAQ1JKX":3,"skill-same:01M7C4YMV79JY76B10FKAQ1JKX":78},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":14,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7C4YMV79JY76B10FKAQ1JKX","figma-loop",null,"Figma-to-code pixel verification loop. Triggers: Figma designs, pixel perfect, design verification.","EtanHey\u002Fgolems","EtanHey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93338119?v=4","01M7C4SKC9HJC3B9TAX0D9MZ1E","Etan Heyman","01M7C4SKCT59Z49TTN4WWDDEYD",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: figma-loop\ndescription: \"Figma-to-code pixel verification loop. Triggers: Figma designs, pixel perfect, design verification.\"\npaths:\n  - \"**\u002F*.tsx\"\n  - \"**\u002F*.jsx\"\n  - \"**\u002F*.css\"\n  - \"**\u002F*.scss\"\n---\n\n# Figma Loop - Iterative Design Verification\n\n> Drill on Figma designs until pixel-perfect. Compare screenshots, fix one thing at a time, repeat until 3 consecutive checks pass with no changes needed.\n\n## When to Use\n\n- Implementing UI from Figma designs\n- Refining existing UI to match Figma\n- Verifying a component matches its design spec\n- User says \"make it match Figma\" or \"pixel-perfect\"\n\n## Prerequisites\n\n**At least one of these Figma MCP tools must be available:**\n\n| Tool | When Available |\n|------|---------------|\n| `mcp__figma__get_screenshot` | Figma desktop app is open |\n| `mcp__figma-remote__get_screenshot` | Always (uses API with fileKey) |\n\n**Plus browser automation for implementation screenshots** (close the tabs you opened when the loop ends; see the last step):\n\n| Tool | Purpose |\n|------|---------|\n| `mcp__claude-in-chrome__computer` | Screenshot of running app |\n| `mcp__claude-in-chrome__navigate` | Navigate to the right page |\n| `mcp__claude-in-chrome__resize_window` | Match Figma viewport size |\n\n**Or for React Native:**\n\n| Tool | Purpose |\n|------|---------|\n| Simulator screenshot | `xcrun simctl io booted screenshot \u002Ftmp\u002Fscreen.png` |\n| Device build | `npx expo run:ios --device` |\n\n---\n\n## CLI Helper\n\nTrack iteration progress with `check.sh`:\n\n```bash\nSCRIPT=\"$HOME\u002F.claude\u002Fskills\u002Ffigma-loop\u002Fscripts\u002Fcheck.sh\"\n\n$SCRIPT init \"WelcomeScreen\" \"95:72\"   # Start session\n$SCRIPT pass                            # Record passing check (increments counter)\n$SCRIPT fail \"spacing off by 8px\"       # Record fail (resets counter to 0)\n$SCRIPT status                          # Show progress (X\u002F3 passes)\n```\n\n---\n\n## Quick Actions\n\n| What you want to do | Workflow |\n|---------------------|----------|\n| Full iteration loop (start to finish) | [workflows\u002Fiterate.md](workflows\u002Fiterate.md) |\n| Set up tracking file | [workflows\u002Fsetup.md](workflows\u002Fsetup.md) |\n| Just do a single comparison check | [workflows\u002Fcheck.md](workflows\u002Fcheck.md) |\n\n---\n\n## The 3-Check Rule\n\nA component is only \"done\" when **3 consecutive checks pass with zero changes needed**.\n\n```\nCheck 1: Fix spacing  → FAIL (made change) → counter resets to 0\nCheck 2: Fix color    → FAIL (made change) → counter resets to 0\nCheck 3: All good     → PASS → counter = 1\nCheck 4: All good     → PASS → counter = 2\nCheck 5: All good     → PASS → counter = 3 → DONE\n```\n\n**Why 3?** One pass could be lucky. Two could miss something. Three consecutive passes with fresh eyes each time gives confidence.\n\n---\n\n## Check Criteria\n\nFor each element, verify ALL of these:\n\n| Category | What to Check |\n|----------|--------------|\n| **Position** | Top, left, right, bottom, center alignment |\n| **Size** | Width, height, padding, margin |\n| **Colors** | Background, text, border, shadow |\n| **Typography** | Font size, weight, line height, letter spacing |\n| **Spacing** | Gaps between elements, internal padding |\n| **Order** | RTL consideration (first in DOM = RIGHT visually) |\n| **Icons** | Which icon, size, color, position relative to text |\n| **States** | Default, hover, pressed, disabled, focused |\n| **Radius** | Border radius on all corners |\n\n---\n\n## Common Figma-to-Tailwind Mappings\n\n```\ngap-[16px] → gap-4\np-[8px]    → p-2\np-[12px]   → p-3\np-[16px]   → p-4\np-[24px]   → p-6\n\nrounded-[8px]  → rounded-lg\nrounded-[12px] → rounded-xl\nrounded-[16px] → rounded-2xl\nrounded-[24px] → rounded-3xl\n\ntext-[14px] → text-sm\ntext-[16px] → text-base\ntext-[18px] → text-lg\ntext-[20px] → text-xl\ntext-[24px] → text-2xl\ntext-[28px] → text-3xl\n```\n\n---\n\n## RTL Quick Reference for Figma\n\n| Visual Position (RTL) | DOM Order | Tailwind |\n|----------------------|-----------|----------|\n| RIGHT | First | `items-start`, `justify-start` |\n| LEFT | Last | `items-end`, `justify-end` |\n\n**Button icons in RTL:**\n```tsx\n\u002F\u002F Icon on LEFT visually (after text in RTL)\n\u003CButton rightIcon={\u003CPhone \u002F>}>Call\u003C\u002FButton>\n\n\u002F\u002F Icon on RIGHT visually (before text in RTL)\n\u003CButton leftIcon={\u003CPhone \u002F>}>Call\u003C\u002FButton>\n```\n\n---\n\n## Anti-Patterns\n\n| Don't | Do Instead |\n|-------|------------|\n| Fix 5 things at once | Fix ONE thing, re-screenshot, verify |\n| Skip checks when \"it looks close\" | Always do formal screenshot comparison |\n| Hardcode pixel values | Use Tailwind scale or CSS vars |\n| Ignore RTL | Verify element order matches RTL expectations |\n| Guess colors | Use exact hex from Figma design context |\n| Stop after 1 passing check | Need 3 CONSECUTIVE passes |\n\n## When done\n\n**When you're done, close the browser you opened** (Etan, 2026-11-01: no background reaper; the skill closes it). Close your own tabs and quit any browser you started: agent browser → `page.close()` then `agent-browser release \u003Clease>`; a headless or Playwright browser → `browser.close()`; T3 preview → `t3_preview_close`; a cmux browser pane → `close_surface`; a temporary browser profile → quit that instance. Never leave a window open on Etan's screen.\n\n**Shut down any simulator or emulator you booted** (Etan, 2026-11-02, via orc, on a leftover iOS Simulator: \"just like the chrome beta but much worse\"). T3 device tools → `device_close` with `shutdown: true` for the device you opened (the default only removes it from the panel); iOS → `xcrun simctl shutdown \u003Cudid>` for the device you booted (check with `xcrun simctl list devices booted`); Android → `adb -s \u003Cyour emulator serial> emu kill` (find it with `adb devices`). Leave a simulator you found already running alone.\n","# Figma Loop - Iterative Design Verification\n\n> Drill on Figma designs until pixel-perfect. Compare screenshots, fix one thing at a time, repeat until 3 consecutive checks pass with no changes needed.\n\n## When to Use\n\n- Implementing UI from Figma designs\n- Refining existing UI to match Figma\n- Verifying a component matches its design spec\n- User says \"make it match Figma\" or \"pixel-perfect\"\n\n## Prerequisites\n\n**At least one of these Figma MCP tools must be available:**\n\n| Tool | When Available |\n|------|---------------|\n| `mcp__figma__get_screenshot` | Figma desktop app is open |\n| `mcp__figma-remote__get_screenshot` | Always (uses API with fileKey) |\n\n**Plus browser automation for implementation screenshots** (close the tabs you opened when the loop ends; see the last step):\n\n| Tool | Purpose |\n|------|---------|\n| `mcp__claude-in-chrome__computer` | Screenshot of running app |\n| `mcp__claude-in-chrome__navigate` | Navigate to the right page |\n| `mcp__claude-in-chrome__resize_window` | Match Figma viewport size |\n\n**Or for React Native:**\n\n| Tool | Purpose |\n|------|---------|\n| Simulator screenshot | `xcrun simctl io booted screenshot \u002Ftmp\u002Fscreen.png` |\n| Device build | `npx expo run:ios --device` |\n\n---\n\n## CLI Helper\n\nTrack iteration progress with `check.sh`:\n\n```bash\nSCRIPT=\"$HOME\u002F.claude\u002Fskills\u002Ffigma-loop\u002Fscripts\u002Fcheck.sh\"\n\n$SCRIPT init \"WelcomeScreen\" \"95:72\"   # Start session\n$SCRIPT pass                            # Record passing check (increments counter)\n$SCRIPT fail \"spacing off by 8px\"       # Record fail (resets counter to 0)\n$SCRIPT status                          # Show progress (X\u002F3 passes)\n```\n\n---\n\n## Quick Actions\n\n| What you want to do | Workflow |\n|---------------------|----------|\n| Full iteration loop (start to finish) | [workflows\u002Fiterate.md](workflows\u002Fiterate.md) |\n| Set up tracking file | [workflows\u002Fsetup.md](workflows\u002Fsetup.md) |\n| Just do a single comparison check | [workflows\u002Fcheck.md](workflows\u002Fcheck.md) |\n\n---\n\n## The 3-Check Rule\n\nA component is only \"done\" when **3 consecutive checks pass with zero changes needed**.\n\n```\nCheck 1: Fix spacing  → FAIL (made change) → counter resets to 0\nCheck 2: Fix color    → FAIL (made change) → counter resets to 0\nCheck 3: All good     → PASS → counter = 1\nCheck 4: All good     → PASS → counter = 2\nCheck 5: All good     → PASS → counter = 3 → DONE\n```\n\n**Why 3?** One pass could be lucky. Two could miss something. Three consecutive passes with fresh eyes each time gives confidence.\n\n---\n\n## Check Criteria\n\nFor each element, verify ALL of these:\n\n| Category | What to Check |\n|----------|--------------|\n| **Position** | Top, left, right, bottom, center alignment |\n| **Size** | Width, height, padding, margin |\n| **Colors** | Background, text, border, shadow |\n| **Typography** | Font size, weight, line height, letter spacing |\n| **Spacing** | Gaps between elements, internal padding |\n| **Order** | RTL consideration (first in DOM = RIGHT visually) |\n| **Icons** | Which icon, size, color, position relative to text |\n| **States** | Default, hover, pressed, disabled, focused |\n| **Radius** | Border radius on all corners |\n\n---\n\n## Common Figma-to-Tailwind Mappings\n\n```\ngap-[16px] → gap-4\np-[8px]    → p-2\np-[12px]   → p-3\np-[16px]   → p-4\np-[24px]   → p-6\n\nrounded-[8px]  → rounded-lg\nrounded-[12px] → rounded-xl\nrounded-[16px] → rounded-2xl\nrounded-[24px] → rounded-3xl\n\ntext-[14px] → text-sm\ntext-[16px] → text-base\ntext-[18px] → text-lg\ntext-[20px] → text-xl\ntext-[24px] → text-2xl\ntext-[28px] → text-3xl\n```\n\n---\n\n## RTL Quick Reference for Figma\n\n| Visual Position (RTL) | DOM Order | Tailwind |\n|----------------------|-----------|----------|\n| RIGHT | First | `items-start`, `justify-start` |\n| LEFT | Last | `items-end`, `justify-end` |\n\n**Button icons in RTL:**\n```tsx\n\u002F\u002F Icon on LEFT visually (after text in RTL)\n\u003CButton rightIcon={\u003CPhone \u002F>}>Call\u003C\u002FButton>\n\n\u002F\u002F Icon on RIGHT visually (before text in RTL)\n\u003CButton leftIcon={\u003CPhone \u002F>}>Call\u003C\u002FButton>\n```\n\n---\n\n## Anti-Patterns\n\n| Don't | Do Instead |\n|-------|------------|\n| Fix 5 things at once | Fix ONE thing, re-screenshot, verify |\n| Skip checks when \"it looks close\" | Always do formal screenshot comparison |\n| Hardcode pixel values | Use Tailwind scale or CSS vars |\n| Ignore RTL | Verify element order matches RTL expectations |\n| Guess colors | Use exact hex from Figma design context |\n| Stop after 1 passing check | Need 3 CONSECUTIVE passes |\n\n## When done\n\n**When you're done, close the browser you opened** (Etan, 2026-11-01: no background reaper; the skill closes it). Close your own tabs and quit any browser you started: agent browser → `page.close()` then `agent-browser release \u003Clease>`; a headless or Playwright browser → `browser.close()`; T3 preview → `t3_preview_close`; a cmux browser pane → `close_surface`; a temporary browser profile → quit that instance. Never leave a window open on Etan's screen.\n\n**Shut down any simulator or emulator you booted** (Etan, 2026-11-02, via orc, on a leftover iOS Simulator: \"just like the chrome beta but much worse\"). T3 device tools → `device_close` with `shutdown: true` for the device you opened (the default only removes it from the panel); iOS → `xcrun simctl shutdown \u003Cudid>` for the device you booted (check with `xcrun simctl list devices booted`); Android → `adb -s \u003Cyour emulator serial> emu kill` (find it with `adb devices`). Leave a simulator you found already running alone.\n",{"name":5,"paths":24,"description":7},[25,26,27,28],"**\u002F*.tsx","**\u002F*.jsx","**\u002F*.css","**\u002F*.scss","master","3400bc971628f00ab7bf1063993477e211a5508a","skills\u002Fgolem-powers\u002Ffigma-loop","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems","https:\u002F\u002Fgithub.com\u002FEtanHey","etanheyman.com","2026-11-15 03:05:08",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add EtanHey\u002Fgolems --skill figma-loop",{"tool":42,"command":43},"bunx","bunx skills add EtanHey\u002Fgolems --skill figma-loop",{"tool":45,"command":46},"pnpm","pnpm dlx skills add EtanHey\u002Fgolems --skill figma-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002FSKILL.md",true,[50,56,60,66,70,74],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"evals\u002Fevals.json","REFERENCE","参考文档",5497,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002Fevals\u002Fevals.json",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"INSTALL_PROMPT.md",1927,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002FINSTALL_PROMPT.md",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fcheck.sh","SCRIPT","脚本",2463,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002Fscripts\u002Fcheck.sh",{"path":67,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":68,"sourceHtmlUrl":69},"workflows\u002Fcheck.md",2125,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002Fworkflows\u002Fcheck.md",{"path":71,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":72,"sourceHtmlUrl":73},"workflows\u002Fiterate.md",5780,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002Fworkflows\u002Fiterate.md",{"path":75,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":76,"sourceHtmlUrl":77},"workflows\u002Fsetup.md",2058,"https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ffigma-loop\u002Fworkflows\u002Fsetup.md",[79,86,93,100,107,114],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7C53JEF6A6SS20Q0D2YJYM8","yash","Push dependency bugs upstream. Triggers: dependency bug, workaround, monkey-patch, fork\u002Ffix. NOT app bugs.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fyash\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7C53EPMNSZKHK47VY7WQDP0","whats-new","Diff Claude\u002FCodex\u002FCursor\u002FWispr\u002Fagy changelogs vs local setup. Triggers: whats new, changelog, version bump.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fwhats-new\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7C53C4TVQ9G7AB3X57DACPB","weave","Orchestrator convergence: mine JSONLs, cite findings, route actions. Triggers: weave, run weave.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Fweave\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M7C5342EDDN7YH53KKW511V2","unslop","Cut AI tells while keeping every receipt, number, path, and hedge intact. Triggers: unslop, cut the slop, wall of text, too verbose, rambly, make this readable. NOT for delivery cadence (see i-have-adhd), channel choice, or artifact length governance.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Funslop\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M7C52M0CTDW5DDP4452FJV0G","tmp-block","Guard denying durable writes to \u002Ftmp, \u002Fprivate\u002Ftmp, \u002Fvar\u002Ffolders, $TMPDIR; enforces \u003Crepo>\u002F.worktrees\u002F\u003Cname>. Triggers: tmp guard, TMP-BLOCK deny, WORKTREE-CONVENTION deny, bypass ledger. NOT for storage policy.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ftmp-block\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M7C52HN4Q9E1Z74Z11K23E2H","t3-visuals","Show\u002Fvisualize\u002Fchart\u002Fdiagram\u002Fcompare\u002Fstatus board in T3 with compact interactive HTML. Not standalone dashboards.","https:\u002F\u002Fgithub.com\u002FEtanHey\u002Fgolems\u002Fblob\u002Fmaster\u002Fskills\u002Fgolem-powers\u002Ft3-visuals\u002FSKILL.md",[],[]]