Validates 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.
一个轻量级工具,用于验证工作区中的 Markdown 文件。它专注于确保内部一致性,特别是损坏的文件链接和缺失的引用。
javascript
const linter = require(./index);
const results = await linter.scan(.); // 递归扫描当前目录
console.log(JSON.stringify(results, null, 2));
json
{
totalFiles: 15,
brokenLinks: [
{
file: docs/README.md,
line: 10,
link: ./missing-image.png,
error: 文件未找到
}
],
syntaxErrors: []
}
该技能支持在以下平台通过对话安装:
帮我安装 SkillHub 和 markdown-linter-1776420073 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 markdown-linter-1776420073 技能
skillhub install markdown-linter-1776420073
文件大小: 3.7 KB | 发布时间: 2026-4-17 20:06