搜索

PythonReactSEOPDF
GitHub Skill

check-links

Check all internal links on the local Hugo site for broken links. Use before pushing to verify site integrity.

unfinishablemap☆ 0 仓库 Stars0 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

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

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!