---
name: "vitepress-documentation-engine"
description: "Build fast, elegant technical documentation sites using Markdown and Vue 3 with VitePress."
metadata:
  author: "Evan You"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "setup vitepress docs"
  - "configure vitepress sidebar"
  - "vitepress algolia search"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# VitePress Markdown-Powered Static Site Generator

Configures VitePress: writing docs in Markdown (.md), configuring .vitepress/config.ts (nav, sidebar, social links, search), customizing default theme CSS variables, and embedding interactive Vue components.

## When to Invoke
Invoke this skill whenever you need to:
- setup vitepress docs
- configure vitepress sidebar
- vitepress algolia search

## Execution SOP & Rules
1. Initialize: npx vitepress init inside documentation directory.
2. Configure site navigation, sidebar hierarchies, and edit links in .vitepress/config.ts.
3. Enable local search: themeConfig: { search: { provider: 'local' } }.
4. Build static site for production: npx vitepress build and test output with npx vitepress preview.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
