# Init shadcn docs nuxt

> Init shadcn docs nuxt is an open-source agent skill for developer tools. Sets up and troubleshoots a shadcn-docs-nuxt documentation site for component libraries. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ruan-cat/monorepo/tree/main/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt
- **Repository:** https://github.com/ruan-cat/monorepo
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** init-shadcn-docs-nuxt
- **Collection:** https://github.com/ruan-cat/monorepo
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-04

## About

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs JavaScript and TypeScript scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt)
- [No network calls found in its scripts](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt)
- [License: MIT](https://github.com/ruan-cat/monorepo/tree/HEAD/ai-plugins/dev-skills/skills/init-shadcn-docs-nuxt)

## Features

- **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

## Install

### Claude Code

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

```sh
/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`:

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Create docs](https://ai-powered.com/skills/create-docs): Create docs is an open-source agent skill for developer tools.
- [Shadcn](https://ai-powered.com/skills/shadcn-debugbundle): Shadcn is an open-source agent skill for developer tools.
- [Web quality](https://ai-powered.com/skills/web-quality): Web quality is an open-source agent skill for developer tools.
- [Nuxt4 frontend](https://ai-powered.com/skills/nuxt4-frontend): Nuxt4 frontend is an open-source agent skill for developer tools.
- [Nuxt](https://ai-powered.com/skills/nuxt): Nuxt is an open-source agent skill for developer tools.
- [Tailwindcss4](https://ai-powered.com/skills/tailwindcss4): Tailwindcss4 is an open-source agent skill for developer tools.
- [Web artifacts builder](https://ai-powered.com/skills/web-artifacts-builder): Web artifacts builder is a free agent skill for developer tools.
- [Vitepress](https://ai-powered.com/skills/vitepress): Vitepress is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/init-shadcn-docs-nuxt
