jimliu/baoyu-skills@baoyu-format-markdown

Format plain text and Markdown files into structured Markdown with frontmatter and typographic fixes.

9|2|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/AllBeingsFuture/AllBeingsFuture --skill jimliu-baoyu-skills-baoyu-format-markdown-allbeingsfuture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jimliu/baoyu-skills@baoyu-format-markdown
Source: https://github.com/AllBeingsFuture/AllBeingsFuture/tree/main/electron/embedded-assets/skills/baoyu-format-markdown
Command: npx skills add https://github.com/AllBeingsFuture/AllBeingsFuture --skill jimliu-baoyu-skills-baoyu-format-markdown-allbeingsfuture

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires remark-cjk-friendly.

What problem does it solve?

Converts unstructured plain text or partially formatted Markdown into consistent, readable Markdown by adding or repairing frontmatter, headings, lists, emphasis, code blocks, and CJK typography corrections so content is publication-ready.

Core Features & Use Cases

  • Frontmatter handling: Detects existing YAML frontmatter or creates one, infers slug and generates a concise summary.
  • Title and structure management: Extracts H1 into frontmatter or suggests titles and normalizes headings to avoid duplication.
  • Formatting and typography: Converts parallel text into lists, marks keywords in bold, normalizes code blocks and blockquotes, and runs post-processing scripts for CJK/English spacing, emphasis fixes, and optional quote replacement.
  • Use cases: Ideal for bloggers, documentation writers, and technical authors who want to clean drafts or convert plain text into well-structured Markdown for publishing.

Quick Start

Run the formatter on your draft to produce a formatted copy with updated frontmatter and typography fixes.

Frequently Asked Questions about jimliu/baoyu-skills@baoyu-format-markdown

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

FAQPage Schema
How do I convert plain text drafts into structured Markdown with frontmatter?

To convert plain text drafts into structured Markdown, run the formatter on your document to automatically generate YAML frontmatter, extract titles, and apply typography corrections for a publication-ready result.

What is the best way to fix CJK and English spacing issues in Markdown files?

The best way to fix CJK and English spacing issues is to apply post-processing scripts that automatically correct typographic spacing between CJK characters and Latin letters, preserving your original text while adding formatting.

Can I automatically generate YAML frontmatter and slug for unstructured articles?

Yes, you can generate YAML frontmatter and slugs automatically by running the formatter on unstructured articles, which detects existing frontmatter or creates one while inferring the slug and a concise summary.

How does remark-cjk-friendly handle typography corrections for CJK content?

Remark-cjk-friendly handles typography corrections by executing post-processing scripts that normalize spacing between CJK and English text, fix emphasis formatting, and optionally replace quotes without altering your original content.

When do I need to normalize headings and lists in Markdown documentation?

You need to normalize headings and lists in Markdown documentation when converting parallel plain text content, extracting H1 into frontmatter, and avoiding heading duplication to ensure the document is consistently structured for publishing.

Does this Markdown formatter preserve original text when adding emphasis and code blocks?

Yes, this Markdown formatter preserves original text while adding formatting, meaning it marks keywords in bold, normalizes code blocks and blockquotes, and runs post-processing scripts without rewriting your underlying content.