Catalogue / presentations
presentations
MITSignedCreate slide presentations in multiple formats: Marp (Markdown, default), Beamer (LaTeX), Jupyter Notebook slides, and PowerPoint (python-pptx). Supports scientific, business, and developer content with math, code, charts, and tables. Converts existing documents into slides or creates from scratch.…--- name: presentations description: | Create slide presentations in multiple formats: Marp (Markdown, default), Beamer (LaTeX), Jupyter Notebook slides, and PowerPoint (python-pptx). Supports scientific, business, and developer content with math, code, charts, and tables. Converts existing documents into slides or creates from scratch. Auto-compiles to PDF/HTML/PPTX. Use this skill when the user requests: - Creating a presentation or slide deck - Converting a document, paper, or report into slides - Making conference talk, lecture, or meeting slides - Generating PowerPoint, PDF slides, or HTML slideshows - Beamer, Marp, reveal.js, or notebook slideshow creation allowed-tools: ["Bash", "Read", "Write", "Edit", "Glob", "Grep", "AskUserQuestion", "WebFetch"] ---
Purpose
Generate professional slide presentations from scratch or by converting existing documents. Supports four output formats covering academic, business, and developer use cases. Enforces slide layout best practices to prevent text overflow, cluttered slides, and poor readability.
When to Use
- User asks to create a presentation, slide deck, or talk
- User wants to convert a paper, report, outline, or notes into slides
- User requests a specific format: Beamer, Marp, Jupyter slides, or PowerPoint
- User asks for conference talk, lecture, or meeting slides
CRITICAL: Slide Layout Rules
These rules apply to ALL formats. Follow them by default. The user may override for specific slides (e.g., reference/appendix slides), but warn about readability.
Text Density Limits
- Max 6 bullet points per slide — if more content is needed, split across multiple slides
- Max ~40 words per slide body (excluding title) — slides are visual aids, not documents
- One core idea per slide — each slide should have a single takeaway message
- Bullet text max ~10 words each — use sentence fragments, not full sentences
Font Size Minimums
| Element | Beamer | Marp | PPTX | Jupyter | |---------|--------|------|------|---------| | Title | \Large (24pt+) | 32px+ | Pt(28)+ | H1/H2 | | Body text | \normalsize (11pt+) | 20px+ | Pt(18)+ | normal | | Code | \small (10pt) | 16px+ | Pt(14)+ | cell default | | Footnotes | \footnotesize (8pt) | 14px | Pt(12) | small |
Content-Specific Limits
- Code blocks: Max ~12 lines per slide. For longer code, split across slides or move to appendix
- Tables: Max ~5 data rows visible per slide. Paginate or simplify larger tables
- Images: Always specify explicit size constraints. Never let images overflow slide boundaries
- Equations: Max 2-3 display equations per slide. Use align environments for multi-line math
Whitespace and Margins
- Maintain at least 10% padding on all sides — do not fill every pixel
- Leave breathing room between elements (bullets, images, code blocks)
- Prefer visual balance over cramming content
Override Policy
If the user explicitly requests dense content (e.g., "make a reference slide with all parameters"), honor the request but:
- Reduce font sizes to the minimums above (never below)
- Add a note that the slide is intentionally dense
- Suggest splitting if it still overflows
Format Selection
Default: Marp (Markdown-based, exports to HTML/PDF/PPTX)
Use AskUserQuestion only if the user hasn't specified a format and the content strongly suggests a different one.
Format Decision: ├── Heavy LaTeX math / academic conference → Beamer ├── Live code demos / data science → Jupyter Notebook slides ├── Enterprise / editable by non-technical users → PowerPoint (python-pptx) └── Everything else (default) → Marp
Instructions
Step 1: Gather Requirements
Before generating slides, determine:
- Topic and audience — what is the presentation about and who is it for?
- Format — use Marp unless user specifies otherwise or content suggests a better fit
- Slide count — ask if not specified; default to ~10-15 slides for a talk
- Content source — from scratch, or converting an existing document?
- Special needs — math, code, charts, animations, speaker notes?
If converting a document, read it first with the Read tool, then extract key points and organize into an outline before generating slides.
Step 2: Create Slide Outline
Before writing any slides, create a brief outline:
1. Title slide 2. Outline/Agenda 3-N. Content slides (one idea each) N+1. Summary/Conclusions N+2. Questions / Thank you
Present the outline to the user for approval before proceeding.
Step 3: Generate Slides
Use the appropriate format section below. Always apply the layout rules from the CRITICAL section.
Step 4: Auto-Compile
After writing the source file, compile to final output:
| Format | Command | |--------|---------| | Marp → PDF | npx @marp-team/marp-cli@latest --pdf --allow-local-files slides.md | | Marp → HTML | npx @marp-team/marp-cli@latest --allow-local-files slides.md | | Marp → PPTX | npx @marp-team/marp-cli@latest --pptx --allow-local-files slides.md | | Beamer → PDF | latexmk -pdf presentation.tex | | Beamer + minted | latexmk -pdf -shell-escape presentation.tex | | Jupyter → HTML slides | jupyter nbconvert --to slides presentation.ipynb --post serve | | PowerPoint | No compilation needed — python-pptx writes .pptx directly |
If a compilation tool is not installed, inform the user and provide the install command.
---
Format: Marp (Default)
Prerequisites
# Option 1: Use npx (no install, requires Node.js >= 18) npx @marp-team/marp-cli@latest --version # Option 2: Global install npm install -g @marp-team/marp-cli # Option 3: Homebrew brew install marp-cli
Template
---
marp: true
theme: default
paginate: true
size: 16:9
style: |
section {
font-size: 20px;
}
h1 {
font-size: 36px;
}
h2 {
font-size: 30px;
}
code {
font-size: 16px;
}
table {
font-size: 18px;
}
---
<!-- _paginate: false -->
# Presentation Title
**Author Name**
Date | Event
---
## Outline
1. First topic
2. Second topic
3. Third topic
---
## Slide Title
- Key point one
- Key point two
- Key point three
<!-- Use fragment-style reveals sparingly -->
---Key Features
Auto-fit headers (prevents title overflow):
<!-- fit --> # This Long Title Will Auto-Scale to Fit
Background images:
 # Split Layout Content on the left, image on the right.
