scroll-storyteller
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.
What this skill does
# Scroll Storyteller Create immersive, interactive storytelling experiences using Anthropic's authentic design language: strict duotone palette, organic Bézier SVG paths, custom cursors, and chapter-based narratives. ## Workflow Use `AskUserQuestion` to gather preferences, then generate: | 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 | **Generate:** ```bash bash ~/.claude/skills/scroll-storyteller/scripts/generate.sh my-story <palette> [--gsap] [--chapters N] ``` **Post-generation:** Customize content, create SVGs (see `references/structure-templates.md`) ## SVG Illustration Workflow Each chapter needs a topic-relevant SVG that matches the narrative position: | 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 | **Light/Dark Pattern by Chapter Count:** - **3 chapters:** Ch1=Light → Ch2=Dark → Ch3=Light - **4 chapters:** Ch1=Light → Ch2=Dark → Ch3=Light → Ch4=Dark - **5 chapters:** Ch1=Light → Ch2=Dark → Ch3=Light → Ch4=Dark → Ch5=Light **Process:** 1. Load `references/svg-illustration-guide.md` for theme → element mapping 2. Identify chapter position (hero/ch1/ch2/ch3/ch4/ch5/finale) 3. Extract topic keywords from chapter content 4. Select SVG elements from element library: - Characters: figure-small, figure-large, figure-triumphant, figure-action - Nature: hills, sun, tree, path, clouds, lightning, wind - Objects: staff, crown, shield, weapon, stone, obstacle - Abstract: radiate, rings, trajectory, converge, impact 5. Compose using position template 6. Apply palette mood style (see `references/design-harmony.md` → Palette Mood → SVG Style) 7. Add animation classes: `organic-path`, `fade-path`, `scale-path` **SVG Checklist:** - [ ] Uses only `var(--deep)` and `var(--foam)` colors - [ ] All paths are organic Bézier curves (Q/C commands) - [ ] No geometric primitives (circle, rect, ellipse) - [ ] Opacity range matches palette mood - [ ] Composition matches chapter position - [ ] Symbolically represents chapter content ## Animation Styles | 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 | ### GSAP Features - SVG path draw animations (strokeDasharray) - Continuous orbit/rotation effects - Scroll-linked timeline control - Parallax with scrub - Staggered animations with precise timing ### CSS-only Features - IntersectionObserver reveals - CSS transitions with delays - Transform-based animations - No external dependencies - Smaller bundle size ## Duotone Palettes | # | Theme | Light | Dark | Mood | |---|-------|-------|------|------| | 1 | **Anthropic** | `#FAF9F5` cream | `#141413` charcoal | Warm | | 2 | **Midnight** | `#E8F4F8` ice | `#0D1B2A` navy | Cool | | 3 | **Sepia** | `#F5F0E6` parchment | `#2C1810` espresso | Warm | | 4 | **Forest** | `#F0F4F0` mist | `#1A2E1A` evergreen | Creative | | 5 | **Dusk** | `#F4F0F8` lavender | `#1E1A2E` violet | Creative | | 6 | **Ember** | `#FFF5F0` blush | `#2A1A14` ember | Warm | | 7 | **Steel** | `#F0F2F5` silver | `#1A1C20` graphite | Cool | | 8 | **Ocean** | `#F0F8F8` foam | `#0A1A1A` deep | Cool | **Mood → Palette mapping:** - **Warm**: 1 (Anthropic), 3 (Sepia), 6 (Ember) - **Cool**: 2 (Midnight), 7 (Steel), 8 (Ocean) - **Creative**: 4 (Forest), 5 (Dusk) ## Design Modes | Mode | Description | When to Use | |------|-------------|-------------| | **Authentic** (default) | Strict duotone, organic paths | Editorial, brand storytelling | | **Expressive** | Multi-color accents allowed | Product showcases, demos | ## Core Features | 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 | ## Anthropic Design Language ### Strict Duotone Palette | Element | Hex | CSS Variable | |---------|-----|--------------| | Cream (light) | `#FAF9F5` | `--cream` | | Charcoal (dark) | `#141413` | `--charcoal` | **Rule:** No other colors. All illustrations use exactly these two. ### Typography | Role | Font | Fallback | |------|------|----------| | Display/Headings | Instrument Serif | Georgia, serif | | Body/UI | Inter | -apple-system, sans-serif | **Characteristics:** - Large, editorial headings (clamp 3rem - 7rem) - Light weight (300-400) - Negative letter-spacing on display (-0.02em) - Generous line-height (1.5-1.8) ### SVG Design Rules | 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 | **Anti-patterns:** ``` ❌ <circle>, <rect>, <ellipse> (geometric) ❌ stroke="..." on main elements ❌ Multiple colors ✅ <path d="M... Q... C..."> with organic curves ``` ### Topic-Driven SVG Generation The `svg-generator.sh` helper automatically selects appropriate SVG templates based on chapter content: | 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 | **Usage:** ```bash # 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" ``` **Positions:** `hero` | `ch1` | `ch2` | `ch3` | `ch4` | `ch5` | `finale` ## Animation Patterns For detailed GSAP and CSS animation patterns, see [`references/animation-patterns.md`](./references/animation-patterns.md) **Animation Classes:** | Class | Description | Usage | |-------|-------------|-------| | `organic-path` | Base class for all SVG paths | Always applied | | `fade-path` | Fade in animation | Default for most paths | | `scale-path` | Scale up
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.