Initial commit
This commit is contained in:
22
commands/lint-md.md
Normal file
22
commands/lint-md.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
description: Lint markdown files and report issues with line numbers
|
||||
argument-hint: [path]
|
||||
allowed-tools: Bash(markdownlint-cli2:*)
|
||||
model: haiku
|
||||
---
|
||||
|
||||
Run `markdownlint-cli2` to check markdown files for formatting issues.
|
||||
|
||||
Usage examples:
|
||||
- `/lint-md` - Lint all markdown files in current directory
|
||||
- `/lint-md docs/` - Lint files in the docs directory
|
||||
- `/lint-md guides/getting-started.md` - Lint a specific file
|
||||
|
||||
The command reports:
|
||||
- Which files have issues
|
||||
- Line numbers where issues occur
|
||||
- Rule violations and descriptions
|
||||
|
||||
For guidance on rule interpretations and fixes, refer to the markdown-quality skill.
|
||||
|
||||
Do NOT automatically fix issues - this command is for inspection only. Use `/mr-sparkle:fix-md` to apply automatic fixes.
|
||||
Reference in New Issue
Block a user