Skip to content

Create beautiful slides on the web using a coding agent's frontend skills

Update README with new file structure and architecture explanation

Zara Zhang1cc36e5a7555
diff --git a/README.md b/README.md
index cd11b83..206992d 100644
--- a/README.md
+++ b/README.md
@@ -22,20 +22,20 @@ Copy the skill files to your Claude Code skills directory:
```bash
# Create the skill directory
-mkdir -p ~/.claude/skills/frontend-slides
+mkdir -p ~/.claude/skills/frontend-slides/scripts
-# Copy the files (or download from this repo)
-cp SKILL.md ~/.claude/skills/frontend-slides/
-cp STYLE_PRESETS.md ~/.claude/skills/frontend-slides/
+# Copy all files (or clone this repo directly)
+cp SKILL.md STYLE_PRESETS.md viewport-base.css html-template.md animation-patterns.md ~/.claude/skills/frontend-slides/
+cp scripts/extract-pptx.py ~/.claude/skills/frontend-slides/scripts/
```
-Then use it by typing `/frontend-slides` in Claude Code.
+Or clone directly:
-### Manual Download
+```bash
+git clone https://github.com/zarazhangrui/frontend-slides.git ~/.claude/skills/frontend-slides
+```
-1. Download `SKILL.md` and `STYLE_PRESETS.md` from this repo
-2. Place them in `~/.claude/skills/frontend-slides/`
-3. Restart Claude Code
+Then use it by typing `/frontend-slides` in Claude Code.
## Usage
@@ -71,57 +71,37 @@ The skill will:
## Included Styles
### Dark Themes
-- **Neon Cyber** — Futuristic, techy, particle effects
-- **Midnight Executive** — Premium, corporate, trustworthy
-- **Deep Space** — Cinematic, inspiring, vast
-- **Terminal Green** — Developer-focused, hacker aesthetic
+- **Bold Signal** — Confident, high-impact, vibrant card on dark
+- **Electric Studio** — Clean, professional, split-panel
+- **Creative Voltage** — Energetic, retro-modern, electric blue + neon
+- **Dark Botanical** — Elegant, sophisticated, warm accents
### Light Themes
-- **Paper & Ink** — Editorial, literary, refined
-- **Swiss Modern** — Clean, Bauhaus-inspired, geometric
-- **Soft Pastel** — Friendly, playful, creative
-- **Warm Editorial** — Magazine-style, photographic
+- **Notebook Tabs** — Editorial, organized, paper with colorful tabs
+- **Pastel Geometry** — Friendly, approachable, vertical pills
+- **Split Pastel** — Playful, modern, two-color vertical split
+- **Vintage Editorial** — Witty, personality-driven, geometric shapes
### Specialty
-- **Brutalist** — Raw, bold, attention-grabbing
-- **Gradient Wave** — Modern SaaS aesthetic
-
-## Output Example
-
-Each presentation is a single, self-contained HTML file:
-
-```html
-<!DOCTYPE html>
-<html lang="en">
-<head>
- <!-- Fonts, CSS variables, all styles inline -->
-</head>
-<body>
- <section class="slide title-slide">
- <h1 class="reveal">Your Title</h1>
- </section>
-
- <section class="slide">
- <h2 class="reveal">Slide Content</h2>
- </section>
-
- <!-- Navigation: Arrow keys, scroll, swipe, or click dots -->
- <script>
- // SlidePresentation controller, animations, interactions
- </script>
-</body>
-</html>
-```
+- **Neon Cyber** — Futuristic, particle backgrounds, neon glow
+- **Terminal Green** — Developer-focused, hacker aesthetic
+- **Swiss Modern** — Minimal, Bauhaus-inspired, geometric
+- **Paper & Ink** — Literary, drop caps, pull quotes
+
+## Architecture
+
+This skill uses **progressive disclosure** — the main `SKILL.md` is a concise map (~180 lines), with supporting files loaded on-demand only when needed:
-Features included:
-- Keyboard navigation (arrows, space)
-- Touch/swipe support
-- Mouse wheel scrolling
-- Progress bar
-- Navigation dots
-- Scroll-triggered animations
-- Responsive design
-- Reduced motion support
+| File | Purpose | Loaded When |
+|------|---------|-------------|
+| `SKILL.md` | Core workflow and rules | Always (skill invocation) |
+| `STYLE_PRESETS.md` | 12 curated visual presets | Phase 2 (style selection) |
+| `viewport-base.css` | Mandatory responsive CSS | Phase 3 (generation) |
+| `html-template.md` | HTML structure and JS features | Phase 3 (generation) |
+| `animation-patterns.md` | CSS/JS animation reference | Phase 3 (generation) |
+| `scripts/extract-pptx.py` | PPT content extraction | Phase 4 (conversion) |
+
+This design follows [OpenAI's harness engineering](https://openai.com/index/harness-engineering/) principle: "give the agent a map, not a 1,000-page instruction manual."
## Philosophy
@@ -135,13 +115,6 @@ This skill was born from the belief that:
4. **Comments are kindness.** Code should explain itself to future-you (or anyone else who opens it).
-## Files
-
-| File | Purpose |
-|------|---------|
-| `SKILL.md` | Main skill instructions for Claude Code |
-| `STYLE_PRESETS.md` | Reference file with 10 curated visual styles |
-
## Requirements
- [Claude Code](https://claude.ai/claude-code) CLI