shadcn-registry

Update shadcn registry.json entries and verify referenced files.

124|7|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/carere/zaidan --skill shadcn-registry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: shadcn-registry
Source: https://github.com/carere/zaidan/tree/main/.claude/skills/shadcn-registry
Command: npx skills add https://github.com/carere/zaidan --skill shadcn-registry

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates registry management for the Zaidan project's Shadcn registry.json by updating entries to reflect components, hooks, CSS files, blocks, and other registry item types, while ensuring it only touches registry.json.

Core Features & Use Cases

  • Read and understand the existing registry.json structure and item schemas.
  • Verify that referenced component/hook/style files exist at their declared paths before registering.
  • Add or update registry items in alphabetical order, preserving consistency across the registry.
  • Provide practical workflows for UI components, hooks, blocks, themes, and miscellaneous registry items.

Quick Start

Create a registry entry for a new component by confirming the component file exists and adding the item to registry.json in alphabetical order.

Frequently Asked Questions about shadcn-registry

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

FAQPage Schema
How do I add a new component to my Shadcn registry.json?

To add a new component to your Shadcn registry.json, you verify the component file exists at its declared path and insert the new registry item into the items array in alphabetical order.

What happens if a referenced component file is missing during registry management?

During registry management, the skill verifies that all referenced component, hook, and style files exist at their declared paths before registering them, ensuring your registry remains consistent with existing files.

Does the Shadcn registry updater modify files other than registry.json?

No, the Shadcn registry updater only touches registry.json, automating registry management to reflect new components, hooks, CSS files, and blocks without altering other project files.

Can I register hooks and CSS files in a Shadcn registry.json?

Yes, you can register hooks, CSS files, blocks, themes, and other registry item types by applying the registry item schema and adding them to registry.json in alphabetical order.

What's the best way to keep my Shadcn registry.json consistent across a project?

The best way to keep your Shadcn registry.json consistent is to automate registry management by enforcing the registry item schema, verifying referenced file paths, and maintaining alphabetical order within the items array.