Markdownlint Custom Rules
This skill applies custom Markdownlint rules to your code, ensuring consistent formatting and style for cleaner documentation.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add markdownlint-custom-rules npx -- -y @trustedskills/markdownlint-custom-rules
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"markdownlint-custom-rules": {
"command": "npx",
"args": [
"-y",
"@trustedskills/markdownlint-custom-rules"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The markdownlint-custom-rules skill allows AI agents to enforce custom linting rules when processing Markdown documents. It extends standard markdownlint functionality, enabling users to define and apply specific style and formatting guidelines beyond the default set. This ensures consistency and adherence to project-specific or organizational standards in Markdown content.
When to use it
- Enforcing brand style guides: Ensure all marketing materials written in Markdown consistently adhere to your company's branding guidelines (e.g., heading levels, link styles).
- Project documentation standardization: Maintain a uniform look and feel across technical documentation by applying custom rules for code block formatting or table structure.
- Educational content consistency: Guarantee that student-submitted assignments in Markdown follow specific formatting requirements.
- Automated review workflows: Integrate the skill into CI/CD pipelines to automatically check Markdown files for compliance with defined rules before publication.
Key capabilities
- Custom rule definition: Allows users to define their own markdownlint rules.
- Rule enforcement: Automatically flags and reports violations of custom linting rules.
- Markdown processing: Handles standard Markdown syntax and formatting.
- Extensible configuration: Supports flexible configurations for different projects or environments.
Example prompts
- "Apply my custom markdownlint rules to this document."
- "Check this Markdown file for compliance with the 'no-trailing-whitespace' rule."
- "Enforce a maximum heading level of 3 in this Markdown content."
Tips & gotchas
The skill requires users to first define their custom linting rules, typically through a configuration file. Ensure that the AI agent has access to and understands the location of these custom rule definitions for proper execution.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.