Runs mdformat to rewrite Markdown into a consistent CommonMark-oriented layout or check mode in CI. Use it when an agent needs deterministic Markdown diffs before review, migration, or bulk cleanup, not when it needs to generate new content or build a docs site.
Scanned 6/2/2026
Install to Claude Code
npx -y skills add agentskillexchange/skills --skill reformat-markdown-files-into-a-stable-house-style-before-review-or-migration --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Reformat Markdown Files Into A Stable House Style Before Review Or Migration?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-reformat-markdown-files-into-a-stable-house-style-)More formats (shields.io, HTML) on the badges page.
---
name: "Reformat Markdown files into a stable house style before review or migration"
slug: "reformat-markdown-files-into-a-stable-house-style-before-review-or-migration"
description: "Runs mdformat to rewrite Markdown into a consistent CommonMark-oriented layout or check mode in CI. Use it when an agent needs deterministic Markdown diffs before review, migration, or bulk cleanup, not when it needs to generate new content or build a docs site."
github_stars: 758
verification: "security_reviewed"
source: "https://github.com/hukkin/mdformat"
author: "Taneli Hukkinen"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "hukkin/mdformat"
github_stars: 758
---
# Reformat Markdown files into a stable house style before review or migration
Runs mdformat to rewrite Markdown into a consistent CommonMark-oriented layout or check mode in CI. Use it when an agent needs deterministic Markdown diffs before review, migration, or bulk cleanup, not when it needs to generate new content or build a docs site.
## Prerequisites
Python 3, pipx or pip, command line
## Installation
Use the upstream install or setup path that matches your environment:
- pipx install mdformat
- pipx inject mdformat mdformat-gfm
Requirements and caveats from upstream:
- Mdformat is a Unix-style command-line tool as well as a Python library.
- require and enable an extension plugin (multiple
- require and enable a code formatter plugin (multiple
Basic usage or getting-started notes:
- bash
- <!-- end installing -->
- <!-- start cli-usage -->
- Source: https://github.com/hukkin/mdformat
- Extracted from upstream docs: https://raw.githubusercontent.com/hukkin/mdformat/HEAD/README.md
## Documentation
- https://mdformat.readthedocs.io/en/stable/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/reformat-markdown-files-into-a-stable-house-style-before-review-or-migration/)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!