agentleFS
agentsdanceagentsdance/agentskills/skills/markdown-formatter/SKILL.md

markdown-formatter

Skill3 starsChanged 11 months agoApache-2.0View on GitHub

Format and improve Markdown documents. Use when the user needs to clean up markdown, fix formatting issues, or apply consistent styling.

  • Installs packages

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Markdown Formatter

Format and improve Markdown document structure and style.

Formatting Rules

Headings

# Title (H1 - only one per document)

## Main Section (H2)

### Subsection (H3)

#### Detail (H4)

Lists

Unordered:
- Item 1
- Item 2
  - Nested item
  - Another nested

Ordered:
1. First step
2. Second step
3. Third step

Task list:
- [x] Completed task
- [ ] Pending task

Code Blocks

Inline: Use `const` instead of `var`.

Block with language:
```javascript
function hello() {
  console.log('Hello, World!');
}
```

Tables

| Header 1 | Header 2 | Header 3 |
|----------|:--------:|---------:|
| Left     | Center   | Right    |
| Data     | Data     | Data     |

Links and Images

[Link text](https://example.com)
[Link with title](https://example.com "Title")

![Alt text](image.png)
![Alt text](image.png "Image title")

Blockquotes

> This is a quote.
>
> It can span multiple paragraphs.
>
> — Author Name

Style Guidelines

RuleGoodBad
Heading spacingBlank line before/afterNo spacing
List markersConsistent (all - or all *)Mixed markers
Line lengthMax 80-100 charsVery long lines
Trailing spacesNoneSpaces at end
Final newlineYesNo

Markdown Linting

# Install markdownlint
npm install -g markdownlint-cli

# Run linter
markdownlint "**/*.md"

# Fix auto-fixable issues
markdownlint --fix "**/*.md"

.markdownlint.json

{
  "MD013": { "line_length": 100 },
  "MD033": false,
  "MD041": false
}

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.