Image sizing (always constrain):
  
Math (KaTeX):
Inline: $E = mc^2$
$$
\nabla \cdot \mathbf{E} = \frac{\rho}{\epsilon_0}
$$Code blocks (syntax highlighted automatically):
def fibonacci(n): if n <= 1: return n return fibonacci(n-1) + fibonacci(n-2)
Two-column layout:
<div style="display: flex; gap: 40px;"> <div style="flex: 1;"> ### Left Column - Point A - Point B </div> <div style="flex: 1;"> ### Right Column - Point C - Point D </div> </div>
Speaker notes (only when requested):
<!-- Speaker notes go here. These are not visible in the presentation. -->
Overflow Prevention
- Use
<!-- fit -->before headings that might be too long - Set global
font-sizein the style block to control base size - Use
![width:Npx]or![height:Npx]for all images — never use unsized images - For dense tables, reduce font size locally:
<div style="font-size: 14px;">...</div> - Split content across slides rather than shrinking fonts below minimums
Compilation
# PDF output (most common) npx @marp-team/marp-cli@latest --pdf --allow-local-files slides.md # HTML output (interactive, good for sharing) npx @marp-team/marp-cli@latest --allow-local-files slides.md -o slides.html # PPTX output (note: slides are rasterized images, not editable) npx @marp-team/marp-cli@latest --pptx --allow-local-files slides.md
---
Format: Beamer (LaTeX)
Prerequisites
# macOS brew install --cask mactex # Ubuntu/Debian sudo apt install texlive-latex-extra latexmk # For code highlighting with minted pip install Pygments
Template
\documentclass[aspectratio=169]{beamer}
\usetheme{Madrid}
\usecolortheme{default}
% Prevent text overflow
\setbeamertemplate{frametitle}{\vspace{0.2cm}\insertframetitle}
% Code listings
\usepackage{listings}
\usepackage{xcolor}
\lstset{
basicstyle=\ttfamily\small,
keywordstyle=\color{blue},
commentstyle=\color{green!60!black},
stringstyle=\color{red},
frame=single,
breaklines=true,
breakatwhitespace=true,
postbreak=\mbox{\textcolor{red}{$\hookrightarrow$}\space},
numbers=left,
numberstyle=\tiny\color{gray}
}
% Graphics
\usepackage{graphicx}
% Math
\usepackage{amsmath,amssymb}
\title[Short Title]{Full Presentation Title}
\author{Author Name}
\institute{Institution}
\date{\today}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}{Slide Title}
\begin{itemize}
\item First key point
\item Second key point
\item Third key point
\end{itemize}
\end{frame}
\end{document}Key Features
Overlay animations:
\begin{frame}{Incremental Reveal}
\begin{itemize}
\item<1-> Always visible
\item<2-> Appears second
\item<3-> Appears third
\end{itemize}
\end{frame}Two-column layout:
\begin{frame}{Side by Side}
\begin{columns}
\column{0.48\textwidth}
Left content here.
\column{0.48\textwidth}
\includegraphics[width=\textwidth]{figure.png}
\end{columns}
\end{frame}Code blocks (use [fragile] on the frame):
\begin{frame}[fragile]{Code Example}
\begin{lstlisting}[language=Python]
def greet(name):
return f"Hello, {name}!"
\end{lstlisting}
\end{frame}Math:
\begin{frame}{Equations}
The Schrödinger equation:
\begin{equation}
i\hbar\frac{\partial}{\partial t}\Psi = \hat{H}\Psi
\end{equation}
\end{frame}Figures with size control:
\begin{frame}{Results}
\begin{figure}
\centering
\includegraphics[width=0.7\textwidth,height=0.5\textheight,keepaspectratio]{plot.png}
\caption{Always constrain both width and height.}
\end{figure}
\end{frame}Blocks:
\begin{block}{Definition}
A concise definition here.
\end{block}
\begin{alertblock}{Warning}
Important caveat.
\end{alertblock}
\begin{exampleblock}{Example}
Illustrative example.
\end{exampleblock}Speaker notes (only when requested):
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right}
\begin{frame}{Title}
Content here.
\note{Talking points for this slide.}
\end{frame}Popular Themes
| Theme | Style | Best for | |-------|-------|----------| | Madrid | Classic with navigation | General academic | | Metropolis | Clean, modern, minimal | Modern talks | | Berlin | Header navigation bar | Long talks | | CambridgeUS | Red/blue accent | Formal conferences | | default | Minimal, no decoration | When you want plain |
Overflow Prevention
- Use
[shrink]frame option as a last resort:\begin{frame}[shrink]{Title} - Constrain images:
\includegraphics[width=0.7\textwidth,height=0.5\textheight,keepaspectratio]{img} - Use
breaklines=truein lstset for code that might wrap - For dense slides, use
\smallor\footnotesizebut never below\scriptsize - Use
\resizebox{\textwidth}{!}{...}to scale a table to fit width
Compilation
# Standard latexmk -pdf presentation.tex # With minted code highlighting latexmk -pdf -shell-escape presentation.tex # Clean auxiliary files latexmk -c
---
Format: Jupyter Notebook Slides
Prerequisites
pip install notebook nbconvert
Preview shortened. The full SKILL.md is in the pack.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 23.5 kB | f4e76aec074c |
| SKILVAULT_SOURCE.json | 1.1 kB | 9e403bdf1ca9 |
| THIRD_PARTY_NOTICES.md | 1.1 kB | 2208f47f28a7 |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 0.1.0 Current | 4775feec8c94 | 29 Nov 2026 |
Locking a skill to one version needs Pro.