본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

markdown-validator

wanng-ide 제작

CLI Utilities
413clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Validates Markdown files for broken local links.

설명

이 스킬이 하는 일

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.

사용 시점

  • 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

예시 워크플로

입력

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

에이전트
  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

출력

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

설치

clawhub install wanng-ide/markdown-validator

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크