Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

md-slides

БесплатноЗапускает вложенные скриптыНе проверен

Convert markdown into a self-contained HTML slide deck with layouts, speaker notes, keyboard navigation, and a content-density linter. Use when building a…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Markdown Slide Decks

Turn a markdown file into a slide deck that is one HTML file: six layouts, speaker notes, keyboard and remote navigation, light/dark theming, and handout printing. The density linter is the part that matters most — it catches the slides an audience cannot absorb before you are standing in front of them.

When to use this skill

  • Building a deck from markdown you want to keep in version control
  • Presenting from a laptop without a presentation app or a cloud account
  • Cutting an overloaded deck where every slide is a wall of text
  • Timing a talk against a fixed slot before rehearsing it
  • Converting a document into a deck as a starting point, then editing down
  • Producing a handout that includes speaker notes alongside each slide

Inputs the skill expects

  • A markdown deck source, slides separated by ---
  • The talk length and format — presented live, or circulated to be read
  • Layout intent per slide: title, section divider, bullets, two-column, quote, image
  • Speaker notes after a ??? marker on each content slide
  • Images as relative paths, or as base64 data URIs (PNG, JPEG, GIF, WebP or AVIF) for a genuinely single-file deck
  • The presentation environment: room lighting and display size

Clarify First

Before building, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Presented live or circulated to read: why it changes the output: it selects the density profile, and the two budgets differ by roughly 2x; the wrong one produces a deck that fails at the job it actually has.
  • Talk length and slot: why it changes the output: it sets the slide count and drives the runsheet; a 60-slide deck for a 15-minute slot is an unfinished edit, not a pacing choice.
  • Whether images must be embedded: why it changes the output: relative paths mean the deck is a folder, not a file, and it breaks when emailed.
  • Room lighting, if presenting: why it changes the output: dark themes wash out under ambient light; this decides the default theme and the contrast floor.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Workflows

Workflow 1 — Build a deck and check its density

  1. Lint first. Building an overloaded deck and reading it on screen is a slower way to learn the same thing.
  2. Fix what the linter flags — usually by moving sentences into speaker notes.
  3. Build. The theme and navigation script are inlined automatically.
python3 markdown-html/md-slides/scripts/slide_density_linter.py \
  --input markdown-html/md-slides/assets/sample_deck.md --profile present

python3 markdown-html/md-slides/scripts/md_to_slides.py \
  --input markdown-html/md-slides/assets/sample_deck.md \
  --out build/deck.html --format text

Workflow 2 — Time a talk against its slot

  1. Generate the runsheet at your actual speaking rate, not the default.
  2. Read the * markers — those slides have no notes, so their duration is guessed from on-slide content and is the least reliable number in the sheet.
  3. If the total is over, cut slides. Speaking faster does not create time.
python3 markdown-html/md-slides/scripts/notes_runsheet.py \
  --input markdown-html/md-slides/assets/sample_deck.md \
  --wpm 130 --target-minutes 15 --format text

python3 markdown-html/md-slides/scripts/notes_runsheet.py \
  --input markdown-html/md-slides/assets/sample_deck.md \
  --format markdown > build/runsheet.md

Workflow 3 — Convert a document into a deck

  1. Split on every ## heading to get a first pass with the document's own structure.
  2. Lint immediately. The result will fail — a document section carries far more than a slide's budget. That failure list is the edit plan.
  3. Rewrite headings as claims, demote sentences to notes, then rebuild.
python3 markdown-html/md-slides/scripts/md_to_slides.py \
  --input markdown-html/md-slides/assets/sample_deck.md --split-on h2 --out build/draft.html

python3 markdown-html/md-slides/scripts/slide_density_linter.py \
  --input markdown-html/md-slides/assets/sample_deck.md --profile present --format json

Decision frameworks

Density budget

Metric present target Warn Error read warn / error
Words per slide <= 40 50 75 90 / 130
Bullets per slide <= 5 6 8 8 / 12
Words per bullet <= 8 12 20 18 / 28
Heading characters <= 50 60 90 70 / 100
Table rows <= 5 6 9 9 / 14
Code lines <= 10 12 20 18 / 30

Every threshold is a proxy for one rule: a slide must be readable in under 5 seconds, or it competes with the presenter. An audience cannot read and listen simultaneously — when a slide

Полный SKILL.md на GitHub

Установить md-slides в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/deck_nav.jsassets/deck_outline_template.mdassets/deck_theme.cssassets/sample_deck.mdreferences/deck-accessibility-and-delivery.mdreferences/slide-density-and-layout.mdscripts/md_to_slides.pyscripts/notes_runsheet.pyscripts/slide_density_linter.pyscripts/slide_render.py

FAQ

Что делает скилл md-slides?

Convert markdown into a self-contained HTML slide deck with layouts, speaker notes, keyboard navigation, and a content-density linter. Use when building a deck from markdown, cutting an overloaded deck, or timing a talk.

Как установить скилл md-slides?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл md-slides запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить md-slides с