85453da49f
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
Docs / Validate docs (push) Waiting to run
CodeQL / Analyze (actions) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Sync skills to ClawHub / Publish changed skills (push) Waiting to run
regression / regression-shards (style-16-prod style-9-prod style-17-prod iframe-render-compat variables-prod mp4-h265-sdr, shard-4) (push) Has been cancelled
regression / regression-shards (style-4-prod style-11-prod style-2-prod animejs-adapter typegpu-adapter parallel-capture-regression, shard-5) (push) Has been cancelled
regression / regression-shards (style-7-prod style-8-prod style-10-prod css-spinner-render-compat webm-transparency mp4-h264-sdr webm-vp9, shard-3) (push) Has been cancelled
regression / regression-shards (sub-composition-video style-18-prod raf-ball-render-compat font-variant-numeric sub-comp-t0 sub-comp-id-selector, shard-7) (push) Has been cancelled
Windows render verification / Detect changes (push) Has been cancelled
Windows render verification / Preflight (lint + format) (push) Has been cancelled
Windows render verification / Render on windows-latest (push) Has been cancelled
Windows render verification / Tests on windows-latest (push) Has been cancelled
CI / Detect changes (push) Has been cancelled
CI / Build (push) Has been cancelled
CI / Lint (push) Has been cancelled
CI / Fallow audit (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Typecheck (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Producer: integration tests (push) Has been cancelled
CI / Producer: unit tests (push) Has been cancelled
CI / File size check (push) Has been cancelled
CI / Test: skills (push) Has been cancelled
CI / Skills: manifest in sync (push) Has been cancelled
CI / CLI: npx shim (macos-latest) (push) Has been cancelled
CI / CLI: npx shim (ubuntu-latest) (push) Has been cancelled
CI / CLI: npx shim (windows-latest) (push) Has been cancelled
CI / SDK: unit + contract + smoke (push) Has been cancelled
CI / Test: runtime contract (push) Has been cancelled
CI / Studio: load smoke (push) Has been cancelled
CI / Smoke: global install (push) Has been cancelled
CI / CLI smoke (required) (push) Has been cancelled
CI / Semantic PR title (push) Has been cancelled
Player perf / Detect changes (push) Has been cancelled
Player perf / Preflight (lint + format) (push) Has been cancelled
Player perf / player-perf (push) Has been cancelled
Player perf / Perf: drift (push) Has been cancelled
Player perf / Perf: fps (push) Has been cancelled
Player perf / Perf: parity (push) Has been cancelled
Player perf / Perf: scrub (push) Has been cancelled
Player perf / Perf: load (push) Has been cancelled
preview-regression / Detect changes (push) Has been cancelled
preview-regression / Preflight (lint + format) (push) Has been cancelled
preview-regression / Preview parity (push) Has been cancelled
preview-regression / preview-regression (push) Has been cancelled
regression / regression (push) Has been cancelled
regression / Detect changes (push) Has been cancelled
regression / Preflight (lint + format) (push) Has been cancelled
regression / regression-shards (hdr-regression style-5-prod style-3-prod mov-prores, shard-1) (push) Has been cancelled
regression / regression-shards (overlay-montage-prod style-12-prod chat missing-host-comp-id png-sequence portrait-edge-bleed, shard-6) (push) Has been cancelled
regression / regression-shards (style-13-prod style-6-prod vignelli-stacking gsap-letters-render-compat audio-mux-parity, shard-8) (push) Has been cancelled
regression / regression-shards (style-15-prod hdr-hlg-regression style-1-prod many-cuts vfr-screen-recording render-symlinked-assets, shard-2) (push) Has been cancelled
149 lines
7.0 KiB
Plaintext
149 lines
7.0 KiB
Plaintext
---
|
|
title: Claude Design
|
|
description: "Create HyperFrames video drafts in Claude Design, then refine in any AI coding agent."
|
|
---
|
|
|
|
Claude Design produces a **valid first draft** of a HyperFrames video — brand identity, scene content, layout, animations, and transitions. You then download the ZIP and refine in any AI coding agent (Claude Code, Cursor, Codex, Windsurf, etc.) with linting and live preview.
|
|
|
|
## Get started
|
|
|
|
<Steps>
|
|
<Step title="Download the instruction file">
|
|
Open [`claude-design-hyperframes.md`](https://github.com/heygen-com/hyperframes/blob/main/docs/guides/claude-design-hyperframes.md) on GitHub and click the download button (↓) to save it.
|
|
</Step>
|
|
<Step title="Open Claude Design">
|
|
Start a new chat at [claude.ai/design](https://claude.ai/design).
|
|
</Step>
|
|
<Step title="Attach the file + describe your video">
|
|
Drag the `claude-design-hyperframes.md` file into the chat. Describe what you want — include screenshots, brand assets, or a palette if you have them.
|
|
</Step>
|
|
<Step title="Download the ZIP">
|
|
Claude Design produces `index.html`, `preview.html`, `README.md`, and `DESIGN.md`. Download the ZIP.
|
|
</Step>
|
|
<Step title="Refine in any AI coding agent">
|
|
Open the project in Claude Code, Cursor, Codex, or any agent with terminal access for animation polish, timing, and production QA.
|
|
```bash
|
|
npx skills add heygen-com/hyperframes # install skills (one-time)
|
|
npx hyperframes lint # should pass with zero errors
|
|
npx hyperframes preview # open the studio
|
|
```
|
|
</Step>
|
|
</Steps>
|
|
|
|
<Tip>
|
|
**Attach the file, don't paste the URL.** Claude Design reads file attachments natively with detail preserved. URL-driven runs produce usable output but consistently miss more rules.
|
|
</Tip>
|
|
|
|
## Which setup to use
|
|
|
|
| Surface | Recommended setup |
|
|
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
|
|
| Claude Design | Download [`claude-design-hyperframes.md`](https://github.com/heygen-com/hyperframes/blob/main/docs/guides/claude-design-hyperframes.md) from GitHub and attach to your chat |
|
|
| Claude Code | `npx skills add heygen-com/hyperframes`, then use `/hyperframes` |
|
|
| Cursor / Codex / Gemini CLI | `npx skills add heygen-com/hyperframes` |
|
|
|
|
## How it works
|
|
|
|
The instruction file gives Claude Design **pre-valid HTML skeletons** — the structural rules (data attributes, timeline registration, scene visibility, preview token forwarding) are already embedded. Claude Design fills in the creative work:
|
|
|
|
1. **Palette + typography** — CSS custom properties on `:root`
|
|
2. **Scene content** — text, images, layout inside `.scene-content` wrappers
|
|
3. **Animations** — GSAP entrance tweens and mid-scene activity
|
|
4. **Transitions** — hard cuts for most scenes, shader transitions at 2-3 key moments
|
|
|
|
This template-first approach means the output passes `npx hyperframes lint` with zero errors on first download — your coding agent can start refining immediately without structural fixes.
|
|
|
|
## Example prompts
|
|
|
|
<CardGroup cols={1}>
|
|
<Card title="Feature announcement">
|
|
```text
|
|
Use the attached file. I just shipped dark mode for my app. Make me a
|
|
15-second Instagram reel announcing it.
|
|
|
|
- App name: Taskflow
|
|
- Primary color: #6C5CE7
|
|
- The vibe is clean, minimal, dark
|
|
- Key stat: "47% of users requested this"
|
|
```
|
|
</Card>
|
|
<Card title="Founder pitch">
|
|
```text
|
|
Use the attached file. 25-second LinkedIn video for my startup.
|
|
|
|
Problem: Sales teams waste 3 hours/day on manual CRM updates.
|
|
Solution: AutoCRM — AI that logs every call, email, and meeting.
|
|
Traction: 200+ teams, $1.2M ARR, 18% MoM growth.
|
|
CTA: autocrmhq.com
|
|
|
|
Professional but not corporate. Think Linear or Vercel energy.
|
|
```
|
|
</Card>
|
|
<Card title="Stat highlight">
|
|
```text
|
|
Use the attached file. 10-second reel. Just one big number:
|
|
|
|
"$4.2 billion processed in Q1 2026"
|
|
|
|
Dark background, the number should animate up from zero. Subtle,
|
|
confident. End with logo placeholder and "stripe.com"
|
|
```
|
|
</Card>
|
|
<Card title="Sparse brief (let it ask)">
|
|
```text
|
|
Use the attached file. Make a 30-second launch video for Orbit.
|
|
```
|
|
|
|
The instructions tell Claude Design to ask ONE short clarifying question before generating.
|
|
</Card>
|
|
</CardGroup>
|
|
|
|
## What to include in your prompt
|
|
|
|
Claude Design reads inputs in this order of reliability: **attachments > pasted content > web research > URLs**.
|
|
|
|
| Input type | What it gives Claude Design |
|
|
| --- | --- |
|
|
| Screenshots / PDFs / brand guides | Palette, typography, UI patterns, tone — strongest source |
|
|
| Pasted hex codes, typefaces, copy | Authoritative for what it covers |
|
|
| Brand name (well-known) | Claude Design can research blogs, press, Wikipedia |
|
|
| SPA URL (React/Vue homepage) | Returns near-empty shell — pivot to blog/press instead |
|
|
|
|
The more specific your prompt, the better the output. Include palette, fonts, duration, and scene ideas when you have them.
|
|
|
|
## Known limitations
|
|
|
|
- **In-pane preview** — scrubbing is unreliable in Claude Design's iframe sandbox. Download and use `npx hyperframes preview` locally for reliable playback.
|
|
- **No linting** — Claude Design can't run `npx hyperframes lint`. The template-first skeletons handle structural validity, but the self-review checklist is the only QA before download.
|
|
- **Shaders work at any aspect ratio** — vertical (1080x1920), landscape (1920x1080), and square (1080x1080) all supported.
|
|
- **3 fetch limit** — Claude Design limits web fetches per turn. All critical rules are inlined; external references are for edge cases only.
|
|
- **Seeking backwards** — scrubbing backwards in the in-pane preview can show blank frames. Forward seeking usually works.
|
|
|
|
## The handoff to your coding agent
|
|
|
|
Claude Design's output is a valid first draft. Open it in Claude Code, Cursor, Codex, or any AI coding agent with terminal access:
|
|
|
|
```bash
|
|
npx skills add heygen-com/hyperframes # one-time setup
|
|
npx hyperframes lint # verify structure
|
|
npx hyperframes preview # open the studio
|
|
```
|
|
|
|
Then iterate:
|
|
|
|
- "Make scene 3's entrance snappier"
|
|
- "Add a counter animation to the stat in scene 5"
|
|
- "Tighten the pacing — scenes 4 and 6 feel too long"
|
|
- "Change the shader on transition 2 to glitch"
|
|
|
|
## Next steps
|
|
|
|
<CardGroup cols={2}>
|
|
<Card title="Prompt Guide" icon="message" href="/guides/prompting">
|
|
More prompt patterns for HyperFrames across Claude Code, Claude Design, and other agents.
|
|
</Card>
|
|
<Card title="@hyperframes/player" icon="play" href="/packages/player">
|
|
Embed compositions with the official player component.
|
|
</Card>
|
|
</CardGroup>
|