From ekline-docs-skills
Scan documentation files for broken internal links, missing anchors, and optionally validate external URLs. Runs a helper script that extracts all links, validates them, and reports broken links with suggestions. Use before publishing docs or as a periodic health check.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ekline-docs-skills:check-linksThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the helper script to find broken links, then present results and offer fixes.
Run the helper script to find broken links, then present results and offer fixes.
$ARGUMENTS — optional docs directory (defaults to current directory) and optional --external flag to validate external URLspython scripts/extract_links.py $ARGUMENTS
If the user included --external, pass it through. Capture the JSON output.
The script handles file discovery, link extraction (Markdown, reference-style, HTML), internal link validation, anchor checking, and optional external URL checking.
Max 200 files per run. External checks limited to 50 URLs.
If the JSON contains an error field:
not_a_directory — tell user the specified path is not a valid directoryno_docs_found — tell user no .md/.mdx files were found, suggest a different pathStop here on error.
Show a summary from the summary object:
files_scanned)files_truncated is true, note that the file limit was reachedThen group broken links by type:
Broken internal links (broken_internal array):
suggestions are available, show them as recommended replacementsavailable_anchors are listed, show the valid anchors for the target fileBroken external links (broken_external array):
Redirects (redirects array):
Orphaned pages (orphaned_pages array):
For each broken internal link that has suggestions:
For broken internal links without suggestions:
Use the Edit tool to update links in place:
After applying fixes, summarize what was changed:
npx claudepluginhub ekline-io/ekline-docs-skills --plugin ekline-docs-skillsValidates Markdown documentation links, detecting broken relative links, missing anchor targets, malformed URLs, and orphaned documentation files. Use before releases or doc updates.
Scans markdown files for broken internal links, unreachable external URLs via HTTP checks, and missing images. Use before releases, after doc restructuring, or audits.
Finds and fixes broken internal links, dead external URLs, stale imports, missing cross-references, and orphaned files across project directories.