---
name: vitedocs:init
description: VitePress documentation suite — setup, generate, screenshot, sync, brand, and update docs for any project.
argument-hint: [setup|generate|screenshot|sync|brand|update] or omit to be prompted
allowed-tools:
  - AskUserQuestion
---

# vitedocs:init

Use AskUserQuestion to ask which mode to run:

- header: "vitedocs"
- question: "Which mode do you need?"
- options:
  - "setup — Wire up VitePress + GitHub Actions for Pages deployment"
  - "generate — Analyze the codebase and write documentation pages"
  - "capture — Capture screenshots and record interaction videos"
  - "sync — Detect code drift and update docs that are out of date"
  - "brand — Configure colors, fonts, logo, and visual identity"
  - "update — Retrofit an existing docs setup with the latest components"

Then tell the user: "Run /vitedocs:[mode] to proceed — for example `/vitedocs:generate`."
