技能标识:markdown-linter
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