Agent Md Refactor

🌐Community
by dirnbauer · vlatest · Repository

Refactors Markdown documents into cleaner, more structured formats using advanced parsing and semantic understanding.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add dirnbauer-agent-md-refactor npx -- -y @trustedskills/dirnbauer-agent-md-refactor
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "dirnbauer-agent-md-refactor": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/dirnbauer-agent-md-refactor"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill refactors markdown documents, improving readability and consistency. It can handle tasks like standardizing headings, correcting common formatting errors, and ensuring proper link syntax. The tool aims to produce cleaner, more professional-looking markdown output from various source documents.

When to use it

  • Cleaning up messy notes: Refactor a collection of hastily written meeting notes or research documentation into a structured format.
  • Standardizing team documentation: Ensure all markdown files within a project adhere to consistent formatting guidelines.
  • Improving website content: Enhance the readability and appearance of markdown-based blog posts or articles before publishing.
  • Preparing documents for conversion: Refactor markdown files prior to converting them into other formats like PDF or HTML.

Key capabilities

  • Markdown refactoring
  • Heading standardization
  • Link syntax correction
  • Formatting error correction

Example prompts

  • "Refactor this markdown document and ensure all headings are in level 2 format."
  • "Clean up the following markdown, correcting any broken links."
  • "Please refactor this markdown to improve readability."

Tips & gotchas

The skill's effectiveness depends on the quality of the input markdown. Heavily malformed or extremely complex documents may require manual adjustments after refactoring.

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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
dirnbauer
Installs
18

🌐 Community

Passed automated security scans.