openpress-create-slide
Skill14 starsChanged 4 months agoMITView on GitHub
Use when creating, editing, reordering, or verifying an OpenPress slide deck or presentation.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- openpress-apply-commentsSkill
- openpress-collaborateSkill
- openpress-create-pagesSkill
- openpress-deploySkill
- openpress-pluginsSkill
- openpressSkill
- openpress-upgradeSkill
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
- Distinctive: line 8
Create a slide deck as a sequence of direct, editable slide sources.
- Distinctive: line 12
Start with the audience, the single message of each slide, and the evidence that supports it.
- Distinctive: line 13
Keep one visual idea per slide.
- Very specific: line 19
Read the deck press/<slug>/press.tsx, the active theme/default.css, and nearby slides.
- Very specific: line 38
Put deck tokens in press/<slug>/theme/default.css.
- Very specific: line 39
Use @open-press/core objects where they clarify geometry, semantic structure, or responsive constraints.
- Very specific: line 41
Read references/layout-contract.md before creating a slide.
- Distinctive: line 45
Create a blank slide source with:
- Distinctive: line 58
Keep the content and metadata literal enough for source inspection and reader navigation.
- Distinctive: line 62
Use the CLI to preserve registration and folder consistency:
- Distinctive: line 77
Do navigation, slide order, notes, source view, and focus state still behave correctly?
- Distinctive: line 79
Verify source changes with:
≈ “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.
Files
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/orpress/<slug>/components/.
Read before changing source
- Read the deck
press/<slug>/press.tsx, the activetheme/default.css, and nearby slides. - State the deck's visual direction in a short
STYLEnote: type scale, palette, spacing, and intended visual language. 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- Preserve the existing slide order and IDs unless the user asks to change them.
Source contract
press/<slug>/press.tsxregisters slide IDs with marker-only<Slide id="…" />entries.- Each
press/<slug>/slides/<id>/slide.tsxexplicitly 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 literalmeta. layoutinmetadescribes 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/coreobjects 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:
- Build the composition in the slide source.
- Extract a local primitive only after the same structure has a second real use.
- Name shared components for their role (
EvidenceGrid,SectionKicker), not for a generic layout category. - 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 buildFor visual work, also run npm run dev:workspace and inspect the affected Press in the Workbench before reporting completion.
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
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.

