Run `prettier` on every markdown file after creating or editing it.
Scanned 9/7/2026
Install to Claude Code
npx -y skills add shannonshell/shannon --skill format-markdown --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Format Markdown?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/shannonshell-format-markdown)More formats (shields.io, HTML) on the badges page.
---
name: format-markdown
description:
"Format markdown files with prettier. Use after creating or editing any
markdown file (.md)."
---
# Format Markdown
Run `prettier` on every markdown file after creating or editing it.
## When This Skill Applies
After every Write or Edit to any `.md` file in the project. This includes:
- Issue documents (`issues/*.md`)
- Documentation (`docs/*.md`)
- `README.md` files
- `AGENTS.md` files
- Any other markdown file
## Process
After your edits to a markdown file are complete, run:
```bash
prettier --write --prose-wrap always --print-width 80 <file_path>
```
**IMPORTANT:** Use the `prettier` CLI directly. NEVER use `npx prettier`. The
tool is installed globally — `npx` is unnecessary and slow.
That's it. No other steps needed.
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!