{"id":"54d12352-3c59-4ccb-bc39-822d0b837777","shortId":"b3jbNe","kind":"skill","title":"Vitepress","tagline":"Skills skill by Antfu","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"],"capabilities":["skill","source-antfu","category-skills"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/antfu/skills/vitepress","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"install_from":"skills.sh"}},"qualityScore":"0.300","qualityRationale":"deterministic score 0.30 from registry signals: · indexed on skills.sh · published under antfu/skills","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:v1","enrichmentVersion":1,"enrichedAt":"2026-04-23T20:40:26.898Z","embedding":null,"createdAt":"2026-04-18T20:26:35.398Z","updatedAt":"2026-04-23T20:40:26.898Z","lastSeenAt":"2026-04-23T20:40:26.898Z","tsv":"'-01':115 '-28':116 '1':110 '100ms':64 '2026':114 '3':18 'advanc':264,276,289 'advanced-i18n':275 'advanced-ssr':288 'algolia':76 'anchor':161 'antfu':5 'appli':23 'as-i':101 'asset':99 'base':48,107,148 'becom':31 'block':174,184 'blog':40 'build':138,201,254 'build-tim':200 'built':13,71 'built-in':70 'category-skills' 'characterist':45 'check':82 'cli':132,143 'clienton':285 'cloudflar':301 'code':168,173,183 'command':134 'command-lin':133 'compat':280 'compon':54,189,247 'config':122,130,230,239 'configur':86,121,274 'contain':97,159 'content':22,169 'core':117,129,142,154,164 'core-c':141 'core-config':128 'core-markdown':163 'core-rout':153 'createcontentload':205 'css':242 'custom':91,241,250,252,262 'data':198,203,208,216 'default':65 'defineconfig':125 'deploy':296,305 'descript':119,171,227,266,294 'dev':137 'diff':179 'direct':56,192 'directori':96,151 'document':39,69 'dynam':211,222,286 'extens':93 'fast':35,59 'featur':167,182,195,207,221 'features-code-block':181 'features-data-load':206 'features-dynamic-rout':220 'features-vu':194 'file':47,52,123,147,219 'file-bas':46,146 'focus':180 'font':245 'footer':236 'frontmatt':158 'generat':11,27,112,213 'github':297 'global':246 'highlight':176,178 'hmr':60 'html':29 'i18n':277 'import':287 'includ':162 'init':140 'instant':62 'interfac':136,259 'internation':268 'key':44 'languag':271 'line':135,177 'link':235 'load':199,209 'loader':204,218 'local':74,273 'look':87 'markdown':21,58,157,165,188 'market':42 'md':51 'metadata':127 'multi':270 'multi-languag':269 'nav':231 'navig':36 'netlifi':299 'nginx':302 'optim':67 'page':214,298 'path':217 'perfect':37 'preview':139 'project':81 'public':95 'recip':292,304 'recipes-deploy':303 'refer':120,172,228,267,295 'references/advanced-i18n.md':278 'references/advanced-ssr.md':291 'references/core-cli.md':144 'references/core-config.md':131 'references/core-markdown.md':166 'references/core-routing.md':156 'references/features-code-blocks.md':185 'references/features-data-loading.md':210 'references/features-dynamic-routes.md':224 'references/features-vue.md':197 'references/recipes-deploy.md':306 'references/theme-config.md':240 'references/theme-custom.md':263 'references/theme-customization.md':251 'render':284 'rewrit':152 'rout':49,145,149,155,212,223 'scratch':257 'script':190 'search':73,233 'serv':100 'server':282 'server-sid':281 'setup':124,191 'side':283 'sidebar':232 'site':10,43,85,126,272 'skill':2,3,105 'slot':244 'social':234 'sourc':150 'source-antfu' 'spa':33 'ssg':12 'ssr':279,290 'static':9,28,98 'syntax':175 'tabl':160 'take':20 'templat':193 'theme':25,66,92,225,229,238,249,253,255,258,261 'theme-config':237 'theme-custom':248,260 'time':202 'topic':118,170,226,265,293 'updat':63 'variabl':243 'vercel':300 'vite':15 'vitepress':1,6,80,109 'vitepress/config.ts':83 'vitepress/theme':89 'vue':17,53,186,196 'work':55,78 'x':111","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-04-23T18:53:29.949Z"},{"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-04-23T20:40:26.898Z"}],"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","source":"skills_sh","category":"skills","skills_sh_url":"https://skills.sh/antfu/skills/vitepress"},"updatedAt":"2026-04-23T20:40:26.898Z"}}