agentleFS
quan0715quan0715/open-press/skills/openpress-create-slide/SKILL.md

openpress-create-slide

Skill14 starsChanged 4 months agoMITView on GitHub

Use when creating, editing, reordering, or verifying an OpenPress slide deck or presentation.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create a slide deck as a sequence of direct, editable slide sources.

    line 8
  2. Distinctive:

    Start with the audience, the single message of each slide, and the evidence that supports it.

    line 12
  3. Distinctive:

    Keep one visual idea per slide.

    line 13
  4. Very specific:

    Read the deck press/<slug>/press.tsx, the active theme/default.css, and nearby slides.

    line 19
  5. Very specific:

    Put deck tokens in press/<slug>/theme/default.css.

    line 38
  6. Very specific:

    Use @open-press/core objects where they clarify geometry, semantic structure, or responsive constraints.

    line 39
  7. Very specific:

    Read references/layout-contract.md before creating a slide.

    line 41
  8. Distinctive:

    Create a blank slide source with:

    line 45
  9. Distinctive:

    Keep the content and metadata literal enough for source inspection and reader navigation.

    line 58
  10. Distinctive:

    Use the CLI to preserve registration and folder consistency:

    line 62
  11. Distinctive:

    Do navigation, slide order, notes, source view, and focus state still behave correctly?

    line 77
  12. Distinctive:

    Verify source changes with:

    line 79

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

open-press Create Slide

Create a slide deck as a sequence of direct, editable slide sources. Each slide owns its composition; the Press owns only deck registration, theme, and genuinely shared UI.

First principles

  • Start with the audience, the single message of each slide, and the evidence that supports it.
  • Keep one visual idea per slide. Prefer a diagram, image, comparison, or large number over dense prose.
  • New slides begin as direct source files, never through a registry or preselected layout asset.
  • Reuse a local component only after a visual primitive is genuinely repeated. Keep it in press/<slug>/ui/ or press/<slug>/components/.

Read before changing source

  1. Read the deck press/<slug>/press.tsx, the active theme/default.css, and nearby slides.
  2. State the deck's visual direction in a short STYLE note: type scale, palette, spacing, and intended visual language.
  3. For a new or restructured deck, write a compact delivery shape:

    AUDIENCE: who must understand what
    STORY:
    - id | composition | one message | evidence or visual
    PRODUCE: direct slide sources, active theme, only proven shared UI
  4. Preserve the existing slide order and IDs unless the user asks to change them.

Source contract

  • press/<slug>/press.tsx registers slide IDs with marker-only <Slide id="…" /> entries.
  • Each press/<slug>/slides/<id>/slide.tsx explicitly imports and composes the objects it needs.
  • The deck canvas is fixed at 1920 × 1080. Keep a single <Slide> root, a predictable <Frame> boundary, and literal meta.
  • layout in meta describes the composition for readers; it does not select source or generate a slide.
  • Put deck tokens in press/<slug>/theme/default.css. Keep slide-specific CSS beside that slide or in the active theme when it is shared across the deck.
  • Use @open-press/core objects where they clarify geometry, semantic structure, or responsive constraints. Use normal TSX and CSS for authored detail.

Read references/layout-contract.md before creating a slide. Read references/css-colocate.md when changing styles and references/press-tree.md when adding files.

Add and edit slides

Create a blank slide source with:

open-press slide add <id> --press <slug>

Then edit press/<slug>/slides/<id>/slide.tsx directly. The generated placeholder is intentionally minimal: replace it with the slide's actual composition rather than preserving boilerplate.

For a new visual treatment:

  1. Build the composition in the slide source.
  2. Extract a local primitive only after the same structure has a second real use.
  3. Name shared components for their role (EvidenceGrid, SectionKicker), not for a generic layout category.
  4. Keep the content and metadata literal enough for source inspection and reader navigation.

Reordering and removal

Use the CLI to preserve registration and folder consistency:

open-press slide move <id> <position> --press <slug>
open-press slide remove <id> --press <slug>
open-press slide status --press <slug>

Review checklist

  • Does every slide communicate one claim at speaking pace?
  • Are images, charts, and diagrams legible at presentation distance?
  • Is the slide source self-contained and directly editable?
  • Are shared components justified by real reuse rather than anticipated reuse?
  • Does the active theme provide the spacing and contrast the deck needs?
  • Do navigation, slide order, notes, source view, and focus state still behave correctly?

Verify source changes with:

npm run typecheck
npm test
npm run build

For visual work, also run npm run dev:workspace and inspect the affected Press in the Workbench before reporting completion.

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.