d-ouyang/dsh-plugin-md-outline1

dsh-plugin-md-outline

DeepSeek Harness 插件:大纲化并校验 Markdown 文档结构(标题树、层级跳跃、重复标题、未闭合代码块等)。

AI 分析

核心用途是分析和校验 Markdown 文件的结构健康度。适合需要编写长篇 Markdown 文档、技术文档,并希望 Agent 自动检测排版与结构缺陷的创作者。

包名
dsh-plugin-md-outline
版本
0.1.0
许可证
MIT
最近更新
2026年8月14日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:d-ouyang/dsh-plugin-md-outline

Usage

In the Web UI (or any surface with tools), just ask the model:

Outline ~/book/draft.md and 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

NameTypeRequiredNotes
pathstringyesA .md/.markdown/.mdx file, or a directory.
mode'outline' | 'lint' | 'both'noDefault both.
maxDepthnumber (1–6)noLimit outline nesting.
recursivebooleannoScan 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.