Format md

From Takazudo/claude-resources · View interactive version

Format md is an AI agent skill from the GitHub repository Takazudo/claude-resources. Format .md and .mdx files with @takazudo/mdx-formatter. Use for 'format md', 'prettify markdown', 'fix markdown formatting'.

How to use this skill

Skill file

Format Markdown/MDX Files

Format the specified markdown or MDX file(s) using @takazudo/mdx-formatter.

Usage

The user can specify:

Formatter Details

Instructions

  1. If the user provided a file path or pattern, use it directly
  2. If no file was specified, ask the user which file(s) they want to format
  3. Run the formatter using the Bash tool:

```bash

npx @takazudo/mdx-formatter --write <file-path>

```

  1. Report the results to the user

Examples

# Format a single file
npx @takazudo/mdx-formatter --write README.md

# Format multiple files with glob pattern
npx @takazudo/mdx-formatter --write "docs/**/*.md"

Features

The formatter provides:

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.