{"id":"54d12352-3c59-4ccb-bc39-822d0b837777","shortId":"b3jbNe","kind":"skill","title":"vitepress","tagline":"VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.","description":"VitePress is a Static Site Generator (SSG) built on Vite and Vue 3. It takes Markdown content, applies a theme, and generates static HTML that becomes an SPA for fast navigation. Perfect for documentation, blogs, and marketing sites.\n\n**Key Characteristics:**\n- File-based routing with `.md` files\n- Vue components work directly in Markdown\n- Fast HMR with instant updates (<100ms)\n- Default theme optimized for documentation\n- Built-in search (local or Algolia)\n\n**Before working with VitePress projects:**\n- Check `.vitepress/config.ts` for site configuration\n- Look at `.vitepress/theme/` for custom theme extensions\n- The `public/` directory contains static assets served as-is\n\n> The skill is based on VitePress 1.x, generated at 2026-01-28.\n\n## Core\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Configuration | Config file setup, defineConfig, site metadata | [core-config](references/core-config.md) |\n| CLI | Command-line interface: dev, build, preview, init | [core-cli](references/core-cli.md) |\n| Routing | File-based routing, source directory, rewrites | [core-routing](references/core-routing.md) |\n| Markdown | Frontmatter, containers, tables, anchors, includes | [core-markdown](references/core-markdown.md) |\n\n## Features\n\n### Code & Content\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Code Blocks | Syntax highlighting, line highlighting, diffs, focus | [features-code-blocks](references/features-code-blocks.md) |\n| Vue in Markdown | Components, script setup, directives, templating | [features-vue](references/features-vue.md) |\n| Data Loading | Build-time data loaders, createContentLoader | [features-data-loading](references/features-data-loading.md) |\n| Dynamic Routes | Generate pages from data, paths loader files | [features-dynamic-routes](references/features-dynamic-routes.md) |\n\n## Theme\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Theme Config | Nav, sidebar, search, social links, footer | [theme-config](references/theme-config.md) |\n| Customization | CSS variables, slots, fonts, global components | [theme-customization](references/theme-customization.md) |\n| Custom Theme | Building themes from scratch, theme interface | [theme-custom](references/theme-custom.md) |\n\n## Advanced\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Internationalization | Multi-language sites, locale configuration | [advanced-i18n](references/advanced-i18n.md) |\n| SSR Compatibility | Server-side rendering, ClientOnly, dynamic imports | [advanced-ssr](references/advanced-ssr.md) |\n\n## Recipes\n\n| Topic | Description | Reference |\n|-------|-------------|-----------|\n| Deployment | GitHub Pages, Netlify, Vercel, Cloudflare, Nginx | [recipes-deploy](references/recipes-deploy.md) |","tags":["vitepress","skills","antfu","agent-skills"],"capabilities":["skill","source-antfu","skill-vitepress","topic-agent-skills","topic-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/antfu/skills/vitepress","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add antfu/skills","source_repo":"https://github.com/antfu/skills","install_from":"skills.sh"}},"qualityScore":"0.700","qualityRationale":"deterministic score 0.70 from registry signals: · indexed on github topic:agent-skills · 4987 github stars · SKILL.md body (2,817 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T18:52:46.074Z","embedding":null,"createdAt":"2026-04-18T20:26:35.398Z","updatedAt":"2026-05-18T18:52:46.074Z","lastSeenAt":"2026-05-18T18:52:46.074Z","tsv":"'-01':133 '-28':134 '1':128 '100ms':82 '2026':132 '3':36 'advanc':282,294,307 'advanced-i18n':293 'advanced-ssr':306 'algolia':94 'anchor':179 'appli':41 'as-i':119 'asset':117 'base':66,125,166 'becom':49 'block':192,202 'blog':58 'build':13,156,219,272 'build-tim':218 'built':31,89 'built-in':88 'characterist':63 'check':100 'cli':150,161 'clienton':303 'cloudflar':319 'code':186,191,201 'command':152 'command-lin':151 'compat':298 'compon':23,72,207,265 'config':140,148,248,257 'configur':16,104,139,292 'contain':115,177 'content':40,187 'core':135,147,160,172,182 'core-c':159 'core-config':146 'core-markdown':181 'core-rout':171 'createcontentload':223 'css':260 'custom':109,259,268,270,280 'data':216,221,226,234 'default':83 'defineconfig':143 'deploy':314,323 'descript':137,189,245,284,312 'dev':155 'diff':197 'direct':74,210 'directori':114,169 'document':14,57,87 'dynam':229,240,304 'extens':111 'fast':53,77 'featur':185,200,213,225,239 'features-code-block':199 'features-data-load':224 'features-dynamic-rout':238 'features-vu':212 'file':65,70,141,165,237 'file-bas':64,164 'focus':198 'font':263 'footer':254 'frontmatt':176 'generat':5,29,45,130,231 'github':315 'global':264 'highlight':194,196 'hmr':78 'html':47 'i18n':295 'import':305 'includ':180 'init':158 'instant':80 'interfac':154,277 'internation':286 'key':62 'languag':289 'line':153,195 'link':253 'load':217,227 'loader':222,236 'local':92,291 'look':105 'markdown':20,39,76,175,183,206 'market':60 'md':69 'metadata':145 'multi':288 'multi-languag':287 'nav':249 'navig':54 'netlifi':317 'nginx':320 'optim':85 'page':232,316 'path':235 'perfect':55 'power':6 'preview':157 'project':99 'public':113 'recip':310,322 'recipes-deploy':321 'refer':138,190,246,285,313 'references/advanced-i18n.md':296 'references/advanced-ssr.md':309 'references/core-cli.md':162 'references/core-config.md':149 'references/core-markdown.md':184 'references/core-routing.md':174 'references/features-code-blocks.md':203 'references/features-data-loading.md':228 'references/features-dynamic-routes.md':242 'references/features-vue.md':215 'references/recipes-deploy.md':324 'references/theme-config.md':258 'references/theme-custom.md':281 'references/theme-customization.md':269 'render':302 'rewrit':170 'rout':67,163,167,173,230,241 'scratch':275 'script':208 'search':91,251 'serv':118 'server':300 'server-sid':299 'setup':142,209 'side':301 'sidebar':250 'site':4,15,28,61,103,144,290 'skill':123 'skill-vitepress' 'slot':262 'social':252 'sourc':168 'source-antfu' 'spa':51 'ssg':30 'ssr':297,308 'static':3,27,46,116 'syntax':193 'tabl':178 'take':38 'templat':211 'theme':17,43,84,110,243,247,256,267,271,273,276,279 'theme-config':255 'theme-custom':266,278 'time':220 'topic':136,188,244,283,311 'topic-agent-skills' 'topic-skills' 'updat':81 'use':11 'variabl':261 'vercel':318 'vite':8,33 'vitepress':1,2,24,98,127 'vitepress/config.ts':101 'vitepress/theme':107 'vue':10,22,35,71,204,214 'work':73,96 'write':19 'x':129","prices":[{"id":"d5aa1b0a-8784-427e-8bfc-e4507e5b7400","listingId":"54d12352-3c59-4ccb-bc39-822d0b837777","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"antfu","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T20:26:35.398Z"}],"sources":[{"listingId":"54d12352-3c59-4ccb-bc39-822d0b837777","source":"github","sourceId":"antfu/skills/vitepress","sourceUrl":"https://github.com/antfu/skills/tree/main/skills/vitepress","isPrimary":false,"firstSeenAt":"2026-04-18T21:53:52.408Z","lastSeenAt":"2026-05-18T18:52:46.074Z"},{"listingId":"54d12352-3c59-4ccb-bc39-822d0b837777","source":"skills_sh","sourceId":"antfu/skills/vitepress","sourceUrl":"https://skills.sh/antfu/skills/vitepress","isPrimary":true,"firstSeenAt":"2026-04-18T20:26:35.398Z","lastSeenAt":"2026-05-07T22:40:19.552Z"}],"details":{"listingId":"54d12352-3c59-4ccb-bc39-822d0b837777","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"antfu","slug":"vitepress","github":{"repo":"antfu/skills","stars":4987,"topics":["agent-skills","skills"],"license":"mit","html_url":"https://github.com/antfu/skills","pushed_at":"2026-05-01T16:46:24Z","description":"Anthony Fu's curated collection of agent skills.","skill_md_sha":"7f9d33ea29549f854abd2897a10c4d7d8abbc635","skill_md_path":"skills/vitepress/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/antfu/skills/tree/main/skills/vitepress"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"vitepress","description":"VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components."},"skills_sh_url":"https://skills.sh/antfu/skills/vitepress"},"updatedAt":"2026-05-18T18:52:46.074Z"}}