İçeriğe geç
TakoAPI
Becerilere dön

markdown-validator

wanng-ide tarafından

CLI Utilities
413İndirme sayıları clawskills.sh tarafından bildirilir
0Görüntülenmeler
0 beğeniBu beceriyi beğenmek için giriş yapın
—Henüz değerlendirilmedi
Puanınız

Özet

Validates Markdown files for broken local links.

Açıklama

Bu Beceri Ne Yapar

Validates Markdown files for broken local relative links by scanning recursively through a directory or a single file. Ignores external URLs and same-file anchors. Outputs a JSON report with each broken link's file path, link text, target URL, and line number.

Skipping external URLs and same-file anchors keeps results focused on local file integrity, avoiding false positives from network issues or anchor variations.

Ne Zaman Kullanılır

  • Checking internal doc links before a release
  • Auditing a wiki after files are reorganized
  • Verifying README links across a monorepo
  • Finding dead links after renaming or moving files
  • Running link validation in CI on documentation changes

Örnek İş Akışı

GİRİŞ

User asks: check all Markdown files in the current directory for broken links

AJAN
  1. 1

    Run the validator against the current directory

  2. 2

    Receive a JSON array of results per file

  3. 3

    Identify entries where valid is false

  4. 4

    Extract brokenLinks arrays with text, url, and line fields

ÇIKIŞ

JSON report listing each file with broken relative links, showing the link text, target path, and line number for each broken reference

Kurulum

clawhub install wanng-ide/markdown-validator

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar