agentleFS
chinhsichinhsi/claude-skills/md2pptx/SKILL.md

md2pptx

Skill0 starsChanged 6 months agoMITView on GitHub

Convert Markdown to PowerPoint. Use when user wants to convert MD to PPT, create slides from markdown, or mentions "轉簡報", "轉PPT", "md2pptx".

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Read tool to examine the file content.

    line 20
  2. Distinctive:

    Before conversion, verify and fix these issues:

    line 24
  3. Distinctive:

    Use Edit tool to fix any formatting issues before conversion.

    line 56

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Markdown to PowerPoint Conversion

Convert a Markdown file to PowerPoint presentation using pandoc.

When to Use

  • User wants to convert Markdown to PowerPoint/PPT
  • User mentions "轉簡報", "轉 PPT", "md2pptx"
  • User asks to create slides from a markdown file

Instructions

1. Read the Markdown File

Use Read tool to examine the file content.

2. Format Check (Critical)

Before conversion, verify and fix these issues:

A. Bold text with colon followed by list must have blank line:

❌ Wrong:
**重點**:
- item 1
- item 2

✅ Correct:
**重點**:

- item 1
- item 2

B. YAML header should be present:

---
title: "Presentation Title"
author: "Author Name"
date: "2025-01-01"
---

C. Heading levels for slides:

  • # = Section title (new section)
  • ## = Slide title (new slide)
  • ### = Content heading within slide

3. Fix Issues If Found

Use Edit tool to fix any formatting issues before conversion.

4. Run Pandoc Conversion

pandoc "<input_file>.md" -o "<output_file>.pptx" --slide-level=2

With custom template (optional):

pandoc "<input_file>.md" -o "<output_file>.pptx" --slide-level=2 --reference-doc="template.pptx"

5. Report Result

✅ 轉換完成!

| 項目 | 結果 |
|------|------|
| 輸入 | {input_file} |
| 輸出 | {output_file} |
| 格式修正 | {fixes_made or "無"} |

檔案位置:{full_output_path}

Common Issues & Fixes

問題解決方案
列表不顯示在 **標題**: 後加空行
投影片分頁錯誤檢查標題層級 (##)
中文亂碼確認檔案為 UTF-8
圖片不顯示使用絕對路徑或確認相對路徑正確

Example Usage

/md2pptx 演講稿.md
/md2pptx /Users/yourname/Documents/presentation.md

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.