/mdsmith-skills:mdsmith-fix [path | .]from mdsmith-skills
Run `mdsmith fix` on Markdown files in the current workspace. Auto-fixes whitespace, headings, code fences, bare URLs, list indentation, table alignment, and generated sections (catalog, include, toc, build) in place, looping until edits stabilize. Trigger when the user asks to "fix my markdown", "run mdsmith fix", "clean up lint", or "regenerate sections".
Ships in mdsmith-skills. 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.
Run mdsmith fix on the argument, defaulting
to . (entire workspace) when no argument is
given.
Locate the workspace root:
git rev-parse --show-toplevel
Run every subsequent command from that path.
Without git, use the current directory.
Detect the mdsmith CLI. Try, in order:
mdsmith version
go run ./cmd/mdsmith version
If only the second succeeds, substitute
go run ./cmd/mdsmith for mdsmith below.
Run the fix:
mdsmith fix -- <path>
where <path> is the skill argument, or .
when none was given.
If the command exits non-zero, surface the full stderr to the user.
Report the fix summary from the last line of
stderr, which reads:
stats: checked=N fixed=N failures=N unfixed=N.
mdsmith fix loops up to 10 passes. It exits
0 even when files change — a non-zero exit
means the CLI itself failed (binary missing,
config parse error, etc.).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub review-bench/jeduden_mdsmith --plugin mdsmith-skills3 skills in this plugin
/mdsmith-checkRun `mdsmith check` on Markdown files in the current workspace and surface lint diagnostics. Useful without the `mdsmith-lsp` plugin — gives the same findings in a text report. Trigger when the user asks to "check my markdown", "run mdsmith check", "lint these files", or "show lint errors"./mdsmith-kindsInspect how mdsmith resolves file kinds in the current workspace. `resolve` shows the effective kind and merged rule config for one file; `list` enumerates all declared kinds. Trigger when the user asks "what kind is this file", "which rules apply here", "show me the kinds", or "resolve this file's config".