agentleFS
pamelafoxpamelafox/presentation-skills/skills/make-revealjs-presentation/SKILL.md

make-revealjs-presentation

Skill129 starsChanged 7 months agoMITView on GitHub

Create or update a RevealJS HTML presentation using the repository's bundled slide template. USE FOR: create RevealJS talks, make HTML slide decks, build presentation slides, start a new conference talk deck, convert a talk outline into RevealJS slides.

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. About 0 are common, 17 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈17

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants a RevealJS-based slide deck or wants to start a new talk from the repository's house template.

    line 11
  2. Distinctive:

    Start from the bundled template asset instead of rebuilding the RevealJS shell from scratch:

    line 15
  3. Very specific:

    Keep the RevealJS CDN includes and Reveal.initialize(...) block unless the user explicitly asks to change them.

    line 19
  4. Distinctive:

    After copying the template, replace these placeholders before expanding the deck:

    line 23
  5. Very specific:

    If a code badge or copy-button plugin is in use and should be suppressed for one slide, add class="no-code-badge" to that section.

    line 38
  6. Very specific:

    If using a web font, also add the corresponding <link rel="stylesheet"> in <head>.

    line 58
  7. Distinctive:

    Remove that block if the user wants divider slides to look more like plain RevealJS headings.

    line 114
  8. Distinctive:

    If the user customizes colors, keep text/background combinations at accessible contrast.

    line 118
  9. Distinctive:

    Prefer dark text on a light background or light text on a dark background.

    line 120
  10. Distinctive:

    Keep text/background contrast accessible, especially after theme changes.

    line 128
  11. Distinctive:

    Make sure links have discernible text.

    line 129
  12. Distinctive:

    Make sure images have alt text if they convey meaning.

    line 130
  13. Distinctive:

    If the user asks for an accessibility review in VS Code, open the deck in the integrated browser and run axe-core on the rendered page.

    line 135
  14. Distinctive:

    Call out the exact HTML or selector for each real issue.

    line 157
  15. Distinctive:

    If contrast checks are inconclusive because Reveal overlays or transforms confuse axe, say that clearly instead of reporting them as …

    line 159
  16. Distinctive:

    Prefer plain sections, headings, lists, tables, images, and code blocks over custom layout systems.

    line 163
  17. Distinctive:

    Do not add extra decorative CSS unless the user asks for a stronger visual style.

    line 164
  18. Distinctive:

    Keep the deck black-on-white by default unless the user wants a themed presentation.

    line 165
  19. Distinctive:

    After creating or editing the deck:

    line 169
  20. Distinctive:

    If the user asks for accessibility review, run an axe audit on the rendered page and report actual violations separately from inconclusive …

    line 173

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Make a RevealJS presentation

Use this skill when the user wants a RevealJS-based slide deck or wants to start a new talk from the repository's house template.

Default approach

Start from the bundled template asset instead of rebuilding the RevealJS shell from scratch:

  • Template asset: ./assets/index.html
  • Copy that file to the requested output path, then edit the copied file.
  • Keep the RevealJS CDN includes and Reveal.initialize(...) block unless the user explicitly asks to change them.

What to customize first

After copying the template, replace these placeholders before expanding the deck:

  • Talk Title
  • Conference Name · Month Year
  • Your Name
  • Role · Company · website.example
  • Example links like filename.html and example.com/...

Then rewrite or remove the example slides so the deck matches the user's topic.

Template conventions

  • The template is intentionally simple and close to stock RevealJS.
  • Section divider slides use class="heading-only".
  • Code slides are just normal sections with a <pre><code> block.
  • If a code badge or copy-button plugin is in use and should be suppressed for one slide, add class="no-code-badge" to that section.

Customization tips

Body font

Change the body font in the .reveal rule near the top of the template:

.reveal {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

Examples:

  • Minimal/system default: keep the existing stack
  • Sans-serif web font: font-family: 'Work Sans', sans-serif;
  • Serif deck: font-family: 'Source Serif 4', serif;

If using a web font, also add the corresponding <link rel="stylesheet"> in <head>.

Heading font

Change headings separately in:

.reveal h1,
.reveal h2,
.reveal h3 {
  font-family: inherit;
}

Examples:

  • Match body text: keep inherit
  • Distinct headings: font-family: 'Roboto', sans-serif;
  • Editorial style: font-family: 'Fraunces', serif;

Text sizing

Adjust the default body sizing here:

.reveal p,
.reveal li,
.reveal td,
.reveal th {
  font-size: 1em;
}

Increase or decrease that font-size when the user wants a generally larger or smaller deck.

Code block styling

Global code block styling lives in:

.reveal pre { ... }
.reveal pre code { ... }

Adjust those rules for larger code, different padding, or lighter/heavier borders.

Divider slides

The divider slide look is controlled by section.heading-only and the underline rule:

.reveal section.heading-only h1::after,
.reveal section.heading-only h2::after,
.reveal section.heading-only h3::after { ... }

Remove that block if the user wants divider slides to look more like plain RevealJS headings.

Color contrast

If the user customizes colors, keep text/background combinations at accessible contrast.

  • Prefer dark text on a light background or light text on a dark background.
  • Be especially careful with body text, slide numbers, links, and code blocks.
  • Recheck contrast after changing theme colors, background fills, or heading styles.

Accessibility

Preserve accessibility basics when creating or customizing decks.

  • Keep text/background contrast accessible, especially after theme changes.
  • Make sure links have discernible text.
  • Make sure images have alt text if they convey meaning.
  • Treat plugin-generated UI separately from slide content when reviewing issues. RevealMenu currently has a known accessibility issue: its generated menu trigger may lack a discernible accessible name. If the user keeps the plugin, note that this can remain as an axe violation even when the slide content itself is fine.

Example axe-core audit

If the user asks for an accessibility review in VS Code, open the deck in the integrated browser and run axe-core on the rendered page.

Example Playwright snippet:

await page.addScriptTag({
  url: 'https://cdnjs.cloudflare.com/ajax/libs/axe-core/4.10.2/axe.min.js'
});

const results = await page.evaluate(async () => {
  return await window.axe.run(document, {
    runOnly: {
      type: 'tag',
      values: ['wcag2a', 'wcag2aa']
    }
  });
});

When reporting results:

  • Separate actual violations from incomplete checks.
  • Call out the exact HTML or selector for each real issue.
  • Distinguish between deck-author issues and plugin-generated issues.
  • If contrast checks are inconclusive because Reveal overlays or transforms confuse axe, say that clearly instead of reporting them as confirmed failures.

Editing guidance

  • Prefer plain sections, headings, lists, tables, images, and code blocks over custom layout systems.
  • Do not add extra decorative CSS unless the user asks for a stronger visual style.
  • Keep the deck black-on-white by default unless the user wants a themed presentation.

Validation

After creating or editing the deck:

  1. Validate the HTML file for diagnostics.
  2. Open it in the integrated browser.
  3. If the user asks for accessibility review, run an axe audit on the rendered page and report actual violations separately from inconclusive checks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.