theorcdev avatar

Fumadocs Mdx Structure

This handles the boilerplate for Fumadocs MDX files so you're not reinventing the structure every time you document a component. It enforces the frontmatter pattern, import order, and component preview setup that 8-bit UI uses across their docs. The skill knows to place CopyCommandButton before ComponentPreview, use the correct @8bitcn package paths, and drop files in content/docs/ with proper sectioning. If you're building a component library with Fumadocs and want consistent documentation without memorizing the template, this saves you from constantly referencing existing files. It's pattern enforcement as code.

skills.sh installs
271
GitHub stars
2.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add theorcdev/8bitcn-ui --skill fumadocs-mdx-structure --agent claude-code

Installs into .claude/skills of the current project.

Files

Fumadocs MDX Structure

Create well-structured MDX documentation files for 8-bit components following the established patterns.

Frontmatter Pattern

---
title: Component Name
description: Brief description of the 8-bit component.
---

Import Pattern

All documentation files require these imports:

import { ComponentName } from "@/components/ui/8bit/component-name";
import CopyCommandButton from "@/components/copy-command-button";
import InstallationCommands from "@/components/installation-commands";
import ComponentPreview from "@/components/component-preview";

Copy Command Button

Place immediately after frontmatter:

<div className="flex flex-col md:flex-row items-center justify-end gap-2 mb-2">
  <CopyCommandButton
    copyCommand="pnpm dlx shadcn@latest add @8bitcn/component-name"
    command="pnpm dlx shadcn@latest add @8bitcn/component-name"
  />
</div>

Component Preview

Wrap component examples:

<ComponentPreview title="8-bit ComponentName component" name="component-name">
  <ComponentName>Example</ComponentName>
</ComponentPreview>

Installation Section

## Installation

---

Sponsors

Details

Repository
github.com/theorcdev/8bitcn-ui
Categories
Frontend Development, Documentation
First seen
Jun 3, 2026
1pedronauck avatarcontent-research-writerpedronauck/skillsAssists in writing high-quality content by conducting research, adding citations, improving hooks, iterating on outlines, and providing real-time feedback on ea270skills.sh installs
2pproenca avatarios-storyboardpproenca/dot-skillsLegacy interoperability skill for Storyboard and Interface Builder maintenance in iOS 26 / Swift 6.2 clinic codebases. Use only for migration or maintenance of 270skills.sh installs
3eachlabs avatargoogle-ad-creative-generationeachlabs/skillsGenerate Google Ads creatives using each::sense AI. Create display ads, YouTube thumbnails, Discovery ads, Performance Max assets, and responsive display ads op269skills.sh installs
4itechmeat avatarsocial-writeritechmeat/llm-codeCreate engaging content for social media platforms: X posts and threads, LinkedIn, Threads, Instagram, Facebook. Includes writing styles, AI-avoidance patterns,269skills.sh installs
5mindfold-ai avatartrellis-metamindfold-ai/marketplaceMeta-skill for understanding and customizing Mindfold Trellis — the all-in-one AI workflow system for 11 AI coding platforms (Claude Code, Cursor, OpenCode, iFl269skills.sh installs
6paperclipai avatarpr-reportpaperclipai/paperclipProduce a maintainer-grade PR or contribution report as HTML or Markdown. Use when asked to deeply review a PR, explain a design, compare systems, or prepare a 269skills.sh installs