·canghe-format-markdown
</>

canghe-format-markdown

Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beautify article", "add formatting", or improve article layout. Outputs to {filename}-formatted.md.

64Installs·5Trend·@freestylefly

Installation

$npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-format-markdown

How to Install canghe-format-markdown

Quickly install canghe-format-markdown AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-format-markdown
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: freestylefly/canghe-skills.

SKILL.md

View raw

Transforms plain text or markdown files into well-structured markdown with proper frontmatter, formatting, and typography.

Scripts in scripts/ subdirectory. Replace ${SKILLDIR} with this SKILL.md's directory path.

| scripts/main.ts | Main entry point with CLI options (uses remark-cjk-friendly for CJK emphasis) | | scripts/quotes.ts | Replace ASCII quotes with fullwidth quotes | | scripts/autocorrect.ts | Add CJK/English spacing via autocorrect |

Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beautify article", "add formatting", or improve article layout. Outputs to {filename}-formatted.md. Source: freestylefly/canghe-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-format-markdown
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from freestylefly/canghe-skills

Quick answers

What is canghe-format-markdown?

Formats plain text or markdown files with frontmatter, titles, summaries, headings, bold, lists, and code blocks. Use when user asks to "format markdown", "beautify article", "add formatting", or improve article layout. Outputs to {filename}-formatted.md. Source: freestylefly/canghe-skills.

How do I install canghe-format-markdown?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/freestylefly/canghe-skills --skill canghe-format-markdown Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/freestylefly/canghe-skills