markdownlint
Installation
SKILL.md
markdownlint
Commands
| Task | Command |
|---|---|
| Lint everything | pnpm lint |
| Lint only Markdown | pnpm lint:markdownlint |
| Lint a specific file | pnpm exec markdownlint <path> |
| Lint with auto-fix | pnpm exec markdownlint --fix <path> |
Default action: When asked to "lint" or "run markdownlint" without further qualification, run pnpm lint.
Commands and glob patterns vary across projects. Always check
package.jsonscripts before running — the glob passed to markdownlint (e.g."**/*.md") may differ per repo.
Before linting — explore the project first
Before running or modifying markdownlint, explore the project's configuration to understand the effective rule set: