skill-deck
Generate YC-style investor pitch decks in Typst
Best use case
skill-deck is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Generate YC-style investor pitch decks in Typst
Teams using skill-deck should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/skill-deck/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How skill-deck Compares
| Feature / Agent | skill-deck | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Generate YC-style investor pitch decks in Typst
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Deck Skill
Thin wrapper that routes pitch deck generation requests to the `deck-agent`.
## Context Pointers
Reference (do not load eagerly):
- Path: `.claude/context/core/formats/subagent-return.md`
- Purpose: Return validation
- Load at: Subagent execution only
Note: This skill is a thin wrapper. Context is loaded by the delegated agent, not this skill.
## Trigger Conditions
This skill activates when:
### Direct Invocation
- User explicitly runs `/deck` command
- User requests pitch deck generation in conversation
### Implicit Invocation (during task implementation)
When an implementing agent encounters any of these patterns:
**Plan step language patterns**:
- "Generate pitch deck"
- "Create investor deck"
- "Build presentation for investors"
- "Make YC-style slides"
- "Create startup pitch"
**Target mentions**:
- "pitch deck"
- "investor presentation"
- "seed round slides"
- "fundraising deck"
- "touying pitch"
**Task description keywords**:
- "pitch deck generation"
- "investor slides"
- "startup presentation"
- "YC deck"
### When NOT to trigger
Do not invoke for:
- Converting existing presentations (use skill-presentation)
- General slide conversion from PPTX (use skill-presentation)
- Document format conversions (use skill-filetypes)
- Creating non-investor presentation slides
---
## Execution
### 1. Input Validation
Validate required inputs:
- At least one of: `prompt` (text description) OR `source_path` (file path)
- `output_path` - Optional, defaults based on input
- `theme` - Optional, defaults to "simple"
- `slide_count` - Optional, defaults to 10
```bash
# Validate at least one input source
if [ -z "$prompt" ] && [ -z "$source_path" ]; then
return error "Either a prompt or source file path is required"
fi
# If source_path provided, validate it exists
if [ -n "$source_path" ] && [ ! -f "$source_path" ]; then
return error "Source file not found: $source_path"
fi
# Convert source_path to absolute if relative
if [ -n "$source_path" ] && [[ "$source_path" != /* ]]; then
source_path="$(pwd)/$source_path"
fi
# Determine output path if not provided
if [ -z "$output_path" ]; then
if [ -n "$source_path" ]; then
source_dir=$(dirname "$source_path")
source_base=$(basename "$source_path" | sed 's/\.[^.]*$//')
output_path="${source_dir}/${source_base}-deck.typ"
else
output_path="$(pwd)/pitch-deck.typ"
fi
fi
# Convert output_path to absolute if relative
if [[ "$output_path" != /* ]]; then
output_path="$(pwd)/$output_path"
fi
```
### 2. Context Preparation
Prepare delegation context:
```json
{
"prompt": "Startup description from user",
"source_path": "/absolute/path/to/startup-info.md",
"output_path": "/absolute/path/to/pitch-deck.typ",
"theme": "simple",
"slide_count": 10,
"metadata": {
"session_id": "sess_{timestamp}_{random}",
"delegation_depth": 1,
"delegation_path": ["orchestrator", "deck", "skill-deck"]
}
}
```
### 3. Invoke Agent
**CRITICAL**: You MUST use the **Task** tool to spawn the agent.
**Required Tool Invocation**:
```
Tool: Task (NOT Skill)
Parameters:
- subagent_type: "deck-agent"
- prompt: [Include prompt, source_path, output_path, theme, slide_count, metadata]
- description: "Generate pitch deck from input"
```
The agent will:
- Parse and validate inputs
- Read source file if provided
- Map content to YC's 10-slide structure
- Generate Typst code using touying
- Include speaker notes and TODO placeholders
- Return standardized JSON result
### 4. Return Validation
Validate return matches `subagent-return.md` schema:
- Status is one of: generated, partial, failed
- Summary is non-empty and <100 tokens
- Artifacts array present with output file path
- Metadata contains slide_count and slides_with_todos
### 5. Return Propagation
Return validated result to caller without modification.
---
## Return Format
Expected successful return:
```json
{
"status": "generated",
"summary": "Generated 10-slide pitch deck for Acme AI in Typst format. 2 slides have TODO placeholders.",
"artifacts": [
{
"type": "implementation",
"path": "/absolute/path/to/pitch-deck.typ",
"summary": "Touying pitch deck with speaker notes"
}
],
"metadata": {
"session_id": "sess_...",
"agent_type": "deck-agent",
"delegation_depth": 2,
"theme": "simple",
"slide_count": 10,
"slides_with_todos": 2,
"input_type": "prompt_and_file"
},
"next_steps": "Review and compile: typst compile pitch-deck.typ"
}
```
---
## Error Handling
### Input Validation Errors
Return immediately with failed status if neither prompt nor source file provided.
### Source File Not Found
Return failed status with clear message about the missing file.
### Agent Errors
Pass through the agent's error return verbatim.
### Write Failure
Return failed status with directory/permission guidance.Related Skills
skill-deck-research
Pitch deck content research through material synthesis
skill-deck-plan
Pitch deck planning with interactive template, content, and ordering selection
skill-deck-implement
Route deck implementation to deck-builder-agent for Slidev pitch deck generation
skill-learn
Scan codebase for FIX:/NOTE:/TODO:/QUESTION: tags and create structured tasks with interactive selection. Invoke for /learn command.
skill-todo
Archive completed and abandoned tasks with CHANGE_LOG.md updates and memory harvest suggestions
skill-team-research
Orchestrate multi-agent research with wave-based parallel execution. Spawns 2-4 teammates for diverse investigation angles and synthesizes findings.
skill-team-plan
Orchestrate multi-agent planning with parallel plan generation. Spawns 2-3 teammates for diverse planning approaches and synthesizes into final plan with trade-off analysis.
skill-team-implement
Orchestrate multi-agent implementation with parallel phase execution. Spawns teammates for independent phases and coordinates dependent phases. Includes debugger teammate for error recovery.
skill-status-sync
Atomically update task status across TODO.md and state.json. For standalone use only.
skill-spawn
Research blockers and spawn new tasks to overcome them, updating parent task dependencies
skill-researcher
Conduct general research using web search, documentation, and codebase exploration. Invoke for general research tasks.
skill-refresh
Manage Claude Code resources - terminate orphaned processes and clean up ~/.claude/ directory