vitepress
ViteとVueを搭載し、ドキュメントサイトの構築やテーマ設定、Vueコンポーネントを用いたMarkdown記述に活用できる静的サイトジェネレーターです。
📜 元の英語説明(参考)
VitePress static site generator powered by Vite and Vue. Use when building documentation sites, configuring themes, or writing Markdown with Vue components.
🇯🇵 日本人クリエイター向け解説
ViteとVueを搭載し、ドキュメントサイトの構築やテーマ設定、Vueコンポーネントを用いたMarkdown記述に活用できる静的サイトジェネレーターです。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o vitepress.zip https://jpskill.com/download/5547.zip && unzip -o vitepress.zip && rm vitepress.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/5547.zip -OutFile "$d\vitepress.zip"; Expand-Archive "$d\vitepress.zip" -DestinationPath $d -Force; ri "$d\vitepress.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
vitepress.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
vitepressフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-17
- 取得日時
- 2026-05-17
- 同梱ファイル
- 15
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] vitepress VitePressは、ViteとVue 3上に構築された静的サイトジェネレーター(SSG)です。Markdownコンテンツを受け取り、テーマを適用して静的HTMLを生成し、高速なナビゲーションを実現するSPAとなります。ドキュメント、ブログ、マーケティングサイトに最適です。
主な特徴:
.mdファイルによるファイルベースルーティング- VueコンポーネントがMarkdown内で直接動作
- 瞬時の更新(100ms未満)による高速なHMR
- ドキュメントに最適化されたデフォルトテーマ
- 組み込み検索(ローカルまたはAlgolia)
VitePressプロジェクトで作業する前に:
- サイト設定については
.vitepress/config.tsを確認してください。 - カスタムテーマの拡張については
.vitepress/theme/を参照してください。 public/ディレクトリには、そのまま提供される静的アセットが含まれています。
このスキルはVitePress 1.xに基づいており、2026-01-28に生成されました。
コア
| トピック | 説明 | 参照 |
|---|---|---|
| 設定 | 設定ファイルのセットアップ、defineConfig、サイトメタデータ | core-config |
| CLI | コマンドラインインターフェース: dev, build, preview, init | core-cli |
| ルーティング | ファイルベースルーティング、ソースディレクトリ、リライト | core-routing |
| Markdown | フロントマター、コンテナ、テーブル、アンカー、インクルード | core-markdown |
機能
コードとコンテンツ
| トピック | 説明 | 参照 |
|---|---|---|
| コードブロック | 構文ハイライト、行ハイライト、差分、フォーカス | features-code-blocks |
| Markdown内のVue | コンポーネント、script setup、ディレクティブ、テンプレート | features-vue |
| データ読み込み | ビルド時データローダー、createContentLoader | features-data-loading |
| 動的ルート | データからのページ生成、パスローダーファイル | features-dynamic-routes |
テーマ
| トピック | 説明 | 参照 |
|---|---|---|
| テーマ設定 | ナビゲーション、サイドバー、検索、ソーシャルリンク、フッター | theme-config |
| カスタマイズ | CSS変数、スロット、フォント、グローバルコンポーネント | theme-customization |
| カスタムテーマ | ゼロからのテーマ構築、テーマインターフェース | theme-custom |
高度な機能
| トピック | 説明 | 参照 |
|---|---|---|
| 国際化 | 多言語サイト、ロケール設定 | advanced-i18n |
| SSR互換性 | サーバーサイドレンダリング、ClientOnly、動的インポート | advanced-ssr |
レシピ
| トピック | 説明 | 参照 |
|---|---|---|
| デプロイ | GitHub Pages, Netlify, Vercel, Cloudflare, Nginx | recipes-deploy |
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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.
Key Characteristics:
- File-based routing with
.mdfiles - Vue components work directly in Markdown
- Fast HMR with instant updates (<100ms)
- Default theme optimized for documentation
- Built-in search (local or Algolia)
Before working with VitePress projects:
- Check
.vitepress/config.tsfor site configuration - Look at
.vitepress/theme/for custom theme extensions - The
public/directory contains static assets served as-is
The skill is based on VitePress 1.x, generated at 2026-01-28.
Core
| Topic | Description | Reference |
|---|---|---|
| Configuration | Config file setup, defineConfig, site metadata | core-config |
| CLI | Command-line interface: dev, build, preview, init | core-cli |
| Routing | File-based routing, source directory, rewrites | core-routing |
| Markdown | Frontmatter, containers, tables, anchors, includes | core-markdown |
Features
Code & Content
| Topic | Description | Reference |
|---|---|---|
| Code Blocks | Syntax highlighting, line highlighting, diffs, focus | features-code-blocks |
| Vue in Markdown | Components, script setup, directives, templating | features-vue |
| Data Loading | Build-time data loaders, createContentLoader | features-data-loading |
| Dynamic Routes | Generate pages from data, paths loader files | features-dynamic-routes |
Theme
| Topic | Description | Reference |
|---|---|---|
| Theme Config | Nav, sidebar, search, social links, footer | theme-config |
| Customization | CSS variables, slots, fonts, global components | theme-customization |
| Custom Theme | Building themes from scratch, theme interface | theme-custom |
Advanced
| Topic | Description | Reference |
|---|---|---|
| Internationalization | Multi-language sites, locale configuration | advanced-i18n |
| SSR Compatibility | Server-side rendering, ClientOnly, dynamic imports | advanced-ssr |
Recipes
| Topic | Description | Reference |
|---|---|---|
| Deployment | GitHub Pages, Netlify, Vercel, Cloudflare, Nginx | recipes-deploy |
同梱ファイル
※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。
- 📄 SKILL.md (3,179 bytes)
- 📎 references/advanced-i18n.md (5,312 bytes)
- 📎 references/advanced-ssr.md (4,086 bytes)
- 📎 references/core-cli.md (2,377 bytes)
- 📎 references/core-config.md (4,192 bytes)
- 📎 references/core-markdown.md (3,716 bytes)
- 📎 references/core-routing.md (3,700 bytes)
- 📎 references/features-code-blocks.md (3,360 bytes)
- 📎 references/features-data-loading.md (4,436 bytes)
- 📎 references/features-dynamic-routes.md (4,381 bytes)
- 📎 references/features-vue.md (3,707 bytes)
- 📎 references/recipes-deploy.md (4,339 bytes)
- 📎 references/theme-config.md (5,176 bytes)
- 📎 references/theme-custom.md (5,085 bytes)
- 📎 references/theme-customization.md (6,149 bytes)