check-links
Check all internal links on the local Hugo site for broken links. Use before pushing to verify site integrity.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
Link Checker
Validates all internal links on the local Hugo development server.
Usage
Run the link checker script:
python .claude/skills/check-links/scripts/check_links.py
What it checks
- Crawls all pages starting from http://localhost:1313/
- Follows internal links only (same host)
- Reports broken links (404s, connection errors)
- Shows which page contains each broken link
Prerequisites
The Hugo development server must be running:
cd hugo && hugo server
Output
- Lists any broken links found with their source pages
- Exits with code 0 if all links valid, 1 if broken links found
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!