Marp lessig presentation
Skill gwiener/marp-lessig-presentation/skills/marp-lessig-presentation
Create Lessig-style Marp presentations from markdown — large text, minimal words per slide, strong visual impact. Use when the user asks to create, draft, or improve a slide deck or presentation.From its SKILL.md
npx -y skills add gwiener/marp-lessig-presentation --skill marp-lessig-presentationAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 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.
SKILL.md
9.3 KB, as published. Nobody here has run it
Marp Lessig-style presentation skill
You create Lessig-style slide decks using Marp and export them as standalone HTML and PDF files. Lessig style means: big text, few words per slide, high visual impact, and the speaker — not the slides — carries the narrative.
Prerequisites
Marp CLI must be installed (brew install marp-cli). Verify with
marp --version before proceeding. If not installed, tell the user and offer
to install it.
Authoring workflow
- Create (or receive) the presentation markdown file.
- Create or reuse a CSS theme file (see theming guidelines below).
- Export to both HTML and PDF:
marp --theme <theme>.css --html slides.md -o slides.html
marp --theme <theme>.css --html slides.md -o slides.pdf
The --html flag is needed when the theme uses HTML features like the overlay
pseudo-elements for background-image slides.
Open the HTML file for the user to preview: open slides.html
Slide structure
Each slide is separated by ---. Frontmatter goes at the top:
---
marp: true
theme: lessig
paginate: false
---
paginate: false is the default for Lessig style — page numbers add clutter.
Typography and content guidelines
These are hard rules, not suggestions. The point is to make it physically impossible to create a wall-of-text slide.
Text quantity
| Rule | Limit |
|---|---|
| Words per slide (body text) | ≤ 15 words |
| Sentences per slide | 1, or at most 2 short ones |
| Bullet points | Avoid. If unavoidable, max 3 items, each ≤ 5 words |
What to do instead of bullets
- Split each bullet into its own slide.
- Use a bold keyword or phrase as the entire slide.
- Use an image with a short overlay caption.
Font sizing hierarchy
| Element | Purpose | Guideline |
|---|---|---|
# H1 | Title / section opener | Largest. One per slide max. |
## H2 | Subtitle or key phrase | Use sparingly. |
Body p | The default. | One short sentence or phrase. |
**bold** | The word to remember | Use for the single most important word or phrase on a slide. |
*italic* | Soft emphasis / attribution | Quotes, names, asides. |
Things to avoid
- Long titles (over 5 words).
- Sub-bullets or nested lists.
- Full sentences as bullet items.
- Paragraphs of text.
- Tables with data (use a chart image instead).
- Code blocks longer than 2 lines (use a screenshot or link).
Theming guidelines
A reference CSS theme is available at lessig-reference.css. You do not have to use it verbatim. Adapt it or write a new theme to match the user's brand, colors, or aesthetic preference. But always follow these CSS principles:
Mandatory CSS properties for any Lessig theme
- Centered layout —
display: flex; justify-content: center; align-items: center; text-align: centeronsection. - Large base font — minimum
56pxfor body text. This is the main enforcement mechanism: big fonts make verbose slides impossible. - Generous padding — at least
60pxon all sides. - Zero or near-zero margins on headings and paragraphs so flex centering works correctly.
- High contrast — near-black on white, or white on near-black. Avoid mid-gray text.
- Accent color for
strong— bold text should visually pop (red, gold, or a saturated brand color).
Theme registration
Every custom Marp CSS file must start with a /* @theme name */ comment.
This registers it as a named theme. Inherit from default with
@import 'default'; to get Marp's slide scaffolding.
Inverted slides
Always define a .invert class that swaps background and foreground. The user
activates it with <!-- _class: invert --> on any slide.
Image guidelines
Images are a core part of Lessig-style presentations. There are three patterns:
1. Split layout — half image, half text
Use the split or split-reverse class. The slide is a two-column grid:
one column is the image, the other has large text.
<!-- _class: split -->

