Marp deck
My agent skills
npx -y skills add tsubakimoto/skills --skill marp-deckAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
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`.
The file declares its own license as Proprietary. LICENSE has complete terms.. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
7.3 KB, as published. Nobody here has run it
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 2
If 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.