presentation-builder
Skill9 starsChanged 9 months agoMITView on GitHub
Presentation Builder — use when the user wants to build, iterate on, or polish a native SwiftUI macOS presentation app that replaces slide decks with live animated interactive experiences.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- guoliang1114-boop/AriaAItheir own version, first seen Aug 22, 2026
- JayRHa/AgentSkillstheir own version, first seen Jun 9, 2026
- yiweiwan/skillstheir own version, first seen May 12, 2026
- vikisingh23/neuraforge-aitheir own version, first seen May 4, 2026
- Typeless-Git/skillstheir own version, first seen Mar 30, 2026
- RanNahmany/mamad-challenge-skillstheir own version, first seen Mar 6, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- qodex-ai/ai-agent-skills★ 45same name
- guoliang1114-boop/AriaAI★ 38same name
- florianbonnet14/ThePowerOfAnalytics_ClaudeSkills★ 29same name
- qa-aman/claude-skills★ 20same name
- JayRHa/AgentSkills★ 11same name
- RanNahmany/mamad-challenge-skills★ 7same name
- vikisingh23/neuraforge-ai★ 4same name
- Typeless-Git/skills★ 1same name
- yiweiwan/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If the user doesn't already have a presentation project, scaffold one from the bundled template:
- Very specific: line 19
Run swift build to verify the template compiles
- Very specific: line 70
Add new SceneID cases to PresentationModels.swift as needed
- Very specific: line 71
Add stub cases to SceneRegistry.snapshot(for:) (use centered("diagram-name"))
- Very specific: line 99
Add new cases to TakeoverType in PresentationModels.swift
- Very specific: line 102
If takeovers need configuration on slide entry, add setup logic in PresentationView.onSlideEnter(_:) with a 350ms delay (lets canvas …
- Distinctive: line 107
Run the full presentation and adjust:
- Very specific: line 135
Always run swift build after structural changes to verify compilation
- Distinctive: line 136
Test navigation (arrow keys, space) after adding new slides
- Distinctive: line 137
When adding animated diagrams, start simple and layer complexity
- Distinctive: line 138
Keep the Story Arc as the single source of truth — don't hardcode content in views
- Distinctive: line 139
When the user says "run through" or "rehearsal", help them identify timing/content issues by reviewing the story arc and noting where …
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Presentation Builder
You are helping build and iterate on a native SwiftUI macOS presentation app. This app replaces slide decks with a live, animated, interactive experience using a proven architecture.
The user's message after /presentation-builder describes what phase they're in or what they want to do. If nothing is provided, assess the current state of the project and suggest what to work on next.
Getting Started
If the user doesn't already have a presentation project, scaffold one from the bundled template:
- Copy the
template/directory from this plugin into the user's chosen project directory - Rename the package and app as needed
- Run
swift buildto verify the template compiles - Begin with Phase 1 (Story Arc)
The template is a complete, buildable Swift Package (macOS 14+, Swift 5.9) with placeholder content ready to customize.
Architecture Overview
The presentation app uses three separation layers:
- Story Arc (
StoryArc.swift) — The single authoring surface. An array ofSlideDescriptorentries defines the entire presentation: titles, bullets, presenter notes, stage content, and time budgets organized by acts. - Scene Registry (
SceneRegistry.swift) + Element Catalog (ElementCatalog.swift) — The visual layer. SceneRegistry maps SceneID → element positions using unit coordinates (0–1). ElementCatalog maps string keys → SwiftUI views. Together they define what appears on screen for each scene. - Persistent Canvas (
PersistentCanvasView.swift) — The animation engine. A long-lived ZStack that never destroys. When the active scene changes, elements animate to new states: entering elements get spring + staggered delay, exiting elements get fast ease-out.
Stage Content Types
.scene(SceneID)— static/animated diagram on canvas.scenes([SceneID])— multiple diagrams, advance with steps within a slide.takeover(TakeoverType)— full interactive overlay replacing the canvas.sceneThenTakeover(SceneID, TakeoverType)— diagram first, then interactive
Key Files
Sources/Presentation/
├── PresentationApp.swift @main, two windows (main + presenter timer)
├── PresentationModels.swift SlideDescriptor, StageContent, SceneID, ElementState
├── PresentationState.swift @Observable state: activeSlide, sceneStep, elapsed
├── PresentationView.swift Main layout + NavigationController (keyboard handling)
├── StoryArc.swift THE SLIDE ARRAY — edit this to change the presentation
├── WindowAccessor.swift Hides presenter timer from screen capture
├── Stages/
│ ├── PersistentCanvasView.swift Animation engine (never destroys)
│ ├── SceneRegistry.swift SceneID → element position snapshots
│ ├── ElementCatalog.swift Element key → SwiftUI view mapping
│ └── DiagramContent.swift Complex animated diagram views
└── Views/
├── StageView.swift Canvas + takeover ZStack (right pane)
├── NarrativeSectionView.swift Bullet text + staggered animations (left pane)
├── SlideScrubber.swift Dot navigation bar
└── PresenterTimerView.swift Speaker notes + pacing windowBuild Phases
Phase 1: Story Arc
Goal: Define the narrative structure before touching visuals.
- Edit
StoryArc.swift— add/remove/reorderSlideDescriptorentries - Define acts with time budgets in
timeBudgets - For each slide:
id,shortTitle,narrativeTitle,narrativeBullets,presenterNotes - Assign
stageContentwith scene IDs (can be stubs — visuals come later) - Add new
SceneIDcases toPresentationModels.swiftas needed - Add stub cases to
SceneRegistry.snapshot(for:)(usecentered("diagram-name"))
Verification: swift build should compile. Run the app — you should be able to navigate all slides with arrow keys, seeing placeholder diagrams.
Phase 2: Stage Setting (Visuals + Animations)
Goal: Build the visual content for each scene.
For each scene, work through this loop:
- Add elements to
ElementCatalog.allKeysandview(for:)— either atomic (text, icons, images) or composite (diagram views) - Position elements in
SceneRegistryusing unit coordinates:(0.5, 0.5)= center,(0, 0)= top-left- Set
opacity,scale,rotation,blur,zIndexas needed - Elements not in a snapshot auto-hide (opacity 0, scale 0.5)
- Build diagrams in
DiagramContent.swift:- Static diagrams: computed properties returning
some View - Animated diagrams: nested
Viewstructs that read@Environment(\.activeScene)and@Environment(\.stageSize)to trigger animations - For multi-phase animations, use
TimelineVieworonChange(of: activeScene)
- Static diagrams: computed properties returning
- Test transitions between adjacent scenes — elements should flow naturally
Animation patterns:
- Canvas transitions: automatic (spring + stagger in, ease-out exit)
- Diagram-internal animations:
withAnimation(.spring(duration:bounce:)) { phase += 1 } - Scroll/key-triggered: install
NSEvent.addLocalMonitorForEventsin diagram views - Frame-by-frame:
TimelineView(.animation)for continuous animations
Phase 3: Interactive Stages (Takeovers)
Goal: Build full-screen interactive overlays for demo slides.
- Add new cases to
TakeoverTypeinPresentationModels.swift - Build takeover views (full-screen, can contain any SwiftUI content)
- Wire them up in
StageView.takeoverLayer(_:) - If takeovers need configuration on slide entry, add setup logic in
PresentationView.onSlideEnter(_:)with a 350ms delay (lets canvas fade-out complete)
Phase 4: Content Refinement
Goal: Polish through repeated run-throughs.
Run the full presentation and adjust:
- Bullet text and presenter notes (in
StoryArc.slides) - Element positions (unit coordinate tweaking in
SceneRegistry) - Animation timing and stagger values (in
PersistentCanvasView) - Time budgets per act (in
StoryArc.timeBudgets) - Dot colors per slide type (in
SlideDescriptor.dotColor)
Phase 5: Polish
Goal: Handle edge cases and visual consistency.
- Keyboard navigation on interactive vs non-interactive slides
- Presenter timer pacing (adjust total budget in
PresenterTimerView) - Color palette consistency across diagrams
- Font size hierarchy (title: 42pt, subtitle: 20pt, body: 16pt, caption: 13pt)
Conventions
- Unit coordinates for all element positioning (0...1 range)
- Element keys are semantic:
"icon-hero","label-title","diagram-architecture" - SceneIDs are flat enum cases, one per visual moment
- Staggered entry: entering elements animate at
index * 0.06sdelay - Fast exit: exiting elements animate at
0.3swith no delay - Takeover transition: canvas fades out at
0.35s, takeover fades in at0.3s - Navigation debounce: 250ms between slide transitions
- Presenter timer is hidden from screen capture via
WindowAccessor
Working Style
- Always run
swift buildafter structural changes to verify compilation - Test navigation (arrow keys, space) after adding new slides
- When adding animated diagrams, start simple and layer complexity
- Keep the Story Arc as the single source of truth — don't hardcode content in views
- When the user says "run through" or "rehearsal", help them identify timing/content issues by reviewing the story arc and noting where pacing might be off
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.