## The key insight
CSS requirements for split layouts:
display: grid; grid-template-columns: 1fr 1fr;on the section.object-fit: coveron the image so it fills its column without distortion.- Text column font size should be slightly smaller than full-slide text (~56px) since it shares space.
Use split when the image should be on the left, split-reverse for image
on the right.
2. Full-image background with overlay text
Use the bg-image class and Marp background directives:
<!-- _class: bg-image -->
<!-- _backgroundImage: url('photo.jpg') -->
<!-- _backgroundSize: cover -->
# Bold statement
CSS requirements for background-image slides:
- A semi-transparent overlay (
::beforepseudo-element withrgba(0,0,0,0.4–0.5)) to mute the image so text is readable. - White text with
text-shadowfor extra contrast. - Bold/strong in a bright accent color (gold
#f1c40fworks well on dark overlays). - A
bg-image-lightvariant with a white overlay for naturally dark images where you want dark text.
3. Standalone image slide
For a full-bleed image with no text, use Marp's built-in background syntax:
---

---
Image selection guidance
When choosing or suggesting images:
- Prefer images with negative space (sky, walls, open areas) where text can sit without competing.
- Avoid busy, cluttered images unless a strong overlay is applied.
- High resolution only — the image fills the slide at 1280×720 minimum.
- If the user provides images without negative space, always apply the
bg-imageoverlay to mute them.
Diagrams (shapes & arrows)
When a slide needs to convey a flow or a set of relations visually — not just
a single image — use a hand-authored inline SVG diagram. These are
theme-conformant (same font, bold lines, accent, auto light/invert) and
deliberately minimal: small, layered, ≤ 9 nodes.
Before building any diagram, read diagrams.md and follow it
exactly: the grid-and-anchor authoring method, the solid-edge
vs dotted-link conventions, the diagram hard-rules, and — required — the
render-read-fix loop (render the slide to PNG, read it, check it against the
acceptance checklist, fix, repeat). A diagram is not done until it passes that
checklist in the rendered image. The svg.diagram styling tokens already live
in lessig-reference.css.
If the content cannot be expressed as a mostly-layered flow of ≤ 9 nodes, don't force it — tell the user and discuss an alternative.
Charts (numerical data)
When a slide needs to make a point from numbers — a comparison, a trend, a
single proportion — use a hand-authored inline SVG chart. Same mechanism as
diagrams: theme-conformant (font, contrast, accent, auto light/invert) and
deliberately minimal. The aim is the opposite of a default plotting-tool chart:
big, high-contrast, the strong number jumps out — direct value labels, no
gridlines, no legend, one accent mark.
Reach for this whenever the user supplies data (or a data table) and a chart would land harder than text — and note the rule above already says to use a chart instead of a data table.
Before building any chart, read charts.md and follow it exactly:
the data→pixel mapping method, the supported types (column/bar, line,
single-stat), the Lessig chart principles, the hard-rules, and — required — the
same render-read-fix loop as diagrams (render to PNG, read it, check the
acceptance checklist, fix, repeat). The svg.chart styling tokens already live
in lessig-reference.css.
This is Tier 1 — the minimal chart that makes one point. If the data can't be reduced to a handful of values (dense scatter, distributions, many series), don't force it into hand-authored SVG — tell the user and discuss an alternative.
Example slide patterns
Title slide
---
marp: true
theme: lessig
paginate: false
---
# Talk title
Statement slide (the workhorse)
---
This changes **everything**
Inverted emphasis
---
<!-- _class: invert -->
**Think again**
Quote
---
> Less is more
— Mies van der Rohe
Split image + text
---
<!-- _class: split -->

## We built this **together**
Background image + text
---
<!-- _class: bg-image -->
<!-- _backgroundImage: url('skyline.jpg') -->
<!-- _backgroundSize: cover -->
The city **never sleeps**
Export checklist
Before delivering the final output:
- Count words per slide — flag any slide exceeding 15 words.
- Verify the theme CSS file starts with
/* @theme name */. - Export both formats:
marp --theme <theme>.css --html slides.md -o slides.htmlmarp --theme <theme>.css --html slides.md -o slides.pdf
- Open the HTML for user preview.
- If the user asks for PPTX:
marp --theme <theme>.css --html slides.md -o slides.pptx