baoyu-format-markdown
格式化 Markdown 檔案
將純文字和 markdown 檔案轉換為具有適當 frontmatter、排版和格式的結構化文件。輸出乾淨、可直接發布的 markdown,並支援 CJK 語言。
تنزيل ZIP المهارة
رفع في Claude
اذهب إلى Settings → Capabilities → Skills → Upload skill
فعّل وابدأ الاستخدام
اختبرها
استخدام "baoyu-format-markdown". My Article Title This is plain text content. First point is important. Second point matters too.
النتيجة المتوقعة:
已新增包含標題、slug 和摘要的 frontmatter。內容已使用標題層級、關鍵詞組的粗體文字和項目符號列表進行結構化。
استخدام "baoyu-format-markdown". Existing markdown file with minimal formatting
النتيجة المتوقعة:
已增強改善的 frontmatter、一致的標題層級、適當的粗體標記和已套用的排版修正
التدقيق الأمني
مخاطر منخفضةSecurity evaluation confirms this is a legitimate markdown formatting skill. Static findings flagged external command execution (autocorrect-node), filesystem operations, and npm package URLs. All are false positives: execSync runs a known typography tool with CLI-provided paths, file I/O is scoped to user-specified files, and network access is limited to standard npm package downloads.
مشكلات عالية المخاطر (2)
مشكلات متوسطة المخاطر (1)
مشكلات منخفضة المخاطر (2)
عوامل الخطر
⚙️ الأوامر الخارجية (93)
📁 الوصول إلى نظام الملفات (6)
🌐 الوصول إلى الشبكة (91)
درجة الجودة
ماذا يمكنك بناءه
部落格文章格式化
將草稿部落格文章從純文字格式化,或改善現有 markdown 文章的 frontmatter、標題和排版。
文件清理
為技術文件或 readme 檔案套用一致的格式和結構。
CJK 文件準備
修正中文、日文或韓文混合語言 markdown 文件中的空格和強調問題。
جرّب هذه الموجهات
Format the file /path/to/document.md using baoyu-format-markdown skill.
Convert the plain text file /path/to/draft.txt to well-structured markdown with frontmatter and proper headings.
Run typography fixes only on /path/to/article.md without changing the existing markdown structure.
Format /path/to/post.md with all features enabled: frontmatter optimization, typography fixes, and fullwidth quote replacement.
أفضل الممارسات
- 格式化前務必備份原始檔案,因為此技能會建立新的輸出檔案
- 僅在特別需要全形引號排版時才使用 --quotes 旗標
- 對於 CJK 文件,保持啟用空格處理以維持適當的混合語言格式
تجنب
- 不要用於已經有複雜 markdown 的檔案 - 請使用「保留原始格式」選項
- 避免在非常大的檔案上執行,因為格式化程序會處理整個文件
- 不要期望內容產生 - 此技能僅格式化現有內容