d-ouyang/dsh-plugin-md-outline ↗★ 1
dsh-plugin-md-outline
DeepSeek Harness 插件:大纲化并校验 Markdown 文档结构(标题树、层级跳跃、重复标题、未闭合代码块等)。
AI 分析
核心用途是分析和校验 Markdown 文件的结构健康度。适合需要编写长篇 Markdown 文档、技术文档,并希望 Agent 自动检测排版与结构缺陷的创作者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:d-ouyang/dsh-plugin-md-outline说明文档
阅读完整 README ↗Usage
In the Web UI (or any surface with tools), just ask the model:
Outline
~/book/draft.mdand tell me about structural issues.
Or call it directly in Code Mode:
await tools.md_outline({ path: '~/book/draft.md', mode: 'both' })
await tools.md_outline({ path: '~/skills', mode: 'lint', recursive: true })
await tools.md_outline({ path: '~/notes/spec.md', mode: 'outline', maxDepth: 2 })
Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
path | string | yes | A .md/.markdown/.mdx file, or a directory. |
mode | 'outline' | 'lint' | 'both' | no | Default both. |
maxDepth | number (1–6) | no | Limit outline nesting. |
recursive | boolean | no | Scan subdirectories when path is a dir (default true). |
The canonical return value is structured ({ files, summary }) for programmatic
use in Code Mode; the model-facing card shows the human-readable summary.