使用 Gamma AI 生成专业演示文稿。只需描述您想要的——主题、提纲或完整内容——即可获得精美的幻灯片。无需 Gamma 账号。
Generate polished presentations from a topic or content brief. Uses Gamma AI to create professionally designed slides. The user does not need a Gamma account.
Trigger when the user wants to:
Do NOT trigger for:
Ask the user (if not already provided):
For best results, compose a structured prompt:
text
Create a [N]-slide presentation about [TOPIC].
Audience: [WHO]
Tone: [professional/casual/technical]
Key points to cover:
1. [Point 1]
2. [Point 2]
3. [Point 3]
Include: [data, charts, examples, quotes, etc.]
bash
GAMMA_API_KEY="$GAMMA_API_KEY" bun run ~/.claude/skills/gamma/generate.ts \
--content "$(cat /tmp/gamma-prompt.txt)" \
--format pdf \
--output /tmp/presentation.pdf
Or with just a topic:
bash
GAMMA_API_KEY="$GAMMA_API_KEY" bun run ~/.claude/skills/gamma/generate.ts \
--topic "IrisGo Series A Pitch" \
--pages 12 \
--format pdf \
--output /tmp/pitch-deck.pdf
The API key is stored in the environment. Do not expose it to the user.
bash
# Set in your shell profile or .env
export GAMMA_API_KEY="sk-gamma-..."
Each generation costs Gamma credits (~$0.01/credit, typical deck = 50-100 credits). The skill owner covers this cost — users generate for free.