baoyu-format-markdown

Standardizes Markdown documents with frontmatter generation, heading hierarchy optimization, CJK spacing, punctuation fixes, and ASCII-to-fullwidth quote replacement using remark-based processing and autocorrect utilities.

3|Updated Jun 27, 2026
One-click install
npx skills add https://github.com/XinAloha/skills --skill baoyu-format-markdown-xinaloha
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-format-markdown
Source: https://github.com/XinAloha/skills/tree/main/content/format-markdown
Command: npx skills add https://github.com/XinAloha/skills --skill baoyu-format-markdown-xinaloha

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires remark-cjk-friendly, remark-frontmatter, remark-gfm, remark-parse, remark-stringify, unified, unist-util-visit, yaml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill resolves inconsistent formatting, poor readability, and lack of structure in markdown documents, ensuring your content is professional and reader-friendly without requiring manual editing.

Core Features & Use Cases

  • Structural Optimization: Automatically generates frontmatter, optimizes heading hierarchies, and converts prose into scannable lists or tables.
  • Typography Refinement: Fixes CJK/English spacing, corrects punctuation emphasis, and replaces ASCII quotes with proper fullwidth typography.
  • Use Case: Use this when you have a raw, unformatted draft or a collection of notes that need to be transformed into a polished, publication-ready article or documentation page.

Quick Start

Run the baoyu-format-markdown skill on your target file to automatically analyze its structure and apply professional formatting and typography fixes.

Frequently Asked Questions about baoyu-format-markdown

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix CJK and English spacing issues in markdown documents?

To fix CJK and English spacing in markdown, this skill applies remark-based processing and autocorrect utilities to automatically adjust typography, correct punctuation emphasis, and replace ASCII quotes with proper fullwidth characters.

What's the best way to automatically generate frontmatter and optimize heading hierarchy in markdown?

The best way to generate frontmatter and optimize heading hierarchy is using markdown formatting automation that analyzes document structure and applies standardized typographic rules without altering original content.

How do I convert raw notes into a scannable markdown article with proper formatting?

You can convert raw notes into a scannable article by running markdown formatting that transforms prose into structured lists or tables, refines typography, and ensures visual consistency for publication-ready documentation.

Does remark support CJK-friendly markdown parsing and stringification?

Yes, remark supports CJK-friendly markdown processing through specialized plugins that parse and stringify documents while maintaining correct spacing and typography rules for Chinese, Japanese, and Korean text.

Can I use this markdown formatting on plain text files or only on existing markdown?

You can use this markdown formatting on both plain text and markdown files, as it operates on raw unformatted drafts to apply structural optimization, frontmatter generation, and typography fixes for professional output.

Why does my markdown formatting not fix inconsistent punctuation and ASCII quotes automatically?

Inconsistent punctuation and ASCII quotes persist without CJK-specific typography rules, but this skill applies autocorrect utilities to replace ASCII quotes with fullwidth typography and correct punctuation emphasis automatically.