Expand teaching outline files into full teaching content with narratives, instructor notes, discussion prompts, and case studies. Reads outline structure and intelligently creates detailed, engaging teaching material. Use when you have outline files and need to create full teaching content.
Transform outline files (outline/day-N/XX-topic.md) into full teaching content (day-N/XX-topic.md). This skill reads your outline structure, understands your teaching philosophy from CLAUDE.md and reference Day 1 teaching files, and intelligently expands sections into rich, engaging narratives with instructor guidance.
# Expand ONE outline file
/expand-outline outline/day-2/02-alternative-hosting.md
# Expand ALL outline files in a day
/expand-outline outline/day-2
# Auto-detect (if you say "expand the outlines for day 2" in a course project)
Claude will automatically load and invoke this skill
day-N/XX-topic.mdoutline/day-N, detects all outline files and expands each in a parallel agentThis mapping comes from analyzing Day 1 outline and teaching files side-by-side:
A typical outline file has:
# 1. [Topic Name] (45 min)
## Scope
[One paragraph describing what this section covers]
## Key Concepts
- Concept 1 (what it is, why it matters)
- Concept 2
- Concept 3
## Learning Path
1. [Foundation]: Explain the foundational idea
2. [Depth]: Go deeper into mechanics and trade-offs
3. [Application]: How does this apply in real projects?
## Discussion Prompt
> *"Quoted question that sparks critical thinking"*
## Hands-On (if applicable)
[Exercise type: discussion, decision matrix, code walkthrough, case study analysis]
[Brief description of what students will do]
## Expected Challenges
- Common misconception: [what students often misunderstand]
- Tricky part: [where students struggle]
- How to address it
Outline:
## Key Concepts
- On-premises infrastructure (owned hardware, full control, high ops burden)
- Public cloud (rented, instant scale, vendor lock-in risk)
- Hybrid cloud (mix of both, "worst of both worlds" complexity)
Expanded to teaching content:
### The Four Primary Hosting Models
The landscape today is defined by four distinct postures a company can take
regarding its infrastructure:
**On-Premises / Sovereign Bare Metal** means your infrastructure is owned,
leased, or managed by the organization in a private facility. This gives you
absolute control over data and predictable flat-rate costs at scale, which is
critical for adhering to strict national regulations (like French HDS
certification). But the trade-offs are severe: immense upfront investment,
requiring dedicated infrastructure engineering teams, and slow provisioning of
new capacity. You see this in banks, government agencies, defense contractors,
and highly regulated healthcare organizations.
**Public Cloud** (AWS, Azure, GCP) lets you rent infrastructure over the internet
with rapid elasticity and global reach. The appeal is obvious: scale from 1 user
to 1 million in days without buying hardware. But you inherit two risks: vendor
lock-in (migrating away costs millions and takes years) and data privacy concerns
(US CLOUD Act exposure). This model dominates high-growth startups and SaaS
platforms.
**Hybrid Cloud** is a deliberate mix: sensitive data stays on-premise, volatile
web traffic or heavy analytics go to the public cloud. The theory is elegant —
balance the security of private infrastructure with the burst capacity of the
cloud. But in practice, it becomes "the worst of both worlds" complexity. You
need networking expertise to bridge data centers securely, and every component
becomes harder to debug. Expanding enterprises and legacy companies in transition
attempt this model, but few manage it cleanly.
Key principles:
Outline:
## Learning Path
1. Foundation: Explain why the cloud era started
2. Depth: Compare hosting models on cost, control, and scale
3. Application: Real company examples (Doctolib, Qonto, Mistral)
Expanded to teaching content:
The outline's learning path becomes your section structure:
### The Evolution: Why We Moved to the Cloud
[Narrative expanding "Foundation" - why on-premises became unsustainable]
[Mermaid diagram showing era timeline]
### The Four Primary Hosting Models
[Narrative expanding "Depth" - detailed comparison of each model]
### Case Studies: Real-World Architecture Choices
[Narrative expanding "Application" - concrete examples with numbers]
Key principles:
Outline mentions:
## Learning Path
3. Application: Real company examples (Doctolib, Qonto, Mistral)
Expanded to teaching content:
#### Case 1: Doctolib — Sovereign Cloud for Healthcare
- **The Company:** Founded in 2013, Doctolib is Europe's leading e-health
booking platform. By 2024, it served 80 million patient accounts and over
400,000 healthcare professionals across France, Germany, and Italy, generating
over EUR 400M in annual revenue.
- **The Constraint:** European health data is among the most regulated in the
world. In France, hosting providers must hold the HDS (*Hebergeur de Donnees
de Sante*) certification — Doctolib obtained it in November 2021. Placing
patient data on US-owned servers exposes it to the extra-territorial reach
of the US CLOUD Act, a legal risk that French medical associations challenged
in court.
- **The Decision:** AWS Paris Region with encryption-at-rest keys managed by
Atos (now Eviden) on Doctolib's behalf — not by Amazon. This hybrid approach
uses the scale of a hyperscaler while keeping cryptographic control sovereign.
Privacy overrides ease of use.
- **The Lesson:** Using a US hyperscaler in Europe is a calculated risk, not a
solved problem. Encryption and key management mitigate data access risks, but
operational sovereignty requires infrastructure owned and operated by entities
outside US jurisdiction. This is why SecNumCloud certification and EU sovereign
cloud initiatives exist.
Key principles:
Outline:
## Discussion Prompt
> *"OVHcloud and Scaleway have existed for years. Why did it take GDPR
> and Schrems II for European companies to start taking them seriously?"*
Expanded to teaching content:
Don't just drop the prompt. Embed it naturally after narrative content:
The enforcement of GDPR (2018), Schrems II (2020), and the EU AI Act (2024)
made data sovereignty a board-level concern. Sovereign cloud providers like
OVHcloud, Clever Cloud, and Scaleway emerged as credible alternatives for
EU-regulated workloads.
> **Discussion prompt:** *"OVHcloud, Scaleway, and Clever Cloud have existed
> for years. Why did it take GDPR and Schrems II — not better technology —
> for European companies to start taking them seriously?"*
Key principles:
Outline:
## Expected Challenges
- Common misconception: Students think encryption protects against CLOUD Act
exposure
- Tricky part: Explaining operational vs. data sovereignty
- How to address: Give a concrete example (if US govt compels AWS to shut down,
encryption keys don't help)
Expanded to teaching content:
This becomes an ### Instructor Notes: block at the end of the section:
### Instructor Notes: Sovereignty & Compliance
> **Pacing:** Spend 5-7 minutes on this section. The key insight is the
> difference between data encryption (protects content) and operational
> sovereignty (protects availability). Don't get bogged down in legal details.
>
> **Common misconception:** Students often think "if data is encrypted, the
> CLOUD Act can't touch it." False. Encryption protects content from being
> *read*, but not from being *blocked*. If the US government compels AWS
> to deny service, your data is inaccessible whether it's encrypted or not.
>
> **Engagement tip:** Ask: "If the US government tells AWS to shut off all
> service to Iran tomorrow, what happens to an Iranian SaaS company running
> on AWS, even with encrypted data?" This makes the sovereignty risk concrete.
>
> **Visual aid:** A simple diagram showing "Encryption protects content" vs.
> "Sovereignty protects availability" would help clarify.
Key principles:
Outline:
# 1. Understanding Hosting Models (90 min)
## Scope
This section equips students with foundational mental models to compare and
select hosting architecture based on business constraints, team maturity, and
regulatory requirements.
Expanded to teaching content header:
# 1. Understanding Hosting Models (90 min)
**Goal:** Equip students with the foundational mental models to compare and
select the right hosting architecture based on business constraints, team
maturity, and regulatory requirements.
**Teaching Philosophy:** Moving code from a laptop to the internet is no longer
just a technical challenge—it's a business, legal, and financial decision. We
are not here to memorize acronyms (IaaS, PaaS, SaaS) but to understand the
*trade-offs* inherent in shifting responsibility from your team to a vendor.
Every abstraction layer you buy saves time but costs money and hides control.
Key principles:
Outline mentions:
## Learning Path
1. Evolution: Show era timeline (on-premises → cloud → cloud-native → sovereignty)
Expanded to teaching content:
If the outline mentions a diagram, create a Mermaid diagram:
### The Evolution: Why We Moved to the Cloud
```mermaid
graph LR
A["<b>On-Premises Era</b><br/>Pre-2006<br/>Buy servers, rack them,<br/>hire 24/7 ops team"] --> B["<b>Public Cloud Era</b><br/>2006-2018<br/>Rent by the hour,<br/>scale instantly"]
B --> C["<b>Cloud-Native Era</b><br/>2018-Present<br/>Containers, serverless,<br/>edge computing"]
B --> D["<b>Sovereignty Era</b><br/>2020-Present<br/>GDPR enforcement, EU AI Act,<br/>sovereign clouds"]
style A fill:#d32f2f,stroke:#333,color:#fff
style B fill:#1976d2,stroke:#333,color:#fff
style C fill:#388e3c,stroke:#333,color:#fff
style D fill:#7b1fa2,stroke:#333,color:#fff
Key principles:
graph LR (left-right) for landscape diagramsgraph TD (top-down) only for tall, narrow diagrams<b>, <br/>)Throughout the expanded content, add visual placeholders where illustrations would help:
*Visual:* A timeline showing cloud evolution from on-premises to sovereignty eras,
with key companies and technologies marked at each era.
Key principles:
day-N/XX-topic.mdWhen expanding, follow these standards (read from CLAUDE.md):
Structure:
# N. Title (XX min) — always include minutes, never hours## 1. Topic (XX min)### Instructor Notes: [Section Name] as H3, content in blockquotes> **Discussion prompt:** *"quoted text"*## Synthesis: Key Takeaways section## Expected Outcomes bulleted listStyle:
(15 min), (105 min) — NOT hours, NOT clock timesContent:
If invoked with /expand-outline outline/day-2:
outline/day-2/01-*.md, outline/day-2/02-*.md, etc.day-N/XX-topic.mdIf multiple files were expanded in parallel:
Outline:
# 1. Understanding Hosting Models (90 min)
## Scope
Equip students with foundational mental models to compare and select hosting
architecture based on constraints, team maturity, and regulations.
## Key Concepts
- On-premises infrastructure (owned hardware, full control, high ops burden)
- Public cloud (rented, instant scale, vendor lock-in risk)
- Hybrid cloud (mix, "worst of both worlds" complexity)
- Multi-cloud (distributed across providers, avoid lock-in but complex)
## Learning Path
1. Evolution: Why we moved to the cloud
2. Models: Detailed comparison of each model
3. Trade-offs: Real company examples
## Discussion Prompt
> *"Why did sovereign cloud providers take off after GDPR, not before?"*
## Expected Challenges
- Misconception: Encryption solves CLOUD Act exposure
- Tricky part: Operational vs. data sovereignty
- Engagement: Ask what happens if US govt blocks AWS service
## Hands-On
Decision matrix exercise: students evaluate hosting models for scenarios
Becomes teaching content:
# 1. Understanding Hosting Models (90 min)
**Goal:** Equip students with foundational mental models to compare and select
the right hosting architecture based on business constraints, team maturity,
and regulatory requirements.
**Teaching Philosophy:** Moving code from a laptop to the internet is no longer
just a technical challenge—it's a business, legal, and financial decision. We
are not here to memorize acronyms (IaaS, PaaS, SaaS) but to understand the
*trade-offs* inherent in shifting responsibility from your team to a vendor.
## 1. Overview of Hosting Models (30 min)
### The Evolution: Why We Moved to the Cloud
To understand modern hosting, we have to look at why it evolved.
[Detailed narrative about on-premises era, why it failed, when cloud emerged...]
```mermaid
graph LR
A["On-Premises"] --> B["Public Cloud Era"]
B --> C["Cloud-Native"]
B --> D["Sovereignty Era"]
On-Premises infrastructure means... [full narrative with trade-offs]
Public Cloud (AWS, Azure, GCP) lets you... [narrative with examples]
Hybrid Cloud is... [narrative with use cases]
Multi-Cloud means... [narrative with why it's complex]
Discussion prompt: "Why did sovereign cloud providers take off after GDPR, not before?"
Pacing: 25 minutes total (5 min per model + 5 min discussion) Common misconception: Students think cost is the main difference. Emphasize that operational burden and sovereignty are equally important. Engagement tip: Ask students: "Which model would you choose for a fintech startup? A government agency? A startup in France vs. Singapore?"
Students will be able to:
## Error Handling
**CLAUDE.md missing:**
❌ Cannot expand outlines — CLAUDE.md not found.
This skill requires a bootstrapped project. Run: /course-bootstrap
...to create CLAUDE.md and project structure.
**Outline file not found:**
❌ File not found: outline/day-2/02-topic.md
Check the file path. Available outline files in outline/day-2/:
**Outline format invalid:**
⚠️ Outline file structure incomplete: outline/day-1/01-topic.md
Expected outline structure:
Fix the outline format and try again.
## Success Report
✅ Outlines expanded successfully!
Expanded:
Total: 3 teaching files created (approx. 4,200 lines)
Next steps:
## Content Review Checklist
After expansion, verify:
- [ ] H1 title matches outline
- [ ] Goal is one clear sentence
- [ ] Teaching Philosophy is 2-3 sentences and explains "why this matters"
- [ ] Each Learning Path item is an H3 subsection
- [ ] Key Concepts are expanded into full narrative paragraphs
- [ ] Discussion prompts are embedded naturally (not dropped randomly)
- [ ] Case studies have: Company, Constraint, Decision, Lesson
- [ ] Case studies include concrete numbers (revenue, timeline, scale)
- [ ] Mermaid diagrams use only approved colors and LR orientation
- [ ] Instructor Notes follow each major section
- [ ] Instructor Notes include: Pacing, Common misconception, Engagement tip
- [ ] Synthesis: Key Takeaways section exists
- [ ] Expected Outcomes are bulleted and measurable
- [ ] Visual placeholders are present where helpful
- [ ] Em-dashes used (—), not double-hyphens (--)
- [ ] No emojis
- [ ] Duration in headings in minutes, not hours