From prism-devtools
Validate markdown file references in .claude and .prism directories. Use to find broken links before committing documentation changes.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
Scan markdown files for broken internal links. Returns clean JSON output.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Provides patterns for autonomous Claude Code loops: sequential pipelines, agentic REPLs, PR cycles, de-sloppify cleanups, and RFC-driven multi-agent DAGs. For continuous dev workflows without intervention.
Applies NestJS patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production TypeScript backends with project structure and bootstrap examples.
Scan markdown files for broken internal links. Returns clean JSON output.
# Run from project root
python .prism/plugins/prism-devtools/skills/validate-markdown-refs/scripts/validate-refs.py
# Or with custom directories
python validate-refs.py --directories .claude .prism
# Include archive directories
python validate-refs.py --include-archive
[text](path) and [ref]: path syntaxhttp://, https://, mailto:)#section){{...}}, ${...})plugins/cache directory (duplicates)Returns JSON to stdout. See output format for schema.
Example:
{
"status": "FAIL",
"summary": {
"files_scanned": 127,
"broken_links": 3
},
"broken_links": [
{
"source_file": ".prism/plugins/prism-devtools/skills/README.md",
"line": 58,
"target_path": "./orca-local-setup/SKILL.md",
"error": "File not found"
}
]
}
| Code | Meaning |
|---|---|
| 0 | No broken links found |
| 1 | Broken links found |
| 2 | Script error |
The link-checker agent can invoke this script to verify its findings:
python validate-refs.py
JSON is the default (and only) output format, providing deterministic validation to complement the agent's AI-based scanning.