Pular para o conteúdo
Skillpedia
Documentação16 mil · #10814

wiki-lint

O que ela faz

Esta skill examina sua wiki do Obsidian e relata problemas como links quebrados e páginas para as quais nada aponta. É para quem quer manter uma base de conhecimento grande organizada.

Quando usar

  • ✓Quando você quer verificar sua wiki quanto a links quebrados ou páginas sem links apontando para elas.
  • ✓Quando você quer uma auditoria dos metadados e do rastreamento de fontes nas suas notas.
  • ✓Quando você quer saber quais páginas de índice estão desatualizadas antes de corrigi-las você mesmo.

Link da skill

https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-lint/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Verifique minha wiki do Obsidian quanto a links quebrados e páginas órfãs e me mostre um relatório.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente executa uma ferramenta de verificação fixa que lê o cofre e lista cada achado. Ele não cria relatórios, painéis nem correções, então você decide o que mudar.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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

  1. Preserve the engine's paths, line numbers, targets, categories, and counts.
  2. Group findings by likely impact: broken navigation, ambiguous resolution, metadata quality, then maintainability.
  3. Explain that an orphan may be intentional and an ambiguous basename needs a path-qualified link; do not infer intent from the finding alone.
  4. Treat allowlisted findings as policy, not as proof that the target exists.
  5. 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:

  1. Re-read each target and record its expected SHA-256.
  2. Draft only the selected changes; do not delete or merge pages without explicit consent.
  3. Build one repair bundle with a new operation ID.
  4. Inspect the bundle and show exact changed paths.
  5. Apply only after that separate review.
  6. 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.

Perguntas frequentes

Ele conserta links quebrados?

Não. A verificação apenas relata os achados, e as correções ficam com você ou com outra skill.

Posso excluir algumas pastas?

Sim. Você pode excluir uma pasta, como uma área de rascunho, da verificação.

Que tipos de problema ela encontra?

Relata problemas de links, páginas órfãs, lacunas no frontmatter, seções vazias e entradas de índice desatualizadas.

Detalhes

Descrição original do autor

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.

repo: AgriciDaniel/claude-obsidian

Popularidade

Estrelas no GitHub
16 mil
Posição no ranking
#10814
Licença
MIT
Atualizada em
25/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas