markdown

cardoso-neto's avatarfrom cardoso-neto

Always use this skill when writing or editing markdown files!

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 7, 2026

When & Why to Use This Skill

This Claude skill optimizes the creation and editing of Markdown files by enforcing professional documentation standards and automated linting. It ensures structural consistency through ATX-style headings, contiguous list management, and human-readable folder hierarchies. By integrating markdownlint, the skill identifies and fixes syntax issues, making it an essential tool for developers and technical writers aiming for clean, maintainable, and standardized documentation.

Use Cases

  • Standardizing technical documentation: Automatically apply ATX-style headings and consistent list formatting to ensure a professional look across all project files.
  • Visualizing project structures: Replace hard-to-maintain tree-view code blocks with easily editable bulletpoint lists for folder hierarchies to improve maintainability.
  • Automated linting and quality control: Use markdownlint to detect and auto-fix formatting errors, ensuring compliance with industry-standard Markdown rules (MD013).
  • Concise technical communication: Draft documentation that speaks directly to competent peers, cutting out fluff and focusing on high-density information delivery.
namemarkdown
descriptionAlways use this skill when writing or editing markdown files!

markdown

  • Write like you're explaining to a competent peer, not selling to a novice (no handholding).
    • State facts directly and cut everything that doesn't add information.
    • Assume the reader is smart enough to infer context and figure things out.
  • Use ATX-style headings (i.e., # Heading 1, ## Heading 2, etc.) instead of Setext-style (Heading 1\n=========).
  • Use markdownlint to lint markdown files.
    • markdownlint --disable MD013 -- <somefile.md>
    • if not installed, install with npm install -g markdownlint-cli
    • markdownlint --disable MD013 --fix <somefile.md> to auto-fix issues.

numbered lists should be contiguous

  • Do not attempt to continue numbered lists across titles; examples below.
### title 1

1. thing
2. thing

### title 2
<!-- this does not work; it should start on 1 again -->
3. other thing
4. other thing

represent folder hierarchies with bulletpoints

Avoid using code blocks with tree structures; they're hard to edit and maintain.

project/
├── src/
│   ├── task.py
│   └── config.py
└── pyproject.toml

Prefer bulletpoint lists; they're more easily editable by humans.

  • project/
    • src/
      • task.py
      • config.py
    • pyproject.toml