baoyu-format-markdown
Restructure drafts into scannable Markdown without rewriting the author's words
Install
See the repository for setupWhat it does
This skill turns plain text or loosely structured Markdown into a more scannable article. It reads the file, detects whether headings, bold, or frontmatter already exist, and then either proposes a full formatting pass, keeps the current structure, or applies only typography fixes. In the full pass it writes an analysis file, drafts title candidates and a summary, adds or extends YAML frontmatter, and improves headings, bold, lists, tables, code fences, and blockquotes. Only formatting and obvious typos are changed; the underlying wording is meant to stay intact. Output goes to a separate formatted file, with any earlier version backed up first.
It is aimed at writers and editors working with long drafts, particularly Chinese/English mixed text, since the bundled script handles CJK and Latin spacing, CJK emphasis punctuation, and an optional conversion of ASCII quotes to fullwidth quotes. Preferences can be stored in an EXTEND.md file at project, XDG, or home level to skip title or summary prompts.
It needs a Node environment and either bun or npx, and runs as an agent skill such as Claude Code or Codex via npx skills add, or by copying the directory into a project's skill folder. It ships with no third-party service integrations.
Skill files
- SKILL.md
Repository data
- Stars
- 27,823
- Last push
- Nov 20, 2026
- License
- MIT
- Archived
- No
Tools similar to baoyu-format-markdown
FAQ
- What license does baoyu-format-markdown use?
- MIT
- What files are included with baoyu-format-markdown?
- SKILL.md
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/skills/baoyu-format-markdown"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.