Agent Md Refactor
Refactors markdown documents using davila7's optimized techniques for improved readability, structure, and SEO performance.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add davila7-agent-md-refactor npx -- -y @trustedskills/davila7-agent-md-refactor
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"davila7-agent-md-refactor": {
"command": "npx",
"args": [
"-y",
"@trustedskills/davila7-agent-md-refactor"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill helps AI agents refactor Markdown files, improving structure, formatting, and readability. It can reorganize headers, clean up lists, fix code blocks, and ensure consistent styling across documents.
When to use it
- You need to standardize a large collection of Markdown files for documentation or publishing.
- Your Markdown content has inconsistent formatting that needs correction.
- You want to improve the readability of technical documentation before sharing with others.
- You're preparing Markdown files for version control and want them cleaned up beforehand.
Key capabilities
- Reorganizes headers and subheaders for better hierarchy.
- Cleans up unordered and ordered lists for consistency.
- Fixes formatting issues in code blocks and inline syntax.
- Ensures consistent use of markdown elements like bold, italics, and links.
Example prompts
- "Refactor this Markdown file to improve readability."
- "Clean up the headers and lists in this document."
- "Ensure all code blocks are properly formatted with triple backticks."
Tips & gotchas
- This skill works best on well-formed Markdown files; highly unstructured content may require manual review.
- Always make a backup of your original file before running a refactor to avoid unintended changes.
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.