{"_id":"@atc-group/figma-tool","_rev":"4-ba90a6a8a2c497bf55a379e1b8ac128e","name":"@atc-group/figma-tool","dist-tags":{"latest":"0.4.0"},"versions":{"0.2.0":{"name":"@atc-group/figma-tool","version":"0.2.0","keywords":["figma","claude-code","responsive","playwright","gemini","tailwind"],"author":{"name":"anhoev","email":"dev@categen.com"},"license":"MIT","_id":"@atc-group/figma-tool@0.2.0","maintainers":[{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},{"name":"toanzzz","email":"me@toan.io"}],"homepage":"https://github.com/anhoev/figma-tool#readme","bugs":{"url":"https://github.com/anhoev/figma-tool/issues"},"bin":{"figma-tool":"bin/figma-tool.mjs"},"dist":{"shasum":"0959cab7ad93793e52e5431d881c0bbf3f28444b","tarball":"https://registry.npmjs.org/@atc-group/figma-tool/-/figma-tool-0.2.0.tgz","fileCount":15,"integrity":"sha512-vvfEpuJfFpfoiiZqNsVyrltoJKzHOkXA9a9qaEqTTMgNFRiZC/QYuK3RtQerX2F8tJhHm3tQhQH33zm92PDmKQ==","signatures":[{"sig":"MEQCIGAJtHactGluoBw1eipfEeWnSPsFDkMPhA/00a6wySFgAiAFUz7XZcR5A//+wcq+WlsETrQ0bd8SrJh6vyO6szTw+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57121},"type":"module","engines":{"node":">=18"},"scripts":{"sync":"bash scripts/sync-from-figma2.sh","smoke":"bash scripts/smoke-test.sh"},"_npmUser":{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},"repository":{"url":"git+https://github.com/anhoev/figma-tool.git","type":"git"},"_npmVersion":"11.12.1","description":"Figma-to-code pipeline: slash commands + scripts for Claude Code. Install into any project with `figma-tool init`.","directories":{},"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-tool_0.2.0_1776458239405_0.6381571965487425","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@atc-group/figma-tool","version":"0.2.1","keywords":["figma","claude-code","responsive","playwright","gemini","tailwind"],"author":{"name":"anhoev","email":"dev@categen.com"},"license":"MIT","_id":"@atc-group/figma-tool@0.2.1","maintainers":[{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},{"name":"toanzzz","email":"me@toan.io"}],"homepage":"https://github.com/anhoev/figma-tool#readme","bugs":{"url":"https://github.com/anhoev/figma-tool/issues"},"bin":{"figma-tool":"bin/figma-tool.mjs"},"dist":{"shasum":"d0e1e3ada1bb1dd24b9f6dbca2a095fda97c7199","tarball":"https://registry.npmjs.org/@atc-group/figma-tool/-/figma-tool-0.2.1.tgz","fileCount":15,"integrity":"sha512-KEDV4oGyvLE95h3PHBj+L5aGsRegcwYfKJBPRXFk11o8uc2rperv6cWOr3P35cyyttu1voUniY0dTPzsncyFpA==","signatures":[{"sig":"MEQCIFC5p/7tGx5sYuccI/pLKTVxtqV4F08gRgoYDutXOlNdAiAnTD8lTy0RhEJChNJwszvxyTI/dxjaWFI3pWlnA0v/Zw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":57657},"type":"module","engines":{"node":">=18"},"scripts":{"sync":"bash scripts/sync-from-figma2.sh","smoke":"bash scripts/smoke-test.sh"},"_npmUser":{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},"repository":{"url":"git+https://github.com/anhoev/figma-tool.git","type":"git"},"_npmVersion":"11.12.1","description":"Figma-to-code pipeline: slash commands + scripts for Claude Code. Install into any project with `figma-tool init`.","directories":{},"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-tool_0.2.1_1777919811866_0.2428456888268089","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@atc-group/figma-tool","version":"0.3.0","keywords":["figma","claude-code","responsive","playwright","gemini","tailwind"],"author":{"name":"anhoev","email":"dev@categen.com"},"license":"MIT","_id":"@atc-group/figma-tool@0.3.0","maintainers":[{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},{"name":"toanzzz","email":"me@toan.io"}],"homepage":"https://github.com/anhoev/figma-tool#readme","bugs":{"url":"https://github.com/anhoev/figma-tool/issues"},"bin":{"figma-tool":"bin/figma-tool.mjs"},"dist":{"shasum":"42fa77d8e659e3794ec3d161115eee646a7ec4b8","tarball":"https://registry.npmjs.org/@atc-group/figma-tool/-/figma-tool-0.3.0.tgz","fileCount":16,"integrity":"sha512-JYfF9h2N9nk1ocB33UyCeeDzBzzxmaTkOil6wtamNlL4IlMkDk2BJi5Xj3PF7mTrYQl7j3cfttbl1NuOdWRKAQ==","signatures":[{"sig":"MEUCIQCidomon/1TrBZTMmlNsOK7AsVPPrhhsZvXbaB29TH2aQIgTLOQP9W2kPz5Jd1M4d9fAbJPJqbLJgAEdtntYT26vPc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":65629},"type":"module","engines":{"node":">=18"},"scripts":{"sync":"bash scripts/sync-from-figma2.sh","smoke":"bash scripts/smoke-test.sh"},"_npmUser":{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},"repository":{"url":"git+https://github.com/anhoev/figma-tool.git","type":"git"},"_npmVersion":"11.12.1","description":"Figma-to-code pipeline: slash commands + scripts for Claude Code. Install into any project with `figma-tool init`.","directories":{},"_nodeVersion":"25.9.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/figma-tool_0.3.0_1777922816728_0.7058760308458338","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@atc-group/figma-tool","version":"0.4.0","description":"Installer for the `atc` Claude Code plugin (Figma-to-code skills) plus 5 callable subcommands (gemini-compare, gemini-responsive, convert-gradient, responsive-check, responsive-report).","type":"module","bin":{"figma-tool":"bin/figma-tool.mjs"},"exports":{"./convert-gradient":"./src/cmds/convert-gradient.mjs"},"engines":{"node":">=18"},"repository":{"type":"git","url":"git+https://github.com/anhoev/figma-tool.git"},"homepage":"https://github.com/anhoev/figma-tool#readme","bugs":{"url":"https://github.com/anhoev/figma-tool/issues"},"keywords":["figma","claude-code","responsive","playwright","gemini","tailwind"],"author":{"name":"anhoev","email":"dev@categen.com"},"license":"MIT","dependencies":{"gradient-parser":"^1.2.0"},"peerDependencies":{"playwright":">=1.40.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"scripts":{"smoke":"bash scripts/smoke-test.sh"},"_id":"@atc-group/figma-tool@0.4.0","_nodeVersion":"25.9.0","_npmVersion":"11.12.1","dist":{"integrity":"sha512-tLPwFBeHyDob03OVFhXaNIuI8n6KlSVWQF6zflZF4Po6tBVr2SIKgAkfIq759lGaYUC7E23uGRI+YSzJcuuv6A==","shasum":"936bd922066845c2606077ed8910386b5257498b","tarball":"https://registry.npmjs.org/@atc-group/figma-tool/-/figma-tool-0.4.0.tgz","fileCount":21,"unpackedSize":71973,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQC3L47TY9c7ZVCT9SLFJ9rpfnzybYpIGIviaqvhsLcMtQIhAMAvo9iwpLuuzC997yhZmtYTOlyXcPFdraDIP0Adq83a"}]},"_npmUser":{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},"directories":{},"maintainers":[{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},{"name":"toanzzz","email":"me@toan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/figma-tool_0.4.0_1777967142709_0.8829647701824201"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-17T20:37:19.317Z","modified":"2026-05-05T07:45:43.044Z","0.2.0":"2026-04-17T20:37:19.538Z","0.2.1":"2026-05-04T18:36:52.028Z","0.3.0":"2026-05-04T19:26:56.884Z","0.4.0":"2026-05-05T07:45:42.874Z"},"bugs":{"url":"https://github.com/anhoev/figma-tool/issues"},"author":{"name":"anhoev","email":"dev@categen.com"},"license":"MIT","homepage":"https://github.com/anhoev/figma-tool#readme","keywords":["figma","claude-code","responsive","playwright","gemini","tailwind"],"repository":{"type":"git","url":"git+https://github.com/anhoev/figma-tool.git"},"description":"Installer for the `atc` Claude Code plugin (Figma-to-code skills) plus 5 callable subcommands (gemini-compare, gemini-responsive, convert-gradient, responsive-check, responsive-report).","maintainers":[{"name":"atcgroupdev","email":"atcgroupdev@gmail.com"},{"name":"toanzzz","email":"me@toan.io"}],"readme":"# @atc-group/figma-tool\n\nCLI installer for the **`atc` Claude Code plugin** — Figma-to-code skills (`figma-implement`, `figma-responsive`, `figma-make-reports`, `figma-update-component`) plus the 5 underlying tool subcommands.\n\n## Install\n\n```bash\nnpm i -g @atc-group/figma-tool\nfigma-tool init\n```\n\nThen in Claude Code (one-time):\n\n```\n/plugins marketplace add ~/.claude/plugins/marketplaces/atc/\n/plugins install atc\n```\n\nSkills now show up as `atc:figma-implement`, `atc:figma-responsive`, `atc:figma-make-reports`, `atc:figma-update-component`.\n\nRefresh the plugin after a new release:\n\n```bash\nnpm i -g @atc-group/figma-tool@latest\nfigma-tool update\n```\n\n## Per-project setup\n\nThe skills' bodies expect the project to have:\n\n- `playwright` + `gradient-parser` as devDependencies (`npm i -D playwright gradient-parser`)\n- `npx playwright install chromium`\n- For responsive work: `--scale` anti-FOUC script in `index.html`, `useViewportScale` hook in `src/hooks/`, the 6 `--breakpoint-*` tokens in `src/index.css`'s `@theme` block\n- `GEMINI_API_KEY` set (or in `.env.local` / `.env`) for visual diffs\n\nVerify with:\n\n```bash\ncd <your-project>\nfigma-tool doctor\n```\n\n## Migrating from 0.2.x\n\n```bash\ncd <your-project>\nfigma-tool migrate\n```\n\nDeletes the now-obsolete `.tools/`, `scripts/`, `.claude/commands/figma-*.md`, `.claude/skills/figma-update-component/` files. Asks per file. Pass `--yes` to skip prompts.\n\n## Subcommands\n\nThese can be invoked directly when a skill body wants to call them:\n\n```\nfigma-tool gemini-compare <figma.png> <impl.png> <out.json>\nfigma-tool gemini-responsive <out.json> [<figma-design-path>]\nfigma-tool convert-gradient [args…]\nfigma-tool responsive-check\nfigma-tool responsive-report\n```\n\nEach runs from the current working directory.\n\n## Smoke test\n\n```bash\ncd /Users/anhoev/core/figma-tool\nnpm run smoke\n```\n\n## Source\n\nPlugin manifests + skill markdown live under `plugin/`. Tool subcommands live under `src/cmds/`.\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n","readmeFilename":"README.md"}