Grow AI Skills Saved
↗ Agent skillCommunity skill

Baoyu Markdown Formatting Skill

Normalize Markdown structure, spacing and typography with local helper scripts.

By Baoyu·Writing

What this skill does

  • Content-aware formatting

    Inspect headings, emphasis, lists and structure before changing a Markdown document.

  • Formatting modes

    Choose broader structure cleanup, preservation of existing structure or typography-only fixes.

  • Local output

    Use the bundled formatter workflow and retain or create a formatted file according to the chosen mode.

What to provide & what you get

Input
An existing Markdown file and formatting preferences
Expected output
A consistently formatted Markdown document

Community source

Upstream source

Open the upstream instructions at the fixed revision used for this resource. Review the source and its supporting files before installing.

Read upstream SKILL.md
File
skills/baoyu-format-markdown/SKILL.md
Revision
1567581c26ec29f4216c6e6835415bf30343b0e3

The downloaded SKILL.md text matches this upstream entrypoint. Review the ZIP’s source and license records for the complete packaging details.

Installation

  1. Download and extract the ZIP. Keep each complete skill folder, including its supporting files. Do not copy only SKILL.md.
  2. Copy the skill folder into your agent's skills directory. Use the project path below for this project, or the personal path for all your projects.

Codex

This project
.agents/skills/baoyu-format-markdown/SKILL.md
All your projects
~/.agents/skills/baoyu-format-markdown/SKILL.md

Claude Code

This project
.claude/skills/baoyu-format-markdown/SKILL.md
All your projects
~/.claude/skills/baoyu-format-markdown/SKILL.md
  1. Check the final path. It must match one of the paths above, with one baoyu-format-markdown/ folder directly under skills/. Avoid an extra ZIP-name folder around it.
  2. Start a new task in your project. Use the matching example below to invoke the installed skill. If it is missing, recheck the folder name and reopen your agent.

Before the first run

  • A Markdown file
  • Bun, or Node.js/npm to run Bun; first-run access to public npm dependencies.

The ZIP installs the skill instructions and bundled files. Any listed software, accounts or external tools need their own setup.

What's in the download

10 files across 1 skill folder. Includes baoyu-format-markdown/SKILL.md and supporting directories:

  • references/
  • scripts/

File integrity (SHA256):

7a08adf8162c9a6066225438582e5894ded480b974762dbbd475568c50011efe

How to use

  1. Provide the Markdown file and say whether structure may change or only typography should be fixed.
  2. Ask for the appropriate formatting mode and preserve the original where required.
  3. Inspect headings, code blocks, links and language-specific spacing in the output.

Try it in your agent

Install first, then attach or provide the inputs described above. Replace any bracketed placeholders before running.

Codex

Use $baoyu-format-markdown.

 Format this Markdown file without changing its factual content and provide a concise change summary.

Claude Code

/baoyu-format-markdown

 Format this Markdown file without changing its factual content and provide a concise change summary.

Check the result: Typography-only mode may modify a file in place, so choose the mode and backup behavior deliberately.

Keep exploring

Related skills & prompts

Browse this category ↗
↗ Skill
WritingGitHub pick

Baoyu Translation

Translate and review long Markdown documents with controlled chunking and terminology.

Codex · Claude Code↓ ZIP