Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

vitepress

Skill by antfu

Guides an AI assistant through building documentation sites with VitePress, a static site generator built on Vite and Vue. It covers configuration, themes, and Markdown with Vue components.

  • Score 92
  • 6.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install vitepress

Built from the published package, never by AI.

git clone --depth 1 https://github.com/antfu/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/vitepress ~/.claude/skills/vitepress

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install vitepress in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

VitePress is a Static Site Generator built on Vite and Vue 3. It takes Markdown content, applies a theme, and generates static HTML that becomes an SPA for fast navigation. The source describes it as suited to documentation, blogs, and marketing sites.

This skill gives the assistant reference material on VitePress. Topics include site configuration, the CLI, file-based routing, Markdown features, code blocks, Vue components in Markdown, build-time data loading, theme configuration, custom themes, internationalization, SSR, and deployment. The skill is based on VitePress 2.0.0-alpha.20 and is aimed at developers who build documentation sites, configure themes, or write Markdown with Vue components.

Written from the project's SKILL.md and checked against it.

What it can do

  • ConfigurationCovers config file setup, defineConfig, and site metadata.
  • RoutingExplains file-based routing, the source directory, and rewrites.
  • MarkdownCovers frontmatter, containers, tables, anchors, and includes.
  • Code BlocksCovers syntax highlighting, line highlighting, diffs, and focus.
  • Vue in MarkdownCovers components, script setup, directives, and templating.
  • Data LoadingCovers build-time data loaders and createContentLoader.
  • Theme ConfigCovers nav, sidebar, search, social links, and footer settings.
  • Custom ThemeCovers building themes from scratch and the theme interface.
  • InternationalizationCovers multi-language sites and locale configuration.
  • DeploymentCovers deploying to GitHub Pages, Netlify, Vercel, Cloudflare, and Nginx.

What you need

  • Node.js 22 or later for VitePress 2

Try asking

  • Set up a VitePress config with a nav and sidebar for my docs
  • Add a multi-language setup to my VitePress documentation site
  • Show me how to highlight lines in a VitePress code block

Good to know

  • Based on VitePress 2.0.0-alpha.20, generated on 2026-09-25
  • VitePress 2 notes say to install with vitepress@next

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/vitepress/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • GENERATION.md139 B
  • SKILL.md4 KB
  • references/advanced-i18n.md6 KB
  • references/advanced-ssr.md4 KB
  • references/core-cli.md2 KB
Show all 16 files
  • references/core-config.md7 KB
  • references/core-markdown.md6 KB
  • references/core-routing.md4 KB
  • references/features-code-blocks.md4 KB
  • references/features-data-loading.md4 KB
  • references/features-dynamic-routes.md5 KB
  • references/features-vue.md4 KB
  • references/recipes-deploy.md5 KB
  • references/theme-config.md7 KB
  • references/theme-custom.md6 KB
  • references/theme-customization.md8 KB

Alternatives to vitepress

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

vitepress: common questions

What is VitePress used for?

The source describes VitePress as a static site generator for documentation, blogs, and marketing sites. It takes Markdown content, applies a theme, and generates static HTML.

Can I use Vue components in VitePress Markdown?

Yes. The source says Vue components work directly in Markdown, and it includes a reference on Vue in Markdown.

Which Node.js version does VitePress 2 need?

The source says VitePress 2 requires Node.js 22 or later.

How do I install vitepress?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is vitepress free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is vitepress safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to vitepress?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

vitepress Install

Add to stack

Loading.