adhd
Push, pull, and lint design tokens between Tailwind v4 and Figma; push and pull React components with preflight validation.
Plugin adhd from marketplace adhd-reference in sanctuarycomputer/adhd. Commands read from the repo's manifest — 1 month ago.
What it installs
Skills (6)
configRun the ADHD config wizard. Walks through producing or repairing adhd.config.ts: Figma URL (with reachability test), naming convention, and CSS entry path auto-detect. ADHD always syncs every domain we support — the wizard no longer asks the user to pick.
lintValidate Figma frames/components/pages or the entire file against the local Tailwind design system + frame-structure best practices. Reads adhd.config.ts at the repo root. Read-only — no writes. Optional argument: a Figma URL with node-id (scoped lint). With no argument, lints the whole file.
pull-componentPull a Figma Component Set into a React component source file. Inverse of /adhd:push-component. Updates only design-token lookup tables and union type members — function body, JSX, hooks, handlers, and imports are never modified. Reads adhd.config.ts and uses the mapping at components.<path>.figma.u
pull-design-systemPull the design system (variables + named styles) from the configured Figma file into globals.css. Two-way diff with per-attribute conflict prompts; additive (never deletes from code). Reads adhd.config.ts at the repo root.
push-componentPush a React component to the configured Figma file as a structured Component Set. Reads adhd.config.ts. Parses the component's variant axes from its TypeScript prop unions, generates a temp Next.js preview route, auto-starts the dev server if needed (and tears it down after), captures via generate_
push-design-systemPush the local design system (globals.css variables + named styles) into the configured Figma file. Two-way diff with per-attribute conflict prompts; additive (never deletes from Figma). Reads adhd.config.ts at the repo root.
Maintain adhd?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.