No slash command · from markdown
Use when navigating markdown link targets, finding what links to a heading or file before renaming/removing it, or getting a heading outline of a large markdown document. Covers which LSP tool operations marksman actually supports for markdown.
Ships in markdown. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This plugin registers marksman
as the LSP server for .md/.mdx files (see .lsp.json), making Claude
Code's LSP tool usable on markdown. This skill covers which LSP
operations actually work against markdown, and when to reach for them
instead of grepping or reading whole files by hand.
Marksman must be installed on the host (brew install marksman). If
the LSP tool errors saying no server is available for the file
type, marksman isn't installed or isn't on PATH — fall back
to Grep/Read rather than retrying.
The LSP tool exposes 9 operations. Marksman implements the first 5
meaningfully for markdown documents; the other 4 are code-oriented
LSP methods it does not implement for prose.
| Operation | What it does | Use it when |
|---|---|---|
documentSymbol | Heading outline of a file | Get a doc's structure fast |
workspaceSymbol | Fuzzy-matched heading search | Find a heading by name |
goToDefinition | Resolves a link/anchor target | Check a target before use |
findReferences | Finds links to a heading/file | Dead-link check on rename |
hover | Preview of a link's target content | Quick look, skip opening it |
documentSymbol on plugins/markdown/README.md
returns its headings (## What This Plugin Provides, ### Commands,
etc.) — faster than reading the full file when you only need
structure.workspaceSymbol with
query: "install" surfaces the ## Installation heading and its
file, even without knowing which SKILL.md/README.md it's in.goToDefinition on a [[Some Heading]]
wiki-link or a reference-style [text][ref] jumps straight to the
target heading/definition instead of grepping for it.findReferences on a heading
in docs/setup.md before renaming it shows every other doc that
links there, so you can update them all.Marksman supports these as an LSP server, but the LSP tool doesn't
expose the underlying LSP methods/notifications for them — don't try
to reach them through LSP, use the alternative:
markdownlint (already wired via this
plugin's hooks) for the overlap it covers.Edit/Grep to rename a heading or
file and update its references manually; findReferences (above)
tells you what needs updating.LSP; write the TOC by hand if needed.goToImplementation, prepareCallHierarchy, incomingCalls,
outgoingCalls are code-oriented LSP methods (interfaces, call
graphs) that don't have a markdown analog. Marksman doesn't
implement them — calling these operations against a markdown file
will error or return nothing. Don't use them here.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin markdown8 skills in this plugin
/lintUse when the user asks to "lint markdown", "fix markdown lint errors", "run markdownlint", or wants markdownlint run over docs this session never touched. Lints and auto-fixes markdown files, including pre-existing ones./markdown-documentationUse when writing technical documentation, READMEs, changelogs, or API docs in markdown. Covers structure, conventions, and best practices./markdownlint-configurationUse when configuring markdownlint — writing a .markdownlint.json/.jsonc/.yaml config, enabling or disabling specific MD rules, suppressing a rule inline, or setting up style inheritance via extends./markdownlint-custom-rulesUse when writing a custom markdownlint rule — defining the rule object, walking the markdown-it or micromark token stream, reporting errors with onError, or adding fixInfo for automatic fixing./markdownlint-integrationUse when wiring markdownlint into a workflow — markdownlint-cli/cli2 flags, the programmatic Node API, a CI pipeline or pre-commit hook, or editor integration./markdown-syntax-fundamentalsUse when writing or editing markdown files. Covers headings, text formatting, lists, links, images, code blocks, and blockquotes.