hemsoft/public-skills/markdown
Claude Code and agent skill by hemsoft/public-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"},{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
V1.0 - Expert guidance for markdown linting with markdownlint-cli2, quality enforcement, and best practices. Use when enforcing markdown quality standards.
Install
npx vskill@latest install hemsoft/public-skills/markdownSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
Markdown Expert
Expert guidance for markdown linting, quality enforcement, and documentation best practices.
Markdownlint - Markdown Linter
What is markdownlint?
markdownlint is a static analysis tool that checks markdown files for:
- Style consistency
- Formatting issues
- Common mistakes
- Best practices violations
- Accessibility concerns
Integrated with:
- VS Code extension (real-time feedback)
- Command line (markdownlint-cli2)
- Git pre-commit hooks
- CI/CD pipelines
Installation
markdownlint-cli2 (Node.js-based, recommended):
Verify installation:
Basic Usage
Lint a single file:
Lint all markdown files recursively:
Fix auto-fixable issues:
Custom configuration:
Common Rules
| Rule | Description | Fixable | |
|---|---|---|---|
| MD001 | Heading levels increment by one | No | |
| MD003 | Heading style (ATX/setext) | Yes | |
| MD004 | Unordered list style | Yes | |
| MD009 | Trailing spaces | Yes | |
| MD010 | Hard tabs | Yes | |
| MD012 | Multiple consecutive blank lines | Yes | |
| MD013 | Line length | No | |
| MD022 | Headings surrounded by blank lines | Yes | |
| MD025 | Single top-level heading | No | |
| MD031 | Fenced code blocks surrounded by blank lines | Yes | |
| MD032 | Lists surrounded by blank lines | Yes | |
| MD040 | Fenced code language | No | |
| MD046 | Code block style | Yes | |
| MD047 | File should end with newline | Yes |
Full rule list: <https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md>
Configuration
Create .markdownlint.jsonc in repository root:
VS Code Integration
markdownlint extension provides real-time feedback.
Extension ID: DavidAnson.vscode-markdownlint
Install:
Settings (settings.json):
Best Practices
- Use fenced code blocks with language specifiers
``markdown `powershell Get-Process ` ``
- Consistent heading hierarchy - Don't skip levels
``markdown # H1 ## H2 ### H3 ``
- Surround headings with blank lines
```markdown Previous paragraph.
## Heading
Next paragraph. ```
- End files with newline - Most rules expect this
- Use consistent list markers
- Use
-for unordered lists - Use
1.for ordered lists
- Add language to code blocks
```markdown `javascript console.log('Hello'); ` ```
Common Issues and Fixes
Issue: MD009 - Trailing spaces
Issue: MD012 - Multiple consecutive blank lines
Issue: MD040 - Fenced code language
code here
code here
Issue: MD047 - Files should end with newline
- Most editors do this automatically
- Configure your editor to add final newline
Ignoring Rules
In configuration (.markdownlint.jsonc):
In-file comments (use sparingly):
Note: Only disable rules with good reason. Fix the markdown instead.
Quick Fix Script
Run this to auto-fix common issues:
Quality Standards
All markdown files should adhere to:
- ✅ Consistent heading hierarchy (no skipped levels)
- ✅ Fenced code blocks with language specifiers
- ✅ Proper blank lines around headings, lists, and code blocks
- ✅ No trailing spaces
- ✅ Files end with newline
- ✅ Line length limits (120 chars for content)
- ✅ Consistent list markers
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationPassed, 85 of 100Effective. 1 run. Evaluated 8 months ago.
Source
- SKILL.md in the repositoryCheckingskills/markdown/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 3
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 6 May 2026, 6 months ago.
Extension points
hookPre/post lifecycle hooksconfigConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hemsoft/public-skills/markdown)