/acc:check-doc-linksfrom acc
Validates documentation links by detecting broken relative links, missing anchor targets, malformed URLs, and orphaned documentation files.
Ships in acc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze documentation files for broken links, missing targets, and navigation issues.
<!-- BROKEN: Target file doesn't exist -->
See [installation guide](docs/install.md)
<!-- File docs/install.md not found -->
<!-- BROKEN: Wrong path depth -->
See [API docs](../docs/api.md)
<!-- Should be ./docs/api.md -->
<!-- BROKEN: Case mismatch -->
See [README](readme.md)
<!-- Actual file is README.md -->
<!-- BROKEN: Anchor target doesn't exist in file -->
See [Configuration](#configuration)
<!-- No ## Configuration heading found -->
<!-- BROKEN: Anchor in another file -->
See [API Authentication](docs/api.md#auth)
<!-- docs/api.md exists but has no ## Auth heading -->
<!-- BROKEN: Wrong anchor format -->
See [Setup](#set-up)
<!-- Heading is "## Set Up" → anchor should be #set-up -->
<!-- MALFORMED: Missing protocol -->
See [docs](www.example.com/docs)
<!-- MALFORMED: Space in URL -->
See [guide](docs/getting started.md)
<!-- MALFORMED: Unencoded special characters -->
See [API](docs/api?version=2&format=json)
<!-- File exists but no other doc links to it -->
docs/deprecated-api.md <!-- Not linked from any other .md file -->
docs/internal-notes.md <!-- Not in any navigation/TOC -->
# All markdown links (relative)
Grep: "\]\([^http][^:][^/][^)]+\)" --glob "**/*.md"
# All markdown links (absolute)
Grep: "\]\(https?://[^)]+\)" --glob "**/*.md"
# Anchor links
Grep: "\]\(#[^)]+\)" --glob "**/*.md"
# Cross-file anchor links
Grep: "\]\([^)]+\.md#[^)]+\)" --glob "**/*.md"
# Image references
Grep: "!\[[^\]]*\]\([^)]+\)" --glob "**/*.md"
# HTML links in markdown
Grep: "href=\"[^\"]+\"" --glob "**/*.md"
# Find all relative links
Grep: "\]\(([^http][^)]+)\)" --glob "**/*.md"
# Find all anchor links
Grep: "\]\((#[^)]+)\)" --glob "**/*.md"
For each relative link [text](path):
Glob#anchor, verify heading exists in targetFor each anchor link [text](#heading):
-, remove special chars# List all .md files
Glob: **/*.md
# For each file, check if it's referenced by any other .md
Grep: "filename.md" --glob "**/*.md"
# If referenced by 0 files and not README/CHANGELOG → orphaned
| Pattern | Severity |
|---|---|
| Broken link to critical doc (README, install) | 🔴 Critical |
| Broken relative link | 🟠 Major |
| Broken anchor link | 🟡 Minor |
| Malformed URL | 🟡 Minor |
| Orphaned documentation | 🟡 Minor |
### Link Validation: [Description]
**Severity:** 🔴/🟠/🟡
**Source:** `file.md:line`
**Link:** `[text](target)`
**Type:** Relative/Anchor/External/Image
**Issue:**
[Description — target not found, anchor missing, etc.]
**Fix:**
- Correct path: `[text](correct/path.md)`
- Or remove dead link
## Link Validation Summary
| Metric | Count |
|--------|-------|
| Total links checked | X |
| Valid links | X |
| Broken relative links | X |
| Broken anchors | X |
| Malformed URLs | X |
| Orphaned files | X |
### Broken Links
| Source | Link | Issue |
|--------|------|-------|
| `README.md:45` | `[guide](docs/guide.md)` | File not found |
| `docs/api.md:12` | `[auth](#authentication)` | Anchor not found |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub dykyi-roman/awesome-claude-code --plugin acc283 skills in this plugin
/access-control-knowledgeAccess Control knowledge base. Provides ACL, RBAC, ABAC, ReBAC models, multi-tenancy patterns, and PHP implementations (Symfony Voters, Laravel Gates) for security audits and generation./adr-knowledgeAction-Domain-Responder pattern knowledge base. Provides patterns, antipatterns, and PHP-specific guidelines for ADR (web-specific MVC alternative) audits./adr-templateGenerates Architecture Decision Records (ADR) for PHP projects. Creates structured decision documentation with context, decision, and consequences.Other plugins' skills for the same job