agentleFS
rhnfzlrhnfzl/slide-sage/AGENTS.md

slide-sage

AGENTS.md3 starsChanged 5 months agoMITView on GitHub

Cross-platform instructions for AI coding tools (Claude Code, Codex CLI, Gemini CLI, Cursor, Copilot) When a user asks to create a presentation, build slides, convert a PowerPoint or PDF, or make a slide deck, follow these instructions. Creates data-rich, interactive HTML presentations as single files. Specializes in: - Data visualization (Chart.js, ECharts, D3.js charts) - Architecture diagrams (CSS/HTML diagrams, SVG templates, inline SVG) - Code slides with syntax highlighting (Prism.js) - Professional styling with colorblind-safe palettes - Keyboard navigation, touch…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a user asks to create a presentation, build slides, convert a PowerPoint or PDF, or make a slide deck, follow these instructions.

    line 5
  2. Very specific:

    Read skills/slide-sage/SKILL.md for the full workflow

    line 9
  3. Very specific:

    Read only the reference files you need from skills/slide-sage/references/

    line 10
  4. Distinctive:

    All chart/diagram libraries loaded from CDN

    line 12
  5. Distinctive:

    Read relevant references: Only load the reference files needed for this presentation

    line 28
  6. Distinctive:

    When an interactive response would materially change the deck, ask one focused question.

    line 36
  7. Very specific:

    Every slide: height: 100vh.

    line 65
  8. Very specific:

    All font sizes use clamp() - never fixed px/rem

    line 66
  9. Very specific:

    Every CSS class in HTML must be defined in viewport-base.css, a template, or the <style> block

    line 71
  10. Distinctive:

    Run Pre-Delivery Validation (Phase 5) before writing the final file

    line 73
  11. Very specific:

    Read markdown files (skills/slide-sage/SKILL.md, skills/slide-sage/references/)

    line 78
  12. Distinctive:

    Run bash commands (for PPT conversion scripts)

    line 80
  13. Very specific:

    If your tool has WebFetch, you can verify CDN URLs are current.

    line 82
  14. Very specific:

    If your tool lacks WebFetch, use the pinned CDN URLs in the reference files - they are stable.

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md 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
AGENTS.md

Slide Sage - AI Presentation Skill

Cross-platform instructions for AI coding tools (Claude Code, Codex CLI, Gemini CLI, Cursor, Copilot)

When a user asks to create a presentation, build slides, convert a PowerPoint or PDF, or make a slide deck, follow these instructions.

Quick Start

  1. Read skills/slide-sage/SKILL.md for the full workflow
  2. Read only the reference files you need from skills/slide-sage/references/
  3. Generate a single HTML file with inline CSS/JS
  4. All chart/diagram libraries loaded from CDN

What This Skill Does

Creates data-rich, interactive HTML presentations as single files. Specializes in:

  • Data visualization (Chart.js, ECharts, D3.js charts)
  • Architecture diagrams (CSS/HTML diagrams, SVG templates, inline SVG)
  • Code slides with syntax highlighting (Prism.js)
  • Professional styling with colorblind-safe palettes
  • Keyboard navigation, touch support, presenter mode

Workflow

  1. Detect mode: New presentation / PPT/PDF conversion / enhancement of existing HTML
  2. Gap-driven intake: Apply the intake rule below before generating
  3. Content analysis: Identify what libraries are needed (charts? diagrams? code?)
  4. Read relevant references: Only load the reference files needed for this presentation
  5. Generate: Single HTML file with all CSS/JS inline, libraries from CDN
  6. Deliver: Save file, mention how to open (browser) and export (Print > Save as PDF)

Intake rule

Infer audience and style from a detailed prompt and state the choice in one line. Ask only when the prompt is genuinely thin. Never block in one-shot, subagent, or CI runs: choose sensible defaults and state them in one line. Offer a visual preview only when style is unspecified and a browser is available.

When an interactive response would materially change the deck, ask one focused question. The visual preview is optional and must not delay generation.

Reader and density (ask when the prompt does not say)

Two answers decide whether a deck lands, and neither can be inferred from the audience. A leadership deck can be diagram-led or text-rich; the same deck can be presented or forwarded. A prompt almost never states either, so both are usually genuine gaps.

  • "Will you present this live, send it to be read on its own, or both?" decides WHERE the context lives. present and both keep the slide clean and put the recall material in speaker notes, which means presenter mode ships. send folds that context onto the slide face, because nobody is there to explain it.
  • "Diagram-led, balanced, or text-rich?" decides HOW MUCH prose sits beside the visual. diagram-led is the visual plus at most 3 lines. balanced (default) is a lead sentence, the visual, then 4 to 6 points. text-rich puts the reason and the caveat on the slide face.

Terse and dense are both wrong when guessed, and guessing overcorrects. A deck stripped to diagrams starves the presenter of anything to recall from; a padded deck walls off the room it is shown to. "Too much text last time" does not mean diagram-led this time, it means reader and density were never separated. Ask instead of swinging.

Notes the presenter cannot open during the talk do not exist. Never ship a speaker-notes block without presenter mode.

Reference Files (load on demand)

FileWhen to Load
skills/slide-sage/references/html-template.mdAlways (base HTML structure)
skills/slide-sage/references/viewport-system.mdAlways (responsive CSS rules)
skills/slide-sage/references/style-guide.mdWhen choosing visual style
skills/slide-sage/references/viz-integration.mdWhen slides have charts or data
skills/slide-sage/references/diagram-patterns.mdWhen slides have architecture/flow diagrams
skills/slide-sage/references/animation-guide.mdWhen choosing animation intensity
skills/slide-sage/references/code-highlighting.mdWhen slides have code snippets
skills/slide-sage/references/presenter-mode.mdWhenever the deck has speaker notes (reader is present or both). Not optional.
skills/slide-sage/references/css-class-inventory.mdAlways (CSS class lookup + inline style rules)

Non-Negotiable Rules

  • Every slide: height: 100vh; overflow: hidden - no scrolling
  • All font sizes use clamp() - never fixed px/rem
  • Include skills/slide-sage/assets/viewport-base.css content inline
  • Colorblind-safe palettes for all data visualization
  • Support prefers-reduced-motion and @media print
  • Keyboard navigation: arrows, space, page up/down
  • Every CSS class in HTML must be defined in viewport-base.css, a template, or the <style> block
  • Max ~3 inline styles per slide average; repeating patterns (3+ elements) must be CSS classes
  • Run Pre-Delivery Validation (Phase 5) before writing the final file

Tool Compatibility

This skill works with any AI coding tool that can:

  • Read markdown files (skills/slide-sage/SKILL.md, skills/slide-sage/references/)
  • Write HTML files
  • Run bash commands (for PPT conversion scripts)

If your tool has WebFetch, you can verify CDN URLs are current. If your tool lacks WebFetch, use the pinned CDN URLs in the reference files - they are stable.

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.