From 9b3c36db481f1a62d422620993df5063311a4e30 Mon Sep 17 00:00:00 2001 From: MaikaKimura Date: Fri, 6 Mar 2026 17:35:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=B3=E8=A7=A3=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=83=96=E3=83=A9=E3=83=AA=E6=A9=9F=E8=83=BD=E3=82=92=E6=92=A4?= =?UTF-8?q?=E5=8E=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- .../creating-visual-explainers/SKILL.md | 21 +----- .../references/library-template.html | 66 ------------------- 2 files changed, 1 insertion(+), 86 deletions(-) delete mode 100644 .claude/skills/creating-visual-explainers/references/library-template.html diff --git a/.claude/skills/creating-visual-explainers/SKILL.md b/.claude/skills/creating-visual-explainers/SKILL.md index 0feb2f7..ab0010c 100644 --- a/.claude/skills/creating-visual-explainers/SKILL.md +++ b/.claude/skills/creating-visual-explainers/SKILL.md @@ -77,24 +77,6 @@ Step 3 で収集した情報をもとに、図解HTMLを生成する。検索結 - `` 〜 `` → Step 4で生成したコンテンツ 5. ファイルを保存する(ブラウザで開くのは Step 6 のデプロイ後に行う。ローカルでは開かない) -### Step 5.5: 図解ライブラリの更新 - -`output/` 内の全HTMLファイル(`index.html` 以外)をスキャンし、一覧ページ `output/index.html` を生成・更新する。 - -1. `output/` 内の `.html` ファイル一覧を取得する(`index.html` は除外) -2. 各ファイルの `` タグからタイトルを、`<meta property="og:description">` から説明文を読み取る -3. `references/library-template.html` を読み込む -4. テンプレート内の `<!-- LIBRARY_ITEMS -->` を、以下の形式のカードリストで置換する: - -```html -<a href="{ファイル名}" class="block bg-ads-surface border border-ads-border rounded-xl p-5 hover:border-ads-accent/40 transition-colors"> - <h2 class="font-bold text-slate-900 mb-1">{タイトル}</h2> - <p class="text-sm text-ads-muted">{説明文}</p> -</a> -``` - -5. 結果を `output/index.html` として保存する - ### Step 6: 公開 ファイル保存後、公開する前にまず Node.js の有無を確認する。 @@ -111,7 +93,7 @@ node --version 以下のスクリプトを**実行する**(中身を読む必要はない)。 -**重要: 第1引数には図解本体のファイル(`output/{スラッグ}.html`)を指定する。`output/index.html`(ライブラリ一覧)ではない。** +**重要: 第1引数には図解本体のファイル(`output/{スラッグ}.html`)を指定する。`output/index.html`(サンプル一覧)ではない。** **macOS / Git Bash(Windows)の場合:** @@ -184,7 +166,6 @@ https://diagram-スラッグ.surge.sh ファイルの保存先: output/{スラッグ}.html(ブラウザにドラッグ&ドロップすると表示できます) -図解ライブラリ: output/index.html 図解の主なポイント: - (主要トピックを3〜5個) diff --git a/.claude/skills/creating-visual-explainers/references/library-template.html b/.claude/skills/creating-visual-explainers/references/library-template.html deleted file mode 100644 index 0259946..0000000 --- a/.claude/skills/creating-visual-explainers/references/library-template.html +++ /dev/null @@ -1,66 +0,0 @@ -<!DOCTYPE html> -<html lang="ja"> -<head> - <meta charset="UTF-8"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta name="robots" content="noindex, nofollow, noarchive, nosnippet, noimageindex"> - <meta name="googlebot" content="noindex, nofollow"> - <title>図解ライブラリ - - - - - - - - -
-
-

図解ライブラリ

-

チャット欄で「○○を図解して」と依頼すると、ここに追加されます

-
- -
- -
- -
-

こんなことを聞いてみよう

-
-
「API とは何か、図解して」
-
「Git の rebase と merge の違いを図解して」
-
「クラウドとは何か、図解して」
-
「KPI と KGI の違いを図解して」
-
「HTML と CSS の関係を図解して」
-
「UI と UX の違いを図解して」
-
-
-
- - -