Format markdown

From shannonshell/shannon · View interactive version

Format markdown is an AI agent skill from the GitHub repository shannonshell/shannon. Format markdown files with prettier. Use after creating or editing any markdown file (.md).

How to use this skill

Skill file

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:

Process

After your edits to a markdown file are complete, run:

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.