cyberneticlibrary

Format markdown with frontmatter and headings

baoyu-format-markdownskillsetup L11,318
anbeime/skill
What it does

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.

Best for

Converting plain text or unformatted markdown into well-structured articles with frontmatter and typography fixes

Inputs
  • · Text file or markdown file
Outputs
  • · {filename}-formatted.md with frontmatter, structure, and typography
Requires
  • · Shell scripts
  • · flutter_bloc package
  • · Markdown parser
Preconditions

Markdown formatter script available; remark-cjk-friendly installed

Failure modes
  • · Title generation not selected by user
  • · Incorrect frontmatter syntax
  • · Typography script fails on special chars
Trust signals
  • · 8-step workflow documented
  • · Content type detection logic provided
  • · Title generation principles listed