返回顶部
m

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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
741
下载量
0
收藏
概述
安装方式
版本历史

markdown-linter

# Markdown Linter A lightweight tool to validate Markdown files in the workspace. It focuses on ensuring internal consistency, particularly broken file links and missing references. ## Capabilities - **Link Validation**: Checks `[link](path)` references to ensure the target file exists locally. - **Header Check**: Verifies that headers follow a logical hierarchy (e.g., H1 -> H2). - **Code Block Check**: Ensures code blocks have language identifiers where appropriate. ## Usage ```javascript const linter = require('./index'); const results = await linter.scan('.'); // Scans current directory recursively console.log(JSON.stringify(results, null, 2)); ``` ## Output Format ```json { "totalFiles": 15, "brokenLinks": [ { "file": "docs/README.md", "line": 10, "link": "./missing-image.png", "error": "File not found" } ], "syntaxErrors": [] } ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 markdown-linter-1776420073 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 markdown-linter-1776420073 技能

通过命令行安装

skillhub install markdown-linter-1776420073

下载 Zip 包

⬇ 下载 markdown-linter v1.0.0

文件大小: 3.7 KB | 发布时间: 2026-4-17 20:06

v1.0.0 最新 2026-4-17 20:06
Initial release of markdown-linter.

- Validates Markdown files for broken local links and missing file references.
- Checks header hierarchy consistency.
- Ensures code blocks use language identifiers where needed.
- Produces detailed JSON output of issues found.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部