marp-deck
Skill2 starsChanged 8 months agoMITView on GitHub
Use this skill whenever the user wants to create, outline, rewrite, or organize a presentation in Marp or Marpit Markdown. Trigger on requests to turn notes, docs, READMEs, specs, or outlines into slide Markdown; set up `marp: true` frontmatter; choose slide structure, directives, backgrounds, speaker flow, asset folders, or export commands; or build a new Markdown slide deck from scratch. Use it even when the user says 'presentation', 'deck', or 'slides' without naming Marp explicitly but the desired output is a Marp Markdown deck. If the task is mainly theme CSS or visual restyling, also consult `marp-css`.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- francoisdp/skillstheir own version, first seen Oct 22, 2026
- unsolublesugar/marp-slides-studiotheir own version, first seen Aug 2, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- francoisdp/skills★ 2same name
- unsolublesugar/marp-slides-studio★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- azure-paas-supportSkill
- azure-resource-abbreviationsSkill
- backlog-apiSkill
- csharp-file-based-appsSkill
- dependabot-auto-mergeSkill
- devblog-updatesSkill
- github-changelogSkill
- github-entra-federated-credentialsSkill
- git-worktreeSkill
- hatena-blog-publisherSkill
- marp-cssSkill
- summarized-postSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
25 rules. About 0 are common, 15 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill to create or reshape a slide deck in Marp Markdown.
- Distinctive: line 31
Write one clear idea per slide.
- Distinctive: line 33
Use relative paths for images and themes so the deck works across preview and export workflows.
- Very specific: line 34
Keep styling lightweight in the Markdown itself.
- Distinctive: line 40
Use frontmatter when creating a deck unless the user already has a preferred format.
- Very specific: line 57
Use --- between slides.
- Very specific: line 69
If the source document is plain Markdown with consistent headings, headingDivider can be cleaner than inserting rulers everywhere.
- Distinctive: line 87
Use spot directives with a leading underscore when the change should affect only one slide.
- Distinctive: line 96
Use Marpit image syntax instead of HTML hacks when it expresses the layout clearly.
- Distinctive: line 112
Prefer 1 message per slide.
- Distinctive: line 113
Keep bullets short and parallel.
- Distinctive: line 116
Use section divider slides to reset attention in longer decks.
- Very specific: line 120
Use <style scoped> only for a one-slide exception.
- Distinctive: line 121
Use a shared theme CSS file for repeated styling.
- Very specific: line 122
If styling becomes a main task, route that work to marp-css.
- Distinctive: line 173
Use it like this:
- Very specific: line 182
If the workspace uses Marp for VS Code and custom themes, register theme files in .vscode/settings.json with markdown.marp.themes.
- Distinctive: line 186
When the user wants deck content, produce:
- Distinctive: line 193
When the user wants a plan before writing slides, provide:
- Distinctive: line 201
Prefer the simplest workflow already available in the workspace.
- Very specific: line 205
Add marp: true in frontmatter.
- Distinctive: line 206
Use the preview while editing.
- Very specific: line 219
If local images must be resolved during browser-based export, --allow-local-files may be required for trusted content.
- Very specific: line 231
Read references/marp-authoring-reference.md for exact syntax reminders and directory guidance.
- Very specific: line 232
Start from assets/starter-deck.md when the user needs a clean Marp scaffold fast.
≈ “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.
Files
Marp Deck Authoring
Use this skill to create or reshape a slide deck in Marp Markdown. Focus on slide structure, Markdown authoring, directives, asset organization, and export workflow.
Quick routing
| Situation | What to do |
| Create a new Marp deck from scratch | Start from assets/starter-deck.md, then adapt the flow and content. |
| Turn an existing doc into slides | Use headingDivider if the source is already well-structured, otherwise rewrite into slide-sized chunks. |
| User needs theme CSS or a custom visual system | Use this skill for deck structure, and consult marp-css for theme work. |
| User wants export commands or local preview | Give Marp CLI or Marp for VS Code guidance. |
| User mentions folders, assets, or project layout | Use the recommended directory layout in this skill. |
Workflow
- Inspect the source material before writing slides.
- Infer the audience, goal, and presentation length from the prompt and files.
- Decide the deck shape before drafting:
- title / hook
- context or problem
- evidence or analysis
- proposal / solution
- next steps / summary
- Write one clear idea per slide. Prefer strong headings over dense paragraphs.
- Set up Marp frontmatter and directives early so the deck is runnable immediately.
- Use relative paths for images and themes so the deck works across preview and export workflows.
- Keep styling lightweight in the Markdown itself. If the user needs reusable styling or a redesign, hand that part to
marp-css.
Authoring rules
1. Start with valid Marp frontmatter
Use frontmatter when creating a deck unless the user already has a preferred format.
---
marp: true
theme: default
paginate: true
---marp: trueenables Marp features in Marp for VS Code.themeselects the active theme.paginateenables page numbers when the theme supports them.- For Marp Core decks,
sizeis available as a global directive, such assize: 4:3.
2. Separate slides with rulers
Use --- between slides.
# Slide 1
Content
---
# Slide 2If the source document is plain Markdown with consistent headings, headingDivider can be cleaner than inserting rulers everywhere.
---
marp: true
headingDivider: 2
---3. Use directives deliberately
Useful directives to reach for first:
- global:
theme,style,headingDivider,lang - local:
paginate,header,footer,class - slide styling:
backgroundColor,backgroundImage,backgroundSize,color - Marp Core additions:
size,math
Use spot directives with a leading underscore when the change should affect only one slide.
<!-- _class: lead -->
<!-- _paginate: false -->4. Prefer slide-native image syntax
Use Marpit image syntax instead of HTML hacks when it expresses the layout clearly.



