fumadocs-registry-integration
Register 8-bit components in registry.json for the shadcn/ui library.
Install
mkdir -p .claude/skills/fumadocs-registry-integration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/7260" && unzip -o skill.zip -d .claude/skills/fumadocs-registry-integration && rm skill.zipInstalls to .claude/skills/fumadocs-registry-integration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Register 8-bit components in registry.json for shadcn/ui add command. Apply when adding new components to the component library distribution.Key capabilities
- →Register 8-bit components in registry.json
- →Register 8-bit blocks in registry.json
- →Include retro.css in component files array
- →Specify categories for blocks, including 'gaming'
- →List base shadcn/ui dependencies for components
- →Define component type as 'registry:component' or 'registry:block'
How it works
The skill guides the user to add new 8-bit components or blocks to the registry.json file by providing specific JSON entry patterns and principles for defining types, files, dependencies, and categories.
Inputs & outputs
When to use fumadocs-registry-integration
- →Add new 8-bit component
- →Register game UI block
- →Update component library registry
About this skill
Registry Integration
Register 8-bit components in registry.json for discovery via shadcn add @8bitcn/[component-name].
Component Entry Pattern
{
"name": "button",
"type": "registry:component",
"title": "8-bit Button",
"description": "A simple 8-bit button component",
"registryDependencies": ["button"],
"files": [
{
"path": "components/ui/8bit/button.tsx",
"type": "registry:component",
"target": "components/ui/8bit/button.tsx"
},
{
"path": "components/ui/8bit/styles/retro.css",
"type": "registry:component",
"target": "components/ui/8bit/styles/retro.css"
}
]
}
Block Entry Pattern
For pre-built layouts like game UIs:
{
"name": "quest-log",
"type": "registry:block",
"title": "8-bit Quest Log",
"description": "An 8-bit quest and mission tracking system.",
"registryDependencies": ["card", "accordion"],
"categories": ["gaming"],
"files": [
{
"path": "components/ui/8bit/quest-log.tsx",
"type": "registry:block",
"target": "components/ui/8bit/quest-log.tsx"
},
{
"path": "components/ui/8bit/styles/retro.css",
"type": "registry:component",
"target": "components/ui/8bit/styles/retro.css"
}
]
}
Required retro.css
Always include retro.css in files array:
"files": [
{
"path": "components/ui/8bit/new-component.tsx",
"type": "registry:component",
"target": "components/ui/8bit/new-component.tsx"
},
{
"path": "components/ui/8bit/styles/retro.css",
"type": "registry:component",
"target": "components/ui/8bit/styles/retro.css"
}
]
Categories
Use gaming-specific categories for game components:
"categories": ["gaming"]
Available categories: gaming, layout, form, data-display, feedback, navigation, overlay.
Registry Dependencies
List base shadcn dependencies (not 8-bit versions):
"registryDependencies": ["button", "dialog", "progress"]
For blocks with multiple components:
"registryDependencies": ["card", "button", "progress", "tabs"]
Type Selection
registry:component - Single reusable component:
{
"type": "registry:component",
"files": [...]
}
registry:block - Pre-built layout or feature:
{
"type": "registry:block",
"categories": ["gaming"],
"files": [...]
}
Complete Example
{
"name": "health-bar",
"type": "registry:component",
"title": "8-bit Health Bar",
"description": "An 8-bit health bar component for game UI.",
"registryDependencies": ["progress"],
"files": [
{
"path": "components/ui/8bit/health-bar.tsx",
"type": "registry:component",
"target": "components/ui/8bit/health-bar.tsx"
},
{
"path": "components/ui/8bit/progress.tsx",
"type": "registry:component",
"target": "components/ui/8bit/progress.tsx"
},
{
"path": "components/ui/8bit/styles/retro.css",
"type": "registry:component",
"target": "components/ui/8bit/styles/retro.css"
}
]
}
Key Principles
- Type - Use
registry:componentfor single,registry:blockfor layouts - retro.css required - Always include in files array
- Target path - Same path for source and target
- Categories - Use
gamingfor retro-themed blocks - Dependencies - List base shadcn/ui components (not 8-bit)
- Description - Clear, concise for CLI output
- Files order - Component first, retro.css last
Adding a New Component
- Create component in
components/ui/8bit/component.tsx - Create documentation in
content/docs/components/component.mdx - Add entry to
registry.json:- Copy existing component as template
- Update name, title, description
- Set correct registryDependencies
- Include retro.css in files
- Test:
pnpm dlx shadcn@latest add @8bitcn/component
Reference
registry.json- Full component registrycontent/docs/components/*.mdx- Component documentation
How it compares
This skill provides a structured method for integrating 8-bit themed components into a shadcn/ui registry, ensuring proper discovery and dependency management for retro-style UI elements.
Compared to similar skills
fumadocs-registry-integration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| fumadocs-registry-integration (this skill) | 1 | 7mo | No flags | Beginner |
| svelte-expert | 11 | 9mo | No flags | Intermediate |
| writing-registry-meta | 5 | 7mo | No flags | Beginner |
| docs-demo | 3 | 2mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by TheOrcDev
View all by TheOrcDev →You might also like
svelte-expert
Raudbjorn
Expert Svelte/SvelteKit development assistant for building components, utilities, and applications. Use when creating Svelte components, SvelteKit applications, implementing reactive patterns, handling state management, working with stores, transitions, animations, or any Svelte/SvelteKit development task. Includes comprehensive documentation access, code validation with svelte-autofixer, and playground link generation.
writing-registry-meta
siriwatknp
Use this skill when writing meta file for MUI Treasury registry.
docs-demo
remotion-dev
Add an interactive demo to the Remotion documentation. Use when creating a new <Demo> component for docs pages.
wot-ui
wot-ui
wot-ui uni-app 组件库开发指南。当用户询问 wot-ui 组件使用、配置、示例或 API 时使用此技能。
vitepress
antfu
VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.
port-from-bslib
posit-dev
Comprehensive guide for porting UI components from R's bslib package to py-shiny. Use this skill when: (1) User asks to "port this feature" or "port a component" and mentions bslib or links to a bslib PR (e.g., github.com/rstudio/bslib/pull/...), (2) Porting a new component from bslib to py-shiny, (3) Adding a new input, output, or UI component that exists in bslib, (4) Implementing feature parity with bslib, (5) Working on bslib-related features or components. Covers the complete workflow including understanding source implementation, creating Python equivalents, vendoring assets (SCSS, CSS, JavaScript), creating tests, documentation, and all necessary project files.