link-validation

link-validation

Universal link validation using lychee for Claude Code sessions. Runs at session end to detect broken links and path policy violations.

8星標
1分支
更新於 1/25/2026
SKILL.md
readonlyread-only
name
link-validation
description

Universal link validation using lychee for Claude Code sessions. Runs at session end to detect broken links and path policy violations.

Link Validation Skill

Validates markdown links in your workspace using lychee.

What It Does

At session end (Stop hook), this skill:

  1. Discovers all markdown files in your workspace
  2. Runs lychee to check for broken links
  3. Lints paths for policy violations (absolute paths, excessive traversal)
  4. Outputs JSON results for programmatic consumption

Requirements

  • lychee installed (brew install lychee)
  • Python 3.11+ and uv

Output

Results are written to .link-check-results.md in your workspace:

# Link Check Results

**Correlation ID**: `01JEGQXV8KHTNF3YD8G7ZC9XYK`

## Lychee Link Validation

No broken links found.

## Path Policy Violations

No path violations found.

Path Policy Rules

Rule Severity Description
NO_ABSOLUTE_PATHS Error Filesystem absolute paths not allowed
NO_PARENT_ESCAPES Warning Excessive ../ may escape repository
MARKETPLACE_RELATIVE Warning Plugins should use ./ relative paths

Configuration

Override the default lychee config by placing .lycheerc.toml in your workspace root.

See config/lychee.toml for the default configuration.

References

You Might Also Like

Related Skills

fix

fix

243Kdev-testing

Use when you have lint errors, formatting issues, or before committing code to ensure it passes CI.

facebook avatarfacebook
獲取
peekaboo

peekaboo

179Kdev-testing

Capture and automate macOS UI with the Peekaboo CLI.

openclaw avataropenclaw
獲取
frontend-testing

frontend-testing

128Kdev-testing

Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities. Triggers on testing, spec files, coverage, Vitest, RTL, unit tests, integration tests, or write/review test requests.

langgenius avatarlanggenius
獲取
frontend-code-review

frontend-code-review

127Kdev-testing

Trigger when the user requests a review of frontend files (e.g., `.tsx`, `.ts`, `.js`). Support both pending-change reviews and focused file reviews while applying the checklist rules.

langgenius avatarlanggenius
獲取
code-reviewer

code-reviewer

92Kdev-testing

Use this skill to review code. It supports both local changes (staged or working tree) and remote Pull Requests (by ID or URL). It focuses on correctness, maintainability, and adherence to project standards.

google-gemini avatargoogle-gemini
獲取
session-logs

session-logs

90Kdev-testing

Search and analyze your own session logs (older/parent conversations) using jq.

moltbot avatarmoltbot
獲取