Install
openclaw skills install markdown-linterValidates Markdown files in the workspace for broken local links, missing file references, and basic syntax issues. Use to maintain documentation integrity and prevent broken references in MEMORY.md or SKILL.md files.
openclaw skills install markdown-linterA lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references.
[link](path) references to ensure the target file exists locally.const linter = require('./index');
const results = await linter.scan('.'); // Scans current directory recursively
console.log(JSON.stringify(results, null, 2));
{
"totalFiles": 15,
"brokenLinks": [
{
"file": "docs/README.md",
"line": 10,
"link": "./missing-image.png",
"error": "File not found"
}
],
"syntaxErrors": []
}