Skip to content
Skill

Init shadcn docs nuxt

Sets up and troubleshoots a shadcn-docs-nuxt documentation site for component libraries

Init shadcn docs nuxt is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
JavaScript, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Init shadcn docs nuxt

This skill guides an agent through bootstrapping a documentation site on the shadcn-docs-nuxt theme, starting from a minimal working Nuxt configuration and adding compatibility patches only when errors appear. It bundles reference notes and code templates covering Nuxt config, Tailwind and CSS setup, MDC content syntax with Prettier guards, and package.json baselines.

Beyond setup, it carries a large set of troubleshooting playbooks for Nuxt Content and H3 version drift, prerender failures, SSR and hydration problems, dependency hoisting, Windows build stalls, Vercel deployment channels, and the Nuxt 3 to Nuxt 4 upgrade path. Each playbook asks the agent to verify results with content API responses, browser checks and production artifact smoke tests rather than relying on a 200 status or a green build alone.

The skill expects a Node.js and pnpm monorepo context, and it works with Nuxt 3 or Nuxt 4 projects. Some steps depend on deployment target choices such as Vercel, Cloudflare Workers or a local Windows build.

When your agent uses it

Use when initializing or rebuilding any component-library/project documentation site based on `shadcn-docs-nuxt`, or troubleshooting its Nuxt Content/H3, `nuxt-og-image` Nuxt-generation drift, prerender, SSR externalization, module-compatibility, MDC syntax, or Windows build issues; also for Nuxt 3 → 4 generation upgrades and deployment-channel adjudication. 适用于初始化或重构任意组件库/项目的 `shadcn-docs-nuxt` 文档站,快速建立可运行、可构建、可维护的 Nuxt 文档底座,或排查配置复杂化、 模块兼容、Nuxt Content/H3 版本漂移、prerender、SSR externalization、MDC 语法错误、 Windows 构建假卡死等故障;也适用于 Nuxt 3 → 4 世代升级与部署通道裁决。触发词包括“搭建组件库文档”“接入 shadcn-docs-nuxt”“重做 Nuxt 文档站”、 “迁移文档模板”“Nuxt 4 升级”以及 Content cache/search API 500、`contents: []`、`ERR_INVALID_URL`、`sendError` 导出缺失、 `entities/decode`、`FUNCTION_INVOCATION_FAILED`、`[unstorage] Invalid key`、Vercel `READY` 但请求失败、`rolldown@nightly` 解析失败、 `@vueuse/core`、`registerMessageResolver`、`prerender:routes`、`ERR_MODULE_NOT_FOUND`、`UNLOADABLE_DEPENDENCY`、 `stream did not contain valid UTF-8`、`/_ipx` logo 404、prebuilt workflow 过度设计、Cloudflare Worker

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 26 files (208 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the dev-skills plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ruan-cat/monorepo
/plugin install dev-skills@ruan-cat-tools

Or copy only this skill to ~/.claude/skills/init-shadcn-docs-nuxt:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/init-shadcn-docs-nuxt &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt" ~/.claude/skills/init-shadcn-docs-nuxt &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/init-shadcn-docs-nuxt inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/init-shadcn-docs-nuxt to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/init-shadcn-docs-nuxt &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt" ~/.agents/skills/init-shadcn-docs-nuxt &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/init-shadcn-docs-nuxt inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/init-shadcn-docs-nuxt to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/init-shadcn-docs-nuxt &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt" ~/.cursor/skills/init-shadcn-docs-nuxt &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/init-shadcn-docs-nuxt inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt

Or copy the folder to ~/.gemini/skills/init-shadcn-docs-nuxt yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/init-shadcn-docs-nuxt:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/init-shadcn-docs-nuxt &&
cp -R "$tmp/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt" ~/.copilot/skills/init-shadcn-docs-nuxt &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/init-shadcn-docs-nuxt inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ruan-cat/monorepo.git

Then copy monorepo/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt into your agent's skills folder as init-shadcn-docs-nuxt. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Minimal Docs Site Bootstrap
Provides a starter file layout and dependency list for a shadcn-docs-nuxt site.
Nuxt Config Templates
Includes minimal and full Nuxt configuration templates with inline rationale comments.
Tailwind and Theme Setup
Covers content scanning rules, light and dark CSS variables and shadcn-vue theming.
MDC Content Guardrails
Explains standard MDC syntax and Prettier settings that keep content blocks intact.
Dependency Version Triage
Guides pinning and checking Nuxt, Content, H3 and nuxt-og-image versions with pnpm.
Production Verification Gates
Lists local, CI, Vercel and browser checks required before calling a deployment verified.

Good for

  • Set up a new documentation site for a component library on shadcn-docs-nuxt
  • Fix a Nuxt Content API returning empty results after a build
  • Debug a page that loads but whose buttons and dark mode toggle do not respond
  • Upgrade an existing docs site from Nuxt 3 to Nuxt 4
  • Diagnose a Windows build that appears to hang during prerendering

Init shadcn docs nuxt FAQ

What is the starting point for using Init shadcn docs nuxt?

It starts from a minimal Nuxt configuration and adds compatibility patches only when a concrete error appears, following a documented order of checks.

Does Init shadcn docs nuxt include code templates?

Yes, it ships templates for nuxt.config, app.config, Tailwind, CSS entry files, package.json, pnpm-workspace and Prettier ignore rules, each with explanatory comments.

Which Nuxt versions are covered?

It covers a Nuxt 3 baseline with a pinned nuxt-og-image version and a separate Nuxt 4 upgrade reference with a verified version matrix.

How do I install Init shadcn docs nuxt in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/init-shadcn-docs-nuxt to use it in all your projects, or to .claude/skills/init-shadcn-docs-nuxt in one project. Or install the dev-skills plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install dev-skills@ruan-cat-tools.

Does Init shadcn docs nuxt run scripts?

Yes. It runs JavaScript and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Init shadcn docs nuxt?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Init shadcn docs nuxt?

The closest alternatives to Init shadcn docs nuxt are Create docs, Shadcn, Web quality, Nuxt4 frontend and Nuxt.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ruan-cat/monorepo

  1. Works through an OpenSpec change's task list, implementing and checking off each task

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Generates all OpenSpec planning artifacts for a change in one pass

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Starts a new OpenSpec change and shows its first artifact template for review

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Turns incident reports and repeated failures into durable, verifiable agent skill rules

    • Open source
    • 5 GitHub stars
    • Developer tools