@atc-group/figma-tool
v0.4.0
Published
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).
Readme
@atc-group/figma-tool
CLI 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.
Install
npm i -g @atc-group/figma-tool
figma-tool initThen in Claude Code (one-time):
/plugins marketplace add ~/.claude/plugins/marketplaces/atc/
/plugins install atcSkills now show up as atc:figma-implement, atc:figma-responsive, atc:figma-make-reports, atc:figma-update-component.
Refresh the plugin after a new release:
npm i -g @atc-group/figma-tool@latest
figma-tool updatePer-project setup
The skills' bodies expect the project to have:
playwright+gradient-parseras devDependencies (npm i -D playwright gradient-parser)npx playwright install chromium- For responsive work:
--scaleanti-FOUC script inindex.html,useViewportScalehook insrc/hooks/, the 6--breakpoint-*tokens insrc/index.css's@themeblock GEMINI_API_KEYset (or in.env.local/.env) for visual diffs
Verify with:
cd <your-project>
figma-tool doctorMigrating from 0.2.x
cd <your-project>
figma-tool migrateDeletes the now-obsolete .tools/, scripts/, .claude/commands/figma-*.md, .claude/skills/figma-update-component/ files. Asks per file. Pass --yes to skip prompts.
Subcommands
These can be invoked directly when a skill body wants to call them:
figma-tool gemini-compare <figma.png> <impl.png> <out.json>
figma-tool gemini-responsive <out.json> [<figma-design-path>]
figma-tool convert-gradient [args…]
figma-tool responsive-check
figma-tool responsive-reportEach runs from the current working directory.
Smoke test
cd /Users/anhoev/core/figma-tool
npm run smokeSource
Plugin manifests + skill markdown live under plugin/. Tool subcommands live under src/cmds/.
License
MIT — see LICENSE.
