Loading...
Loading...
Use when creating interactive scroll-based storytelling experiences with mouse-following spotlight effects, animated SVG art, and the Anthropic design language. Load for explainer pages, product showcases, visual narratives, or any content needing immersive scroll storytelling with organic shapes and smooth animations. Supports GSAP-powered or lightweight CSS-only animations.
npx skill4agent add ingpoc/skills scroll-storytellerAskUserQuestion| Step | Question | Options |
|---|---|---|
| 1 | Animation? | GSAP (rich) vs CSS-only (lightweight) |
| 2 | Mood? | Warm vs Cool vs Creative |
| 3 | Palette? | (show 3-4 based on mood) |
| 4 | Topic? | Biblical/Tech/Business/Personal/Custom |
| 5 | Chapters? | 3, 4, or 5 |
| 6 | Content per chapter | Title, description, keywords |
bash ~/.claude/skills/scroll-storyteller/scripts/generate.sh my-story <palette> [--gsap] [--chapters N]references/structure-templates.md| Position | Purpose | Composition | Example |
|---|---|---|---|
| Hero | Set scene, show contrast | Wide (1000x1000), 2 silhouettes | David vs Goliath distant |
| Chapter 1 | Introduce protagonist | Centered figure + context | Shepherd with sheep |
| Chapter 2 | Show conflict/obstacle | Imposing, fills frame | Giant warrior |
| Chapter 3 | Resolution/triumph | Dynamic, radiating | Victor + fallen + rays |
| Chapter 4 | Deepening conflict (optional) | Crowded, escalating | Army masses, threats multiply |
| Chapter 5 | Final climax (optional) | Action, decisive | Stone flying, impact moment |
| Finale | Symbolic summary | Centered symbol | Crown + light |
references/svg-illustration-guide.mdreferences/design-harmony.mdorganic-pathfade-pathscale-pathvar(--deep)var(--foam)| Style | Library | Size | Best For |
|---|---|---|---|
| GSAP | GSAP 3.x + ScrollTrigger | ~45KB | Rich interactions, SVG draw, orbits, timelines |
| CSS-only | None (IntersectionObserver) | 0KB | Lightweight, fast load, simple reveals |
| # | Theme | Light | Dark | Mood |
|---|---|---|---|---|
| 1 | Anthropic | | | Warm |
| 2 | Midnight | | | Cool |
| 3 | Sepia | | | Warm |
| 4 | Forest | | | Creative |
| 5 | Dusk | | | Creative |
| 6 | Ember | | | Warm |
| 7 | Steel | | | Cool |
| 8 | Ocean | | | Cool |
| Mode | Description | When to Use |
|---|---|---|
| Authentic (default) | Strict duotone, organic paths | Editorial, brand storytelling |
| Expressive | Multi-color accents allowed | Product showcases, demos |
| Feature | Description |
|---|---|
| Custom Cursor | Dual-layer cursor with smooth easing, mix-blend-mode |
| Hero Section | GSAP: Flowing organic lines (1000x1000 background). CSS-only: Desk lamp with animated light cone reveal |
| Spotlight Layer | Radial gradient follows cursor on dark sections |
| Staggered Reveals | Title words animate in sequence on load |
| Chapter Structure | Alternating light/dark sections with transitions |
| Organic SVGs | Hand-drawn Bézier paths, fill-only (no strokes) |
| Parallax | Subtle depth movement on scroll |
| Element | Hex | CSS Variable |
|---|---|---|
| Cream (light) | | |
| Charcoal (dark) | | |
| Role | Font | Fallback |
|---|---|---|
| Display/Headings | Instrument Serif | Georgia, serif |
| Body/UI | Inter | -apple-system, sans-serif |
| Rule | Description |
|---|---|
| Fills only | Never use strokes for main shapes |
| Organic paths | Complex Bézier curves, hand-drawn feel |
| viewBox | Always 1000x1000 or 500x500 (square) |
| 2-4 paths | Keep compositions simple |
| Layered | Light shapes behind, dark in front |
❌ <circle>, <rect>, <ellipse> (geometric)
❌ stroke="..." on main elements
❌ Multiple colors
✅ <path d="M... Q... C..."> with organic curvessvg-generator.sh| Keywords | Template | Best For |
|---|---|---|
| identity, profile, self, unique | Fingerprint + Verification | Personal identity concepts |
| network, connect, distributed, system | Central Hub + Network | System architecture concepts |
| protect, secure, vault, lock | Protected Vault + Links | Security concepts |
| growth, learn, knowledge, tree | Knowledge Tree | Learning/growth concepts |
| enforce, filter, gate, barrier | Gateway Arches | Enforcement/validation |
| trust, hand, collaboration | Hand Holding + Connection | Partnership concepts |
| unify, finale, complete | Concentric Symbol | Conclusion/unity |
# Source the generator in your script
source scripts/svg-generator.sh
# Generate SVG for a chapter (position: hero/ch1/ch2/ch3/ch4/ch5/finale)
generate_svg_for_chapter \
"ch1" \
"Digital Identity" \
"Your unique identity on the blockchain" \
"var(--foam)" \
"var(--deep)" \
"fade-path"heroch1ch2ch3ch4ch5finalereferences/animation-patterns.md| Class | Description | Usage |
|---|---|---|
| Base class for all SVG paths | Always applied |
| Fade in animation | Default for most paths |
| Scale up animation | Combined with fade-path |
| Stroke draw animation (GSAP only) | For line/path drawing effects |
references/structure-templates.md| File | Purpose | Load When |
|---|---|---|
| Creates HTML (CSS-only or GSAP with --gsap) | Starting new project |
| Topic-driven SVG generation helper | Creating custom illustrations |
| GSAP + CSS animation patterns | Implementing animations |
| Narrative structure + HTML templates | Building sections |
| Theme → SVG element mapping, templates | Creating topic-relevant illustrations |
| Complete worked example with all 5 SVGs | Learning SVG composition patterns |
| Full design system reference | Deep customization |
| GSAP + ScrollTrigger recipes | Using GSAP animation style |
| IntersectionObserver recipes | Using CSS-only animation style |
| Visual cohesion + palette-mood SVG styling | Ensuring consistent design quality |
| File | Animation | Description |
|---|---|---|
| GSAP | Full experience with orbit SVGs, draw animations, parallax |
| CSS-only | Lightweight with IntersectionObserver reveals |
bash scripts/generate.sh project-name <palette> [--gsap]prefers-reduced-motion