![bg]sets a slide background.left/rightcreate split-background layouts.left:33%orright:40%controls split width.w:/h:set image size with stable units.
5. Keep slides presentation-sized
- Prefer 1 message per slide.
- Keep bullets short and parallel.
- Split crowded slides instead of shrinking text.
- Convert long prose into headings, short bullets, tables, diagrams, or comparison layouts.
- Use section divider slides to reset attention in longer decks.
6. Use inline style sparingly
- Use
<style scoped>only for a one-slide exception. - Use a shared theme CSS file for repeated styling.
- If styling becomes a main task, route that work to
marp-css.
Recommended deck structures
Story-first business deck
- Title / promise
- Why this matters now
- Current state or problem
- Evidence / data / examples
- Proposed approach
- Impact / tradeoffs
- Next steps
Technical explanation deck
- Title / scope
- System context
- Current architecture or problem
- Key design decisions
- Flow, sequence, or API examples
- Risks and mitigations
- Rollout / action items
Training or workshop deck
- Title / objective
- Audience prerequisites
- Agenda
- Concepts
- Demo or worked example
- Practice or checklist
- Summary / references
Recommended directory layout
This is a practical convention for Marp projects, not an official requirement.
slides/
deck.md
themes/
brand.css
images/
hero.png
diagrams/
data/
snippets/
exports/Use it like this:
slides/deck.md: main deck entry pointslides/themes/: reusable Marp theme CSSslides/images/: screenshots, diagrams, logos, photographyslides/data/: CSV or JSON used to generate charts or tablesslides/snippets/: reused Markdown fragments or raw HTML fragments if the workflow needs themslides/exports/: generated.html,.pdf,.pptx, or images
If the workspace uses Marp for VS Code and custom themes, register theme files in .vscode/settings.json with markdown.marp.themes.
Output requirements
When the user wants deck content, produce:
- The Marp Markdown deck.
- Any required frontmatter or directives.
- Relative asset paths that match the workspace layout.
- Brief notes about missing assets or placeholders only when needed.
When the user wants a plan before writing slides, provide:
- the deck outline,
- the intended slide count,
- any assumptions about audience or tone.
Export and preview guidance
Prefer the simplest workflow already available in the workspace.
Marp for VS Code
- Add
marp: truein frontmatter. - Use the preview while editing.
- Export from the Marp command if the extension is installed.
Marp CLI
npx @marp-team/marp-cli@latest slides/deck.md
npx @marp-team/marp-cli@latest slides/deck.md --pdf -o slides/exports/deck.pdf
npx @marp-team/marp-cli@latest slides/deck.md --pptx -o slides/exports/deck.pptx- HTML export is the default.
- PDF, PPTX, and image export require a supported browser.
- If local images must be resolved during browser-based export,
--allow-local-filesmay be required for trusted content.
Avoid
- Writing document-length prose onto slides.
- Mixing too many layout ideas on one slide.
- Using absolute-position HTML for ordinary content when Markdown or Marp image syntax is enough.
- Treating the recommended directory layout as mandatory.
- Solving a theme-design problem only with Markdown structure when
marp-cssis the better tool.
Bundled resources
- Read
references/marp-authoring-reference.mdfor exact syntax reminders and directory guidance. - Start from
assets/starter-deck.mdwhen the user needs a clean Marp scaffold fast.
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
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.

