Agent Md Refactor

🌐Community
by duvesalo · vlatest · Repository

Refactors Markdown documents into cleaner, more structured formats using advanced AI 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 duvesalo-agent-md-refactor npx -- -y @trustedskills/duvesalo-agent-md-refactor
2

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

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

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

About This Skill

What it does

This skill, agent-md-refactor, allows AI agents to refactor markdown documents. It can improve readability and consistency by handling things like heading levels, list formatting, and link styles. The agent can also be instructed to apply specific style guidelines or templates during the refactoring process.

When to use it

  • Cleaning up messy documentation: Use it to standardize poorly formatted internal knowledge base articles.
  • Converting between markdown flavors: Transform a document from one markdown dialect (e.g., GitHub Flavored Markdown) to another.
  • Applying style guides: Enforce consistent formatting across a large set of markdown files, ensuring adherence to company branding or editorial guidelines.
  • Automating repetitive editing tasks: Refactor multiple documents at once based on predefined rules and templates.

Key capabilities

  • Markdown refactoring
  • Style guide application
  • Template integration
  • Dialect conversion

Example prompts

  • "Refactor this markdown document to use consistent H2 headings."
  • "Apply the 'company_styleguide.md' template to this file."
  • "Convert this markdown from GitHub Flavored Markdown to CommonMark."

Tips & gotchas

The effectiveness of this skill depends on clear and specific instructions. Providing a sample style guide or template will significantly improve the quality of the 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
duvesalo
Installs
3

🌐 Community

Passed automated security scans.