OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add theorcdev/8bitcn-ui --skill fumadocs-component-docs
Create component documentation with installation, usage examples, and preview sections. Apply when documenting 8-bit components with proper structure and examples.
npx skills add theorcdev/8bitcn-ui --skill fumadocs-component-docs
Create comprehensive documentation for 8-bit components following the standard structure.
Wrap component examples in ComponentPreview with realistic data:
For basic components like Button:
For components with multiple sub-components like Sheet:
Single import (simple components):
Show multiple variants in preview:
Place before ComponentPreview:
@/components/ui/8bit/content/docs/components/button.mdx - Simple component patterncontent/docs/components/health-bar.mdx - Variant demonstrationcontent/docs/components/sheet.mdx - Complex sub-component pattern<ComponentPreview title="8-bit button component" name="button">
<Button>Button</Button>
</ComponentPreview><ComponentPreview title="8-bit Sheet component" name="sheet">
<Sheet>
<SheetTrigger asChild>
<Button variant="outline">Open</Button>
</SheetTrigger>
<SheetContent>
<SheetHeader>
<SheetTitle>Edit profile</SheetTitle>
<SheetDescription className="text-xs">
Make changes to your profile here.
</SheetDescription>
</SheetHeader>
<div className="p-4 flex flex-col gap-4">
<Label>Name</Label>
<Input placeholder="Project name" />
</div>
<SheetFooter className="flex-row-reverse">
<SheetClose asChild>
<Button size="sm">Save changes</Button>
</SheetClose>
</SheetFooter>
</SheetContent>
</Sheet>
</ComponentPreview>```tsx
import { Button } from "@/components/ui/8bit/button"