Skip to content

Prerequisites

Before installing the plugins, make sure your environment meets the following requirements.

You need Claude Code installed and running. The plugins use Claude Code’s plugin system and slash commands.

Terminal window
# Verify Claude Code is available
claude --version

Both plugins assume a React project. TypeScript is strongly recommended — all generated components are .tsx files with inline type definitions.

A minimal setup that works:

  • React 18+ (17 works but is untested)
  • TypeScript 5+ with a tsconfig.json (strict mode recommended)
  • Any bundler: Vite, Next.js, Remix, Create React App, Parcel

Generated components import .scss files. You need sass (the Dart Sass npm package) in your project’s devDependencies.

Terminal window
npm install --save-dev sass
# or
yarn add -D sass
# or
pnpm add -D sass

The plugins write to predictable paths by default. You can override these with a .acss-target.json file at your project root.

PluginDefault output path
acss-kit (components)src/components/fpkit/
acss-kit (themes)src/styles/theme/
acss-utilitiessrc/styles/

Create this at your project root to override defaults:

{
"componentsDir": "src/components/ui/",
"utilitiesDir": "app/styles/",
"stack": "vite"
}

If you plan to use /theme-extract with a Figma URL, you need a Figma personal access token configured in Claude Code’s MCP settings.

  • You do not need to install @fpkit/acss from npm. The plugins vendor component code directly into your project.
  • You do not need any special Claude Code subscription — the plugins work on any plan that supports Claude Code plugins.
  • You do not need a specific folder structure beyond the defaults above (or whatever you configure in .acss-target.json).