What problem does it solve?
Maintaining consistent formatting and style in Markdown documents can be time-consuming and prone to human error. This skill automates the process, ensuring all your Markdown files adhere to best practices and project-specific linting rules without manual effort, so "AI works, you rest."
Core Features & Use Cases
- Automated Formatting: Automatically fixes common Markdown style issues and applies consistent formatting.
- Linting & Best Practices: Enforces Markdown linting rules, improving readability and maintainability.
- Configuration Support: Respects existing
.markdownlint.yaml or .markdownlintrc files for project-specific rules.
- Use Case: Before committing documentation updates, an AI agent can use this skill to automatically format all modified
.md files, ensuring they meet project style guidelines and pass CI checks, freeing you from tedious manual review.
Quick Start
Format a specific Markdown file:
./.claude/skills/autofmt-md/scripts/format.sh README.md
Format all Markdown files in a directory:
./.claude/skills/autofmt-md/scripts/format.sh docs/**/*.md