AI Guide

Get the most out of Cuppa Studio's AI features — in Studio, CLI, and MCP.

How It Works

Cuppa Studio's AI generates presentations in Cuppa Studio markdown — the same format you'd write by hand. Behind the scenes, your prompt is combined with a detailed system prompt that teaches the AI about all 17 element types, 14 layouts, 8 themes, and presentation templates. The better your prompt describes what you want, the better the output.

AI is available in three places:

WhereHow
Cuppa StudioAI drawer in the toolbar — generate or refine
CLImycuppa ai "your prompt"
MCPgenerate_presentation / refine_presentation tools in Claude Desktop or any MCP client

Writing Effective Prompts

The Anatomy of a Good Prompt

A strong prompt has three parts: topic, structure hints, and element requests.

PartWhat It DoesExample
Topic What the presentation is about "Explain WebSockets"
Structure How many slides, target audience, depth "in 8 slides for a senior engineering audience"
Elements What rich elements to include "with architecture diagram, code examples, and terminal demo"

Vague vs. Specific Prompts

Compare these prompts and the difference in output quality:

Vague
Make a presentation about Docker

Gets you: 5 generic text-heavy slides with bullet points. No visuals, no interactivity.

Specific
A tech talk about Docker containerization for backend engineers. Include a mermaid architecture diagram showing container orchestration, terminal demos of common Docker commands, a comparison table of Docker vs VMs, and stats on container adoption. Use the dark theme. 8 slides.

Gets you: a polished deck with diagrams, interactive terminal, data table, animated stats counters, and proper flow.

More Prompt Examples

Technical Deep-Dive

A code walkthrough of our authentication system refactor.
Include a file tree showing the project structure, code blocks
with the key modules (auth middleware, token service, session store),
a diff showing the before/after of the token validation change,
and a mermaid sequence diagram of the auth flow.
Add speaker notes on the complex slides. Use the dark theme.

Product Demo

Product demo for our new API gateway. Include cards highlighting
4 key features (rate limiting, auth, caching, monitoring) with
different accent colors. Show a terminal demo of setting it up,
an API element for the main endpoint, a bar chart comparing
latency before and after, and stats showing key metrics.
Use the bold theme. 10 slides.

Incident Postmortem

Incident postmortem for the March 5 database outage.
Include a timeline element showing the incident progression
(detection, investigation, mitigation, resolution), a diff
showing the config change that caused it, a callout box with
the key lesson learned, and a table of action items with owners
and deadlines. Use the dark theme.

Team Update

Sprint 42 demo for the Platform team. Show cards for the 3
features we shipped, stats with sprint velocity and bug count,
a terminal demo of the new CLI command, and a mermaid chart
of the updated architecture. Keep it to 7 slides.
Use the ocean theme.

Workshop

A hands-on workshop on building REST APIs with Express.js.
Include step-by-step code examples progressing from basic
to advanced, terminal demos showing each step, a file tree
of the final project structure, and a callout with common
pitfalls. Target beginners. 12 slides. Use the ocean theme.

Requestable Elements

Cuppa Studio supports 17 element types. Mentioning them in your prompt tells the AI exactly what to render. Here's what you can ask for:

ElementHow to Request ItBest For
Code blocks "code examples", "syntax-highlighted code" Implementation examples, API usage
Terminal "terminal demo", "CLI commands" Setup steps, command workflows
Mermaid diagrams "architecture diagram", "flow diagram", "sequence diagram" System design, data flows, processes
Cards "feature cards", "cards with icons" Feature highlights, team members, key points
Stats "stats counters", "key metrics" KPIs, performance numbers, traction data
Charts "bar chart", "line chart", "pie chart" Data visualization, comparisons, trends
Tables "comparison table", "data table" Feature comparisons, structured data
File tree "file tree", "project structure" Codebase structure, directory layout
Diff "diff", "before/after code change" Code reviews, migrations, refactors
Callout "callout box", "tip box", "warning box" Important notes, tips, warnings, gotchas
API endpoint "API endpoint", "REST API docs" API documentation, endpoint reference
Timeline "timeline", "chronological milestones" Roadmaps, incident timelines, project phases
Images "include images", "hero image" Visual emphasis, product screenshots
Blockquotes "quote", "pull quote" Key statements, testimonials
Lists "bullet points", "numbered steps" Features, processes, agendas
Dividers Auto-added by AI Visual separation between content
Text Always included Headings, body text, captions

Themes

Specify a theme in your prompt to match the tone. The AI will auto-select if you don't specify one.

ThemeWhen to Request
darkTechnical talks, developer content, code-heavy
lightGeneral purpose, client-facing, business
minimalStartup pitches, product demos, clean aesthetic
corporateBusiness presentations, proposals, formal
elegantCreative talks, storytelling, design content
boldKeynotes, marketing, announcements
forestNature, sustainability, green topics
oceanTechnology, data, research

Presentation Templates

For common presentation types, mention a template to get a professionally designed structure with consistent slide compositions:

TemplatePrompt HintWhat You Get
tech-talk "a tech talk about..." Designed intro with badge, styled section dividers, code-focused layouts
pitch-deck "a pitch deck for..." Hero, problem/solution, metrics, CTA slides with designed compositions
workshop "a workshop on..." Duration intro, numbered steps, exercise boxes, checkpoints
changelog "release notes for..." Version cover, NEW/BREAKING/FIXES badges, credits

MCP Prompt Templates

If you're using Cuppa Studio through an MCP client (Claude Desktop, etc.), the MCP server provides 10 pre-built prompt templates that automatically structure your request with the right elements and theme:

TemplateInputAuto-Includes
tech-talkTopicMermaid diagrams, code, terminal, Q&A
team-updateTeam nameStats, highlights, blockers, action items
product-demoProductCards, terminal, code, pricing table
workshopTopicStep-by-step code, exercises, resources
pitch-deckCompanyStats, charts, pricing, team cards
architecture-reviewSystemMermaid, file tree, code paths, stats
sprint-demoSprintCards, terminal, diffs, stats
code-walkthroughTopicFile tree, code, diffs, mermaid, callouts
incident-postmortemIncidentTimeline, diffs, callouts, action table
api-docsAPI nameAPI elements, code, error table, callouts

These templates save you from writing detailed prompts — just pick one and provide the topic. Example in Claude Desktop:

# Use a prompt template
Use the tech-talk template with topic "WebSockets"

# Or the AI will use generate_presentation tool directly
Generate a presentation about WebSockets

Refining Presentations

After generating, you can refine your presentation with targeted instructions. The AI modifies only what you ask — it preserves everything else.

Good Refinement Prompts

What You WantPrompt
Add a slide"Add a pricing comparison table after the features slide"
Improve a slide"Replace the bullet list on slide 3 with feature cards using icons"
Add visuals"Add a mermaid diagram showing the data flow on the architecture slide"
Change tone"Make the intro more casual and add a hook question"
Add data"Add a stats section with our Q1 metrics: 50K users, 99.9% uptime, 45ms p95 latency"
Restructure"Split the long features slide into 3 separate slides, one per feature"
Change theme"Switch to the bold theme"
Add notes"Add speaker notes to slides 2-5"

Refinement in Each Tool

# Studio — use the "Refine" tab in the AI drawer
"Add a terminal demo showing the setup steps"

# CLI
mycuppa ai --refine my-talk/ "Add a pricing slide after features"

# MCP (Claude Desktop)
Use the refine_presentation tool on my-talk.md:
"Add a timeline showing the project milestones"

Tips for Best Results

Quick Reference

Copy-paste these prompt patterns:

# Pattern: [type] about [topic] for [audience]. Include [elements]. [slide count]. [theme].

# Technical
"A tech talk about GraphQL subscriptions for backend engineers.
Include a mermaid sequence diagram, code examples in TypeScript,
a terminal demo, and comparison table vs REST. 8 slides. Dark theme."

# Business
"A quarterly business review for the executive team. Include stats
with revenue, user growth, and NPS score, a line chart showing
MRR trend, cards for top initiatives, and a table of OKR progress.
7 slides. Corporate theme."

# Educational
"A workshop on Git branching strategies for junior developers.
Include terminal demos of each workflow, a mermaid diagram of
gitflow, code diffs showing merge vs rebase, and callout boxes
for common mistakes. 12 slides. Ocean theme."