wiki-lint
Fungsinya
Skill ini memindai wiki Obsidian Anda dan melaporkan masalah seperti tautan rusak dan halaman yang tidak ditunjuk oleh apa pun. Skill ini untuk orang yang ingin menjaga basis pengetahuan besar tetap rapi.
Kapan dipakai
- ✓Saat Anda ingin memeriksa wiki dari tautan mati atau halaman yang tidak ditunjuk catatan lain.
- ✓Saat Anda menginginkan audit frontmatter atau pelacakan sumber di seluruh catatan Anda.
- ✓Saat Anda ingin tahu halaman indeks mana yang sudah usang sebelum Anda memperbaikinya sendiri.
Link skill
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Periksa wiki Obsidian saya dari tautan rusak dan halaman yatim, dan tampilkan laporannya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menjalankan alat pemeriksaan tetap yang membaca vault dan mendaftar setiap temuan. Agent tidak membuat laporan, dasbor, atau perbaikan, sehingga Andalah yang memutuskan apa yang diubah.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Lint the wiki
Use the portable lint engine as the source of truth. Lint observes vault state; it does not create reports, dashboards, canvases, stubs, or fixes.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
CORE="$PRODUCT_ROOT/scripts/claude-obsidian.py"
test -f "$CORE"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Run
Resolve the user vault, then run one of:
python3 "$CORE" lint --vault "$VAULT"
python3 "$CORE" lint --vault "$VAULT" --format markdown
python3 "$CORE" lint --vault "$VAULT" --exclude "wiki/scratchpad/*"
The repeatable --exclude GLOB flag scopes a path (for example a scratchpad
folder) out of page, link-resolution, orphan, frontmatter, empty-section, and
stale-index scanning.
Use --strict only when a nonzero exit for findings is useful in automation.
The command remains read-only either way.
The deterministic parser understands Obsidian wikilinks and embeds, Markdown
links, aliases, heading and block fragments, escaped aliases, and code fences.
It skips dot-prefixed directories by default, mirroring Obsidian's own
indexer. Link resolution honors .gitignore files inside the vault (no git
subprocess): when a link is ambiguous between a page and a gitignored file
such as a build artifact, the gitignored candidate is dropped.
It reports such categories as dead or ambiguous links, orphan pages, required
frontmatter gaps (including title), empty sections, stale index entries, and
source/claim ledger contract violations. Report only the
checks and counts present in its output; do not claim that it performed
semantic, stylistic, or prose-level contradiction analysis when it did
not.
Explain findings
- Preserve the engine's paths, line numbers, targets, categories, and counts.
- Group findings by likely impact: broken navigation, ambiguous resolution, metadata quality, then maintainability.
- Explain that an orphan may be intentional and an ambiguous basename needs a path-qualified link; do not infer intent from the finding alone.
- Treat allowlisted findings as policy, not as proof that the target exists.
- Separate deterministic facts from suggested remediation.
Do not write the Markdown rendering into the vault. Return it in chat or stdout.
Repair is a separate operation
Never auto-fix a lint result. After the user chooses specific findings to repair:
- Re-read each target and record its expected SHA-256.
- Draft only the selected changes; do not delete or merge pages without explicit consent.
- Build one repair bundle with a new operation ID.
- Inspect the bundle and show exact changed paths.
- Apply only after that separate review.
- Re-run lint read-only and compare the relevant findings.
Follow the operation transaction contract. Lint itself never applies that transaction and never commits Git.
Checkpoint
Observe the deterministic report, think about root causes rather than finding count, verify proposed repairs against current hashes, and grow by improving the workflow that produced repeated findings.
Pertanyaan umum
Apakah memperbaiki tautan yang rusak?
Tidak. Pemeriksaan hanya melaporkan temuan, dan perbaikan diserahkan kepada Anda atau skill lain.
Bisakah saya melewati beberapa folder?
Bisa. Anda dapat mengecualikan folder, seperti area coret-coretan, dari pemindaian.
Masalah apa saja yang ditemukan?
Skill ini melaporkan masalah tautan, halaman yatim, celah frontmatter, bagian kosong, dan entri indeks yang sudah usang.
Detail
Deskripsi asli dari pembuat
Run a deterministic, read-only health check on an Obsidian wiki. Use for lint, vault health check, audit wiki health, find orphans, find dead links, frontmatter audit, provenance audit, or wiki audit. Reports graph, link, frontmatter, provenance-ledger, empty-section, and stale-index findings; it does not reason broadly or repair files.
Popularitas
- Bintang GitHub
- 16k
- Peringkat
- #10814
- Lisensi
- MIT
- Diperbarui
- 25/10/2026
Komentar
- …
Skill lain dari repositori ini
autoresearch
16kMemungkinkan agent Anda meneliti sebuah topik dalam batas yang ditetapkan dan menyusun laporan dengan kutipan. Temuan dari web tetap sebagai bukti dan tidak otomatis masuk ke catatan Anda.
canvas
16kMembantu agent Anda membuat dan memperbarui papan visual di Obsidian yang berisi catatan, berkas, tautan, dan kelompok. Berguna untuk peta dan tata letak spasial.
defuddle
16kMembantu agent Anda merencanakan cara membersihkan halaman web menjadi teks yang mudah dibaca dan menyimpan salinan lokal berkas sumber. Ekstraksi lewat jaringan belum tersedia.
obsidian-bases
16kMembantu agent Anda merancang tampilan Obsidian Bases yang bekerja seperti basis data sederhana, dengan filter, formula, dan tata letak tabel atau kartu.
Skill serupa
technical-documentation
394kMembantu agent Anda menulis dan meninjau dokumentasi teknis serta file instruksi agent yang jelas, agar orang dan alat AI dapat mengikutinya dengan mudah.
architecture-decision-records
280kMembuat agent Anda mencatat keputusan penting terkait struktur proyek. Membantu memahami alasan di balik pilihan dan menjaga riwayat perubahan yang jelas.
code-tour
280kMembuat agent Anda menyusun panduan kode langkah demi langkah dengan referensi file dan nomor baris yang tepat. Berguna untuk pengenalan, penjelasan, dan review.