d-ouyang/dsh-plugin-md-outline ↗★ 1
dsh-plugin-md-outline
DeepSeek Harness plugin: outline and lint Markdown document structure (heading tree, level skips, duplicate headings, unclosed code fences).
AI Analysis
核心用途是分析和校验 Markdown 文件的结构健康度。适合需要编写长篇 Markdown 文档、技术文档,并希望 Agent 自动检测排版与结构缺陷的创作者。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:d-ouyang/dsh-plugin-md-outlineREADME
Read the full 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.