markdown-content-formatter
Installation
SKILL.md
Markdown Content Formatter
Structure, validate, and format long-form markdown content for documentation, blogs, and static site generators. Auto-generate tables of contents, add frontmatter, validate structure, and convert between markdown flavors.
Workflow
The markdown formatting process follows these steps:
- Load - Read markdown file or content
- Validate - Check heading hierarchy, broken links, structure issues
- Format - Apply formatting rules (spacing, code blocks, etc.)
- Generate - Add TOC, frontmatter, cross-references
- Export - Save in target markdown flavor
Quick Start
from scripts.markdown_formatter import MarkdownFormatter