shadcn-integration

Automates shadcn UI integration with OKLCH design tokens in Next.js projects.

Updated Jan 5, 2026
One-click install
npx skills add https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor --skill shadcn-integration-sjdjdiejdrirhdkjej
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn-integration
Source: https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor/tree/main/.claude/skills/shadcn-integration
Command: npx skills add https://github.com/Sjdjdiejdrirhdkjej/Claude-code-conductor --skill shadcn-integration-sjdjdiejdrirhdkjej

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill bridges the OKLCH token system with the shadcn UI component library, enabling WCAG-friendly color tokens to drive Next.js theming while keeping the token as the single source of truth.

Core Features & Use Cases

  • Auto-configuration for shadcn tokens and Next.js integration using OKLCH tokens.
  • Token-to-UI mapping with CSS variable aliases that reference OKLCH tokens, ensuring consistent theming across components such as menus, dialogs, and buttons.
  • Use Case: Set up a new Next.js project with shadcn UI, generate a complete theming system, and instantly apply accessible color tokens to all components.

Quick Start

Run the questionnaire to generate tokens: /init --tokens --shadcn. Review generated files under design/systems/shadcn-variables.css and components.json. Install required UI dependencies and then add components with npx shadcn@latest add button card dropdown-menu.

Frequently Asked Questions about shadcn-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up shadcn UI with OKLCH design tokens in Next.js?

To set up shadcn UI theming with OKLCH design tokens in Next.js, run the /init --tokens --shadcn command. This automatically generates token-based themes, configures components, and wires CSS variable aliases to ensure OKLCH remains the single source of truth.

What is OKLCH-powered theming for shadcn components?

OKLCH-powered theming uses the OKLCH color space as the source of truth for shadcn UI components. It maps WCAG-friendly color tokens to CSS variable aliases, ensuring accessible and consistent color rendering across Next.js UI elements like dialogs and menus.

Can I use tailwind-variants with shadcn UI and OKLCH tokens?

Yes, you can use tailwind-variants with shadcn UI and OKLCH tokens. The integration generates CSS variable aliases that reference OKLCH tokens, ensuring consistent theming across shadcn components within your Next.js project.

Where are generated OKLCH shadcn tokens stored in a Next.js project?

Generated OKLCH shadcn tokens are stored under design/systems/shadcn-variables.css, alongside a configured components.json file. These files wire token mappings and dependencies for immediate theming use in Next.js.

Do I need to manually configure shadcn components after generating OKLCH tokens?

No, manual configuration is unnecessary after generating OKLCH tokens. The skill automatically configures shadcn components and wires token mappings during the /init --tokens --shadcn process, making components ready for immediate use.