moonlight-lupin/agent-skills / productivity/marp-deck
marp-deck
FlaggedUse when the user asks for Marp or a deck kept as Markdown/version-controlled text, wants a .pptx rebuilt as Markdown slides, or hands over an existing Marp .md deck to change — Marp decks with slides kept as one Markdown file.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 1.7 KB |
| README.md | markdown | 5.2 KB |
| SKILL.md | skill md | 9.9 KB |
| examples/dashboard-data.md | markdown | 41.1 KB |
| examples/editorial-lifestyle.md | markdown | 24.9 KB |
| examples/showcase-components.md | markdown | 38.1 KB |
| examples/travel-location.md | markdown | 12.0 KB |
| references/components.md | markdown | 6.3 KB |
| references/themes.md | markdown | 22.7 KB |
| scripts/export.sh | script | 2.4 KB |
| scripts/extract-pptx.py | script | 3.5 KB |
| scripts/md2pptx-officecli.pyexecutable | script | 13.5 KB |
| scripts/preview.sh | script | 1.1 KB |
| tests/extract_css.py | script | 1.9 KB |
| tests/fixtures/component-deck.md | markdown | 369 B |
| tests/render_presets.sh | script | 681 B |
| tests/test_scripts.sh | script | 1.2 KB |
| tests/test_themes.py | script | 2.6 KB |
| tests/themes_lib.py | script | 558 B |
tests/extract_css.py
View on GitHubimport re, sys, pathlib
sys.path.insert(0, str(pathlib.Path(__file__).parent))
from themes_lib import EXPECTED, section_css
SK, OUT = pathlib.Path(sys.argv[1]), pathlib.Path(sys.argv[2])
md = (SK / "references/themes.md").read_text()
SAMPLE = """
<!-- _class: lead -->
<!-- _paginate: false -->
### Quarterly review
# Q3 Portfolio Review
## UK student accommodation · September 2026
---
### 01 · Performance
# Occupancy ahead of target
## Rent growth and occupancy both beat plan
Body copy with a **highlighted figure**, an `inline code` span and a [link](#).
<div style="display:flex;gap:16px;margin:12px 0;">
<div class="card" style="flex:1;"><span style="color:var(--label);font-size:0.6em;letter-spacing:.1em;">OCCUPANCY</span><br><span style="color:var(--light);font-size:1.5em;font-family:var(--font-head);">97.2%</span> <span class="tag" style="color:var(--green);border:1px solid var(--green);">+1.2 pts</span></div>
<div class="card" style="flex:1;"><span style="color:var(--label);font-size:0.6em;letter-spacing:.1em;">NOI</span><br><span style="color:var(--light);font-size:1.5em;font-family:var(--font-head);">£14.2m</span> <span class="tag" style="color:var(--accent);border:1px solid var(--accent);">vs £13.6m</span></div>
</div>
| Asset | Beds | Occupancy |
|---|---|---|
| Canongate | 312 | 98.1% |
| Kelvin | 240 | 96.4% |
---
### 02 · Risk
# Booking pace
> 2027/28 bookings are running 4 pts behind last year at the same date.
- Pricing held; conversion is the gap
- Agent channel reactivated in August
- Weekly pace review until parity
"""
base = section_css(md, "Base rules") or ""
for name in EXPECTED:
css = section_css(md, name)
if css is None: print("no css for", name); continue
slug = re.sub(r"[^a-z0-9]+", "-", name.lower()).strip("-")
style = "\n".join(" " + l for l in (base + css).splitlines())
(OUT / f"{slug}.md").write_text(f"---\nmarp: true\npaginate: true\nstyle: |\n{style}\n---\n{SAMPLE}")
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |