jpskill.com
🎨 デザイン コミュニティ

wiki-lint

ObsidianのWiki vaultを対象に、孤立ページやリンク切れ、記述の矛盾、不足している情報などをチェックし、Dataviewダッシュボードの作成・更新やCanvasマップの生成を通して、Wikiの品質を維持・向上させるSkill。

📜 元の英語説明(参考)

Health check the Obsidian wiki vault. Finds orphan pages, dead wikilinks, stale claims, missing cross-references, frontmatter gaps, and empty sections. Creates or updates Dataview dashboards. Generates canvas maps. Triggers on: "lint", "health check", "clean up wiki", "check the wiki", "wiki maintenance", "find orphans", "wiki audit".

🇯🇵 日本人クリエイター向け解説

一言でいうと

ObsidianのWiki vaultを対象に、孤立ページやリンク切れ、記述の矛盾、不足している情報などをチェックし、Dataviewダッシュボードの作成・更新やCanvasマップの生成を通して、Wikiの品質を維持・向上させるSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o wiki-lint.zip https://jpskill.com/download/10558.zip && unzip -o wiki-lint.zip && rm wiki-lint.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10558.zip -OutFile "$d\wiki-lint.zip"; Expand-Archive "$d\wiki-lint.zip" -DestinationPath $d -Force; ri "$d\wiki-lint.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して wiki-lint.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → wiki-lint フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

wiki-lint: Wiki の健全性チェック

10~15回の取り込みごと、または週に一度、lint を実行してください。何かを自動修正する前に必ず確認を取ってください。lint レポートを wiki/meta/lint-report-YYYY-MM-DD.md に出力します。


Lint チェック

以下の順序で作業を進めてください。

  1. 孤立ページ。インバウンドの wikilink がない Wiki ページ。それらは存在するものの、どこからも参照されていません。
  2. デッドリンク。存在しないページを参照する wikilink。
  3. 古い主張。より新しい情報源によって矛盾または更新された、古いページ上のアサーション。
  4. 欠落ページ。複数のページで言及されているものの、独自のページがない概念またはエンティティ。
  5. 欠落した相互参照。ページ内で言及されているものの、リンクされていないエンティティ。
  6. Frontmatter のギャップ。必須フィールド(type、status、created、updated、tags)が欠落しているページ。
  7. 空のセクション。下にコンテンツがない見出し。
  8. 古いインデックスエントリ。名前が変更された、または削除されたページを指す wiki/index.md 内の項目。

Lint レポートの形式

wiki/meta/lint-report-YYYY-MM-DD.md に作成します。

---
type: meta
title: "Lint Report YYYY-MM-DD"
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [meta, lint]
status: developing
---

# Lint Report: YYYY-MM-DD

## Summary
- Pages scanned: N
- Issues found: N
- Auto-fixed: N
- Needs review: N

## Orphan Pages
- [[Page Name]]: インバウンドリンクがありません。提案:[[Related Page]] からリンクするか、削除してください。

## Dead Links
- [[Missing Page]]: [[Source Page]] で参照されていますが存在しません。提案:スタブを作成するか、リンクを削除してください。

## Missing Pages
- "concept name": [[Page A]]、[[Page B]]、[[Page C]] で言及されています。提案:概念ページを作成してください。

## Frontmatter Gaps
- [[Page Name]]: 欠落しているフィールド:status、tags

## Stale Claims
- [[Page Name]]: 主張 "X" は、より新しい情報源 [[Newer Source]] と矛盾する可能性があります。

## Cross-Reference Gaps
- [[Entity Name]] は [[Page A]] で言及されていますが、wikilink がありません。

命名規則

lint 時にこれらを適用します。

要素 規則
Filenames スペースを含む Title Case Machine Learning.md
Folders ダッシュを含む小文字 wiki/data-models/
Tags 小文字、階層的 #domain/architecture
Wikilinks ファイル名と完全に一致 [[Machine Learning]]

ファイル名は vault 全体で一意である必要があります。ファイル名が一意である場合にのみ、パスなしで wikilink が機能します。


文章スタイルのチェック

lint 時に、スタイルガイドに違反するページにフラグを立てます。

  • 宣言的な現在形ではない(「X は基本的に Y を行う」ではなく「X は Y を行う」)
  • 主張がなされている場合に情報源の引用が欠落している
  • 不確実性が > [!gap] でフラグ付けされていない
  • 矛盾が > [!contradiction] でフラグ付けされていない

Dataview ダッシュボード

次のクエリを使用して wiki/meta/dashboard.md を作成または更新します。

---
type: meta
title: "Dashboard"
updated: YYYY-MM-DD
---
# Wiki Dashboard

## Recent Activity
```dataview
TABLE type, status, updated FROM "wiki" SORT updated DESC LIMIT 15
```

## Seed Pages (Need Development)
```dataview
LIST FROM "wiki" WHERE status = "seed" SORT updated ASC
```

## Entities Missing Sources
```dataview
LIST FROM "wiki/entities" WHERE !sources OR length(sources) = 0
```

## Open Questions
```dataview
LIST FROM "wiki/questions" WHERE answer_quality = "draft" SORT created DESC
```

Canvas マップ

視覚的なドメインマップのために wiki/meta/overview.canvas を作成または更新します。

{
  "nodes": [
    {
      "id": "1",
      "type": "file",
      "file": "wiki/overview.md",
      "x": 0, "y": 0,
      "width": 300, "height": 140,
      "color": "1"
    }
  ],
  "edges": []
}

ドメインページごとに 1 つのノードを追加します。重要な相互参照があるドメインを接続します。色は CSS スキームに対応します:1=blue、2=purple、3=yellow、4=orange、5=green、6=red。


自動修正の前に

常に最初に lint レポートを表示してください。「これらを自動的に修正しますか、それともそれぞれを確認しますか?」と尋ねてください。

自動修正しても安全なもの:

  • プレースホルダー値を持つ欠落している frontmatter フィールドの追加
  • 欠落しているエンティティのスタブページの作成
  • リンクされていない言及に対する wikilink の追加

修正前にレビューが必要なもの:

  • 孤立ページの削除(意図的に隔離されている可能性があります)
  • 矛盾の解決(人間の判断が必要です)
  • 重複ページの結合
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

wiki-lint: Wiki Health Check

Run lint after every 10-15 ingests, or weekly. Ask before auto-fixing anything. Output a lint report to wiki/meta/lint-report-YYYY-MM-DD.md.


Lint Checks

Work through these in order:

  1. Orphan pages. Wiki pages with no inbound wikilinks. They exist but nothing points to them.
  2. Dead links. Wikilinks that reference a page that does not exist.
  3. Stale claims. Assertions on older pages that newer sources have contradicted or updated.
  4. Missing pages. Concepts or entities mentioned in multiple pages but lacking their own page.
  5. Missing cross-references. Entities mentioned in a page but not linked.
  6. Frontmatter gaps. Pages missing required fields (type, status, created, updated, tags).
  7. Empty sections. Headings with no content underneath.
  8. Stale index entries. Items in wiki/index.md pointing to renamed or deleted pages.

Lint Report Format

Create at wiki/meta/lint-report-YYYY-MM-DD.md:

---
type: meta
title: "Lint Report YYYY-MM-DD"
created: YYYY-MM-DD
updated: YYYY-MM-DD
tags: [meta, lint]
status: developing
---

# Lint Report: YYYY-MM-DD

## Summary
- Pages scanned: N
- Issues found: N
- Auto-fixed: N
- Needs review: N

## Orphan Pages
- [[Page Name]]: no inbound links. Suggest: link from [[Related Page]] or delete.

## Dead Links
- [[Missing Page]]: referenced in [[Source Page]] but does not exist. Suggest: create stub or remove link.

## Missing Pages
- "concept name": mentioned in [[Page A]], [[Page B]], [[Page C]]. Suggest: create a concept page.

## Frontmatter Gaps
- [[Page Name]]: missing fields: status, tags

## Stale Claims
- [[Page Name]]: claim "X" may conflict with newer source [[Newer Source]].

## Cross-Reference Gaps
- [[Entity Name]] mentioned in [[Page A]] without a wikilink.

Naming Conventions

Enforce these during lint:

Element Convention Example
Filenames Title Case with spaces Machine Learning.md
Folders lowercase with dashes wiki/data-models/
Tags lowercase, hierarchical #domain/architecture
Wikilinks match filename exactly [[Machine Learning]]

Filenames must be unique across the vault. Wikilinks work without paths only if filenames are unique.


Writing Style Check

During lint, flag pages that violate the style guide:

  • Not declarative present tense ("X basically does Y" instead of "X does Y")
  • Missing source citations where claims are made
  • Uncertainty not flagged with > [!gap]
  • Contradictions not flagged with > [!contradiction]

Dataview Dashboard

Create or update wiki/meta/dashboard.md with these queries:

---
type: meta
title: "Dashboard"
updated: YYYY-MM-DD
---
# Wiki Dashboard

## Recent Activity
```dataview
TABLE type, status, updated FROM "wiki" SORT updated DESC LIMIT 15
```

## Seed Pages (Need Development)
```dataview
LIST FROM "wiki" WHERE status = "seed" SORT updated ASC
```

## Entities Missing Sources
```dataview
LIST FROM "wiki/entities" WHERE !sources OR length(sources) = 0
```

## Open Questions
```dataview
LIST FROM "wiki/questions" WHERE answer_quality = "draft" SORT created DESC
```

Canvas Map

Create or update wiki/meta/overview.canvas for a visual domain map:

{
  "nodes": [
    {
      "id": "1",
      "type": "file",
      "file": "wiki/overview.md",
      "x": 0, "y": 0,
      "width": 300, "height": 140,
      "color": "1"
    }
  ],
  "edges": []
}

Add one node per domain page. Connect domains that have significant cross-references. Colors map to the CSS scheme: 1=blue, 2=purple, 3=yellow, 4=orange, 5=green, 6=red.


Before Auto-Fixing

Always show the lint report first. Ask: "Should I fix these automatically, or do you want to review each one?"

Safe to auto-fix:

  • Adding missing frontmatter fields with placeholder values
  • Creating stub pages for missing entities
  • Adding wikilinks for unlinked mentions

Needs review before fixing:

  • Deleting orphan pages (they might be intentionally isolated)
  • Resolving contradictions (requires human judgment)
  • Merging duplicate pages