Marp slide skill

Create professional Marp presentation slides with 7 beautiful themes (default, minimal, colorful, dark, gradient, tech, business).

by davila7·MIT license·★ 32,299 Stars on the repo·GitHub ↗

Use now

Files of Marp slide

davila7/main1 file shown
SKILL.md
Show the full text238 lines

Marp Slide Creator

Create professional, visually appealing Marp presentation slides with 7 pre-designed themes and built-in best practices.

When to Use This Skill

Use this skill when the user:

  • Requests to create presentation slides or Marp documents
  • Asks to "make slides look good" or "improve slide design"
  • Provides vague instructions like "良い感じにして" (make it nice) or "かっこよく" (make it cool)
  • Wants to create lecture or seminar materials
  • Needs bullet-point focused slides with occasional images

Quick Start

Step 1: Select Theme

First, determine the appropriate theme based on the user's request and content.

Quick theme selection:

  • Technical/Developer content → tech theme
  • Business/Corporate → business theme
  • Creative/Event → colorful or gradient theme
  • Academic/Simple → minimal theme
  • General/Unsure → default theme
  • Dark background preferred → dark or tech theme

For detailed theme selection guidance, read references/theme-selection.md.

Step 2: Create Slides
  1. Read relevant references first:

    • Always start by reading references/marp-syntax.md for basic syntax
    • For images: references/image-patterns.md (official Marpit image syntax)
    • For advanced features (math, emoji): references/advanced-features.md
    • For custom themes: references/theme-css-guide.md
  2. Copy content from the appropriate template file:

    • assets/template-basic.md - Default theme (most common)
    • assets/template-minimal.md - Minimal theme
    • assets/template-colorful.md - Colorful theme
    • assets/template-dark.md - Dark mode theme
    • assets/template-gradient.md - Gradient theme
    • assets/template-tech.md - Tech/code theme
    • assets/template-business.md - Business theme
  3. Read references/best-practices.md for quality guidelines

  4. Structure content following best practices:

    • Title slide with <!-- _class: lead -->
    • Concise h2 titles (5-7 characters in Japanese)
    • 3-5 bullet points per slide
    • Adequate whitespace
  5. Add images if needed using patterns from references/image-patterns.md

  6. Save to the project output directory with .md extension

Available Themes

1. Default Theme

Colors: Beige background, navy text, blue headings Style: Clean, sophisticated with decorative lines Use for: General seminars, lectures, presentations Template: template-basic.md

2. Minimal Theme

Colors: White background, gray text, black headings Style: Minimal decoration, wide margins, light fonts Use for: Content-focused presentations, academic talks Template: template-minimal.md

3. Colorful & Pop Theme

Colors: Pink gradient background, multi-color accents Style: Vibrant gradients, bold fonts, rainbow accents Use for: Youth-oriented events, creative projects Template: template-colorful.md

4. Dark Mode Theme

Colors: Black background, cyan/purple accents Style: Dark theme with glow effects, eye-friendly Use for: Tech presentations, evening talks, modern look Template: template-dark.md

5. Gradient Background Theme

Colors: Purple/pink/blue/green gradients (varies per slide) Style: Different gradient per slide, white text, shadows Use for: Visual-focused, creative presentations Template: template-gradient.md

6. Tech/Code Theme

Colors: GitHub-style dark background, blue/green accents Style: Code fonts, Markdown-style headers with # symbols Use for: Programming tutorials, tech meetups, developer content Template: template-tech.md

7. Business Theme

Colors: White background, navy headings, blue accents Style: Corporate presentation style, top border, table support Use for: Business presentations, proposals, reports Template: template-business.md

Creating Slides Process

Basic Workflow
  1. Understand requirements

    • Identify content: title, topics, key points
    • Determine target audience
    • Assess formality level
  2. Select theme

    • Use quick selection rules above
    • If uncertain, consult references/theme-selection.md
    • Default to default theme if still unsure
  3. Apply template

    • Load appropriate template from assets/
    • CSS is already embedded - no external files needed
    • Maintain template structure
  4. Structure content

    • Title slide: <!-- _class: lead --> + h1
    • Content slides: h2 title + bullet points
    • Keep titles to 5-7 characters (Japanese)
    • Use 3-5 bullet points per slide
  5. Refine quality

    • Read references/best-practices.md
    • Ensure adequate whitespace
    • Maintain consistency
    • Keep text concise (15-25 chars per line)
  6. Add images

    • If needed, consult references/image-patterns.md
    • Common: ![bg right:40%](image.png) for side images
    • Use proper Marp image syntax
  7. Output file

    • Save to the project output directory
    • Use descriptive filename like presentation.md

Handling "Make It Look Good" Requests

When users give vague instructions like "良い感じにして", "かっこよく", or "make it cool":

  1. Infer theme from content:

    • Business content → business theme
    • Technical content → tech or dark theme
    • Creative content → gradient or colorful theme
    • General → default theme
  2. Apply best practices automatically:

    • Shorten titles to 5-7 characters
    • Limit bullet points to 3-5 items
    • Add adequate whitespace
    • Use consistent structure
  3. Enhance visual hierarchy:

    • Use h3 for sub-sections when appropriate
    • Break up dense text into multiple slides
    • Ensure logical flow (intro → body → conclusion)
  4. Maintain professional tone:

    • Match formality to content
    • Use parallel structure in lists
    • Keep technical terms consistent

Image Integration

For slides with images, consult references/image-patterns.md for detailed syntax.

Common patterns:

  • Side image: ![bg right:40%](image.png) - Image on right, text on left
  • Centered: ![w:600px](image.png) - Centered with specific width
  • Full background: ![bg](image.png) - Full-screen background
  • Multiple images: Multiple ![bg] declarations

Example lecture pattern:

## Slide Title

![bg right:40%](diagram.png)

- Explanation point 1
- Explanation point 2
- Explanation point 3

File Output

Always save the final Marp file to the project output directory with .md extension:

  • presentation.md
  • seminar-slides.md
  • lecture-materials.md

Quality Checklist

Before delivering slides, verify:

  • Theme selected appropriately for content
  • CSS theme is embedded in the file
  • Title slide uses <!-- _class: lead -->
  • All h2 titles are concise (5-7 chars)
  • Bullet points are 3-5 items per slide
  • Images use proper Marp syntax
  • File saved to outputs directory
  • Content follows best practices

References

Core Documentation
  • Marp syntax: references/marp-syntax.md - Basic Marp/Marpit syntax (directives, frontmatter, pagination, etc.)
  • Image patterns: references/image-patterns.md - Official image syntax (bg, filters, split backgrounds)
  • Theme CSS guide: references/theme-css-guide.md - How to create custom themes based on Marpit specification
  • Advanced features: references/advanced-features.md - Math, emoji, fragmented lists, Marp CLI, VS Code
  • Official themes: references/official-themes.md - default, gaia, uncover themes documentation
Quality & Selection Guides
  • Theme selection: references/theme-selection.md - How to choose the right theme for content
  • Best practices: references/best-practices.md - Quality guidelines for "cool" slides
Templates & Assets
  • Templates: assets/template-*.md - Starting points with embedded CSS for each theme (7 themes)
  • Standalone CSS: assets/theme-*.css - CSS files for reference (already embedded in templates)
1---
2name: marp-slide
3description: Create professional Marp presentation slides with 7 beautiful themes (default, minimal, colorful, dark, gradient, tech, business). Use when users request slide creation, presentations, or Marp documents. Supports custom themes, image layouts, and "make it look good" requests with automatic quality improvements.
4---
5 
6# Marp Slide Creator
7 
8Create professional, visually appealing Marp presentation slides with 7 pre-designed themes and built-in best practices.
9 
10## When to Use This Skill
11 
12Use this skill when the user:
13- Requests to create presentation slides or Marp documents
14- Asks to "make slides look good" or "improve slide design"
15- Provides vague instructions like "良い感じにして" (make it nice) or "かっこよく" (make it cool)
16- Wants to create lecture or seminar materials
17- Needs bullet-point focused slides with occasional images
18 
19## Quick Start
20 
21### Step 1: Select Theme
22 
23First, determine the appropriate theme based on the user's request and content.
24 
25**Quick theme selection:**
26- **Technical/Developer content** → tech theme
27- **Business/Corporate** → business theme
28- **Creative/Event** → colorful or gradient theme
29- **Academic/Simple** → minimal theme
30- **General/Unsure** → default theme
31- **Dark background preferred** → dark or tech theme
32 
33For detailed theme selection guidance, read `references/theme-selection.md`.
34 
35### Step 2: Create Slides
36 
371. **Read relevant references first**:
38 - Always start by reading `references/marp-syntax.md` for basic syntax
39 - For images: `references/image-patterns.md` (official Marpit image syntax)
40 - For advanced features (math, emoji): `references/advanced-features.md`
41 - For custom themes: `references/theme-css-guide.md`
42 
432. Copy content from the appropriate template file:
44 - `assets/template-basic.md` - Default theme (most common)
45 - `assets/template-minimal.md` - Minimal theme
46 - `assets/template-colorful.md` - Colorful theme
47 - `assets/template-dark.md` - Dark mode theme
48 - `assets/template-gradient.md` - Gradient theme
49 - `assets/template-tech.md` - Tech/code theme
50 - `assets/template-business.md` - Business theme
51 
523. Read `references/best-practices.md` for quality guidelines
53 
544. Structure content following best practices:
55 - Title slide with `<!-- _class: lead -->`
56 - Concise h2 titles (5-7 characters in Japanese)
57 - 3-5 bullet points per slide
58 - Adequate whitespace
59 
605. Add images if needed using patterns from `references/image-patterns.md`
61 
626. Save to `the project output directory` with `.md` extension
63 
64## Available Themes
65 
66### 1. Default Theme
67**Colors**: Beige background, navy text, blue headings
68**Style**: Clean, sophisticated with decorative lines
69**Use for**: General seminars, lectures, presentations
70**Template**: `template-basic.md`
71 
72### 2. Minimal Theme
73**Colors**: White background, gray text, black headings
74**Style**: Minimal decoration, wide margins, light fonts
75**Use for**: Content-focused presentations, academic talks
76**Template**: `template-minimal.md`
77 
78### 3. Colorful & Pop Theme
79**Colors**: Pink gradient background, multi-color accents
80**Style**: Vibrant gradients, bold fonts, rainbow accents
81**Use for**: Youth-oriented events, creative projects
82**Template**: `template-colorful.md`
83 
84### 4. Dark Mode Theme
85**Colors**: Black background, cyan/purple accents
86**Style**: Dark theme with glow effects, eye-friendly
87**Use for**: Tech presentations, evening talks, modern look
88**Template**: `template-dark.md`
89 
90### 5. Gradient Background Theme
91**Colors**: Purple/pink/blue/green gradients (varies per slide)
92**Style**: Different gradient per slide, white text, shadows
93**Use for**: Visual-focused, creative presentations
94**Template**: `template-gradient.md`
95 
96### 6. Tech/Code Theme
97**Colors**: GitHub-style dark background, blue/green accents
98**Style**: Code fonts, Markdown-style headers with # symbols
99**Use for**: Programming tutorials, tech meetups, developer content
100**Template**: `template-tech.md`
101 
102### 7. Business Theme
103**Colors**: White background, navy headings, blue accents
104**Style**: Corporate presentation style, top border, table support
105**Use for**: Business presentations, proposals, reports
106**Template**: `template-business.md`
107 
108## Creating Slides Process
109 
110### Basic Workflow
111 
1121. **Understand requirements**
113 - Identify content: title, topics, key points
114 - Determine target audience
115 - Assess formality level
116 
1172. **Select theme**
118 - Use quick selection rules above
119 - If uncertain, consult `references/theme-selection.md`
120 - Default to default theme if still unsure
121 
1223. **Apply template**
123 - Load appropriate template from `assets/`
124 - CSS is already embedded - no external files needed
125 - Maintain template structure
126 
1274. **Structure content**
128 - Title slide: `<!-- _class: lead -->` + h1
129 - Content slides: h2 title + bullet points
130 - Keep titles to 5-7 characters (Japanese)
131 - Use 3-5 bullet points per slide
132 
1335. **Refine quality**
134 - Read `references/best-practices.md`
135 - Ensure adequate whitespace
136 - Maintain consistency
137 - Keep text concise (15-25 chars per line)
138 
1396. **Add images**
140 - If needed, consult `references/image-patterns.md`
141 - Common: `![bg right:40%](image.png)` for side images
142 - Use proper Marp image syntax
143 
1447. **Output file**
145 - Save to `the project output directory`
146 - Use descriptive filename like `presentation.md`
147 
148## Handling "Make It Look Good" Requests
149 
150When users give vague instructions like "良い感じにして", "かっこよく", or "make it cool":
151 
1521. **Infer theme from content**:
153 - Business content → business theme
154 - Technical content → tech or dark theme
155 - Creative content → gradient or colorful theme
156 - General → default theme
157 
1582. **Apply best practices automatically**:
159 - Shorten titles to 5-7 characters
160 - Limit bullet points to 3-5 items
161 - Add adequate whitespace
162 - Use consistent structure
163 
1643. **Enhance visual hierarchy**:
165 - Use h3 for sub-sections when appropriate
166 - Break up dense text into multiple slides
167 - Ensure logical flow (intro → body → conclusion)
168 
1694. **Maintain professional tone**:
170 - Match formality to content
171 - Use parallel structure in lists
172 - Keep technical terms consistent
173 
174## Image Integration
175 
176For slides with images, consult `references/image-patterns.md` for detailed syntax.
177 
178Common patterns:
179- **Side image**: `![bg right:40%](image.png)` - Image on right, text on left
180- **Centered**: `![w:600px](image.png)` - Centered with specific width
181- **Full background**: `![bg](image.png)` - Full-screen background
182- **Multiple images**: Multiple `![bg]` declarations
183 
184Example lecture pattern:
185```markdown
186## Slide Title
187 
188![bg right:40%](diagram.png)
189 
190- Explanation point 1
191- Explanation point 2
192- Explanation point 3
193```
194 
195## File Output
196 
197Always save the final Marp file to `the project output directory` with `.md` extension:
198- `presentation.md`
199- `seminar-slides.md`
200- `lecture-materials.md`
201 
202## Quality Checklist
203 
204Before delivering slides, verify:
205- [ ] Theme selected appropriately for content
206- [ ] CSS theme is embedded in the file
207- [ ] Title slide uses `<!-- _class: lead -->`
208- [ ] All h2 titles are concise (5-7 chars)
209- [ ] Bullet points are 3-5 items per slide
210- [ ] Images use proper Marp syntax
211- [ ] File saved to outputs directory
212- [ ] Content follows best practices
213 
214## References
215 
216### Core Documentation
217- **Marp syntax**: `references/marp-syntax.md` - Basic Marp/Marpit syntax (directives, frontmatter, pagination, etc.)
218- **Image patterns**: `references/image-patterns.md` - Official image syntax (bg, filters, split backgrounds)
219- **Theme CSS guide**: `references/theme-css-guide.md` - How to create custom themes based on Marpit specification
220- **Advanced features**: `references/advanced-features.md` - Math, emoji, fragmented lists, Marp CLI, VS Code
221- **Official themes**: `references/official-themes.md` - default, gaia, uncover themes documentation
222 
223### Quality & Selection Guides
224- **Theme selection**: `references/theme-selection.md` - How to choose the right theme for content
225- **Best practices**: `references/best-practices.md` - Quality guidelines for "cool" slides
226 
227### Templates & Assets
228- **Templates**: `assets/template-*.md` - Starting points with embedded CSS for each theme (7 themes)
229- **Standalone CSS**: `assets/theme-*.css` - CSS files for reference (already embedded in templates)
230 
231### Official External Links
232- **Marp Official Site**: https://marp.app/
233- **Marpit Directives**: https://marpit.marp.app/directives
234- **Marpit Image Syntax**: https://marpit.marp.app/image-syntax
235- **Marpit Theme CSS**: https://marpit.marp.app/theme-css
236- **Marp Core GitHub**: https://github.com/marp-team/marp-core
237- **Marp CLI GitHub**: https://github.com/marp-team/marp-cli
238 

Discussion

Alternatives

ReladrawWrite, render and edit diagrams in reladraw, a text diagram language where you say where things go, so the arrangement can be read back out of the source without looking at the picture. Use when asked to draw, diagram, sketch or visualize an architecture, a system, a data flow, a pipeline, a deployment, a directory layout, or the shape of a change or pull request; when reading or editing a .reladraw file; or when the user says "reladraw", "diagram this", "draw the architecture", "show me how these pieces fit". Use it in place of Mermaid, Graphviz, D2 or hand-drawn ASCII boxes whenever a node-and-line diagram is wanted and reladraw is installed. NOT for charts of data — bar, line, pie, scatter — and NOT for pictures that are not nodes and lines.Design & UI · Apache-2.0AstrologerCustom astrologer built in Gemini Gems. Pulls further data from specific websites for a more tailored experience. Can do: astrology & horoscopy, tarot, runes, crystals Possible additions: lenormand, astrology deck, i ching *it's called "Astrologer" because that was the original function, even though it can do more now.Content & docs · CC0-1.0Investor pitch presentationAct as a business founder delivering a live pitch deck presentation to investors. Your goal is to engage the investors by highlighting the startup's market potential, innovative solutions, and financial prospects.Business & ops · CC0-1.0Markdown and Mermaid WritingComprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.Science · MIT