Markdownlint Custom Rule Architect

•
95
•

Enables the creation of bespoke markdownlint rules to enforce project-specific documentation standards and automated formatting fixes.

This skill provides a comprehensive framework for architecting custom markdownlint rules, allowing developers to extend standard linting capabilities with domain-specific logic. It covers the entire lifecycle of rule development, from defining the basic JavaScript object structure to implementing advanced features like markdown-it and micromark parser integration. Users can learn how to report detailed errors, provide precise range-based highlighting, and implement automated 'fixInfo' logic to resolve violations programmatically. Whether you are enforcing naming conventions, validating code block languages, or building asynchronous link checkers, this skill streamlines the process of maintaining high-quality, consistent documentation.

主な機能

0195 GitHub stars
02Asynchronous rule support for external API or filesystem-based validation
03Dual-parser support for token-based (markdown-it) and granular (micromark) analysis
04Standardized JavaScript rule object templates and property mapping
05Automated fix implementation using delete, insert, and replace logic
06Dynamic configuration integration via .markdownlint.json parameters

ユースケース

01Enforcing corporate branding and specific terminology across large documentation repositories
02Automating the migration or repair of legacy Markdown formatting patterns
03Implementing complex validation like broken relative link detection or code block metadata checks