Skip to content

Commit f8fad54

Browse files
vanceingallsclaude
andauthored
feat(skill): house style guide for compose-video (#59)
* feat(cli): non-interactive by default, --human-friendly for UI Following ElevenLabs CLI pattern: default mode is agent-friendly (flag-driven, plain text output, fail fast on missing args). Interactive clack UI is opt-in via --human-friendly. Init command: - --template required in default mode (errors with example if missing) - --video / --audio flags for media input - --skip-skills / --skip-transcribe to control optional steps - --human-friendly enables the existing interactive prompts - --help shows examples for every flag combination - Transcription runs automatically in default mode (unless --skip-transcribe) - Plain console.log output, process.exit(1) on errors Skills command: - Added --human-friendly flag - Added examples to --help output Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(cli): improve --help documentation and add --yes/--check to upgrade - upgrade: add --yes and --check flags to skip interactive prompt - benchmark: clarify description — preset fps/quality/worker configs - browser: describe each subcommand (ensure/path/clear) in help - docs: list available topics inline in --help output Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(skill): add house style guide with motion defaults, palettes, and anti-defaults When no visual-style.md is provided, compose-video now follows house-style.md for professional output quality. Includes: - Motion: easing variety, timing, entrance patterns, choreography - Sizing: text scale contrast, element fill, travel distance - Visual depth: gradient/shadow/texture guidance - Typography: weight contrast, tracking, case - Anti-defaults: table of generic AI patterns to avoid - 72 curated color palettes across 9 categories - Content interpretation: generate real content, not prompt text Eval-validated across 5 iterations with 50+ test compositions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(skill): add container anti-default and typography guidance - Anti-default: discourage card/container patterns in favor of content placed directly on canvas (professional video style vs web UI style) - Typography section: weight contrast, deliberate case, tracking, one typeface at two weights - Visual depth: softened to avoid templating (content-appropriate, not every-composition-the-same) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * feat(skill): add scene pacing guidance to house style Three-phase composition structure: build (staggered entrances), breathe (subtle motion to keep holds alive), resolve (fast exits with intention). Prevents front-loading all animation into the first second and dead static holds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix(skill): replace zoom-in monoculture with ambient motion variety The viewport scale and end emphasis code examples were being copied verbatim to every composition. Now offers 6 ambient motion options (pan, rotation, scale in/out, parallax, color shift, stillness) and 4 ending options instead of always zooming. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 25f4af4 commit f8fad54

11 files changed

Lines changed: 255 additions & 0 deletions

File tree

skills/compose-video/SKILL.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Before writing HTML, think at a high level:
1818

1919
For small edits (fix a color, adjust timing, add one element), skip straight to the rules.
2020

21+
When no `visual-style.md` or animation direction is provided, follow [house-style.md](./house-style.md) for motion defaults, sizing, and color palettes.
22+
2123
## Data Attributes
2224

2325
### All Clips
Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
# House Style
2+
3+
Defaults when no `visual-style.md` or animation direction is provided. These raise the floor — not a brand identity, just professional quality.
4+
5+
## Before Writing HTML
6+
7+
1. **Interpret the prompt.** Generate real content for the topic — don't use the prompt text as body copy. A recipe lists real ingredients. A stats dashboard shows the actual numbers given. A product showcase names real features and specs. A sci-fi HUD has actual crosshairs and readouts, not a heading that says "sci-fi HUD."
8+
2. **Pick a palette.** First decide: does this content call for a light or dark canvas? Food, weddings, children, wellness, education, lifestyle, nature, and celebrations → light palette (Warm/Editorial, Clean/Corporate, Nature/Earth, Pastel/Soft). Tech, finance, cinema, nightlife, horror, gaming, and premium → dark palette. Then load the file and pick one palette. Declare your bg, fg, and accent colors before writing any code.
9+
3. **Pick a typeface.** Don't reach for Sora, Space Grotesk, Outfit, Playfair Display, Cormorant Garamond, or Bodoni Moda — they're overused. Explore the full range of Google Fonts. Serif for editorial, mono for technical, display for impact, handwritten for personal.
10+
4. **Pick your entrance patterns.** Plan how elements enter — never use the same entrance pattern twice in a composition.
11+
12+
## Motion
13+
14+
### Easing
15+
16+
Vary your eases. Don't use the same ease on more than 2 tweens in a composition. Pick from the full GSAP vocabulary:
17+
18+
`power1-4.in/out/inOut`, `back.out(1.4-2.5)`, `elastic.out(1, 0.3-0.5)`, `circ.out`, `expo.out`, `sine.inOut`, `steps(n)`
19+
20+
A few principles:
21+
22+
- Opacity fades should be gentle (`power1` or `none`) — don't draw attention to the fade itself
23+
- Overshoot on scale or position feels alive — `back.out` or `elastic.out`
24+
- Snappy moves want `expo.out` or `power4.out` — fast departure, hard stop
25+
- Smooth arcs want `sine.inOut` or `circ.inOut` — no hard edges
26+
27+
### Timing
28+
29+
- **0.3–0.6s** for most moves. Shorter than you think.
30+
- **Exits 2x faster** than entrances.
31+
- **Nothing starts at t=0** — offset first animation 0.1–0.3s.
32+
- **Overlap entries** — next element starts before previous finishes. Use GSAP position parameter: `tl.to(el, {...}, "-=0.15")`
33+
- **Stagger with easing**, not uniform: `stagger: { each: 0.08, ease: "power2.in" }`
34+
35+
### Entrance Patterns
36+
37+
Never fade-in alone. Combine opacity with at least one transform. Never repeat the same entrance in a composition. Invent your own combinations — mix properties creatively:
38+
39+
- **Position** — x, y, or both (diagonal). Vary the axis and distance per element.
40+
- **Scale** — from smaller or larger. Pair with overshoot easing.
41+
- **Rotation** — small angles (3-12deg) feel intentional. Large angles (45-180deg) feel dramatic.
42+
- **Clip path**`inset()`, `circle()`, `polygon()`. Direction matters: left, right, top, center outward.
43+
- **Blur + opacity**`filter: blur(8px)` combined with opacity creates a focus-pull effect.
44+
- **Letter spacing / word spacing** — for text, animate tracking from wide to tight or vice versa.
45+
- **Skew**`skewX` or `skewY` gives a motion-blur feeling without actual blur.
46+
- **3D transforms**`rotationX`, `rotationY` with `transformPerspective` for depth.
47+
48+
Don't copy the same combination across compositions. Each composition should feel like it has its own motion personality.
49+
50+
### Choreography
51+
52+
- **Combined transforms** — animate 2–3 properties together (position + scale, rotation + opacity), not one at a time.
53+
- **Coordinated entry** — when a new element enters, existing elements react. Anchor moves, follower tracks.
54+
- **Ambient motion** — keep the composition alive during holds. Don't default to zoom-in every time. Pick one per composition:
55+
- Slow pan (x or y drift on a container)
56+
- Subtle rotation (0.5–2deg over several seconds)
57+
- Scale push or pull (zoom in OR out — both work)
58+
- Parallax layers (background moves slower than foreground)
59+
- Color/opacity shift on an accent element
60+
- No ambient motion at all — stillness can be powerful
61+
- **End with intention** — don't always zoom at the end. Options: snap to black, fade to stillness, final element snaps into place, a hard cut. Vary this across compositions.
62+
63+
### Scene Pacing
64+
65+
Structure compositions in three phases — don't front-load everything:
66+
67+
- **Build (0–30%)** — elements enter. Stagger arrivals so there's a sequence, not a simultaneous dump.
68+
- **Breathe (30–70%)** — content is visible. Keep it alive with subtle motion: slow camera push, gentle drift, a color shift, a pulsing accent. Static holds feel dead.
69+
- **Resolve (70–100%)** — elements exit or the composition punctuates. Exits are faster than entrances. End with intention — a final zoom, a fade to black, a snap to stillness.
70+
71+
Don't crowd the build phase. If you have 6 elements, let 2-3 enter, breathe, then bring in the rest. Layers of reveals beat a single wave.
72+
73+
## Sizing
74+
75+
- **Text scale contrast** — headings at 3–5x body size, not 1.5x. Big contrast reads as cinematic.
76+
- **Element fill** — hero elements fill 60–80% of the frame. Don't leave them floating at 30%.
77+
- **Travel distance** — entrance moves should cover 80–200px. Under 20px looks like a glitch.
78+
- **Overshoot** — 5–10% overshoot reads as energy. Under 2% reads as a bug.
79+
80+
## Visual Depth
81+
82+
Flat single-color backgrounds look digital. Avoid pure solid backgrounds — add some visual layer to break the flatness. Options include gradients, subtle background shapes, texture, shadows on cards, or border accents. Pick what fits the content — not every composition needs the same treatment. A luxury product wants subtle gradients. A children's show wants bold shapes. A news graphic wants clean borders.
83+
84+
## Typography
85+
86+
Beyond choosing a typeface:
87+
88+
- **Weight contrast** — pair a heavy weight (700-900) headline with a light weight (300-400) body. Don't use the same weight on everything.
89+
- **Case deliberately** — ALL CAPS for labels and short text (under 5 words). Sentence case for longer text. Don't uppercase paragraphs.
90+
- **Tracking** — tight tracking (-0.02em) on large headlines. Normal or wide tracking on small labels.
91+
- **One typeface, two weights** — don't mix typefaces unless you have a reason. One family at two weights creates more hierarchy than two families at one weight each.
92+
93+
## Anti-Defaults
94+
95+
Things the LLM reaches for that look generic. Do the opposite.
96+
97+
| Default | Instead |
98+
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
99+
| Inter / Roboto / system font | Pick a typeface with character — commit to it |
100+
| `#f5f5f5` / `#333` / mid-gray | Go high contrast. Near-black or near-white, not the middle |
101+
| Blue accent `#3b82f6` | No blue unless the user asks for blue |
102+
| Everything centered, equal weight | One focal point per frame. Lead the eye somewhere |
103+
| Uniform spacing | Tight clusters and open gaps. Vary deliberately |
104+
| Same entrance on every element | Never repeat an entrance pattern in a composition |
105+
| 1s duration on everything | 0.3–0.6s. Shorter than you think |
106+
| `power2.out` on everything | Vary eases — no more than 2 independent tweens with the same ease (staggers are exempt) |
107+
| Always dark background | Match the content: food, weddings, kids, wellness, education → light palette |
108+
| Inventing colors per-element | Declare palette up front. Every element references it |
109+
| Content in cards/containers | Place content directly on the canvas — separate with space and alignment, not box boundaries. Cards are a web pattern. Exception: dashboards, lower thirds, captions over footage |
110+
111+
## Palettes
112+
113+
Before writing any HTML, declare your palette: one background, one foreground, one accent. Pick from a category below — don't invent colors. **Match palette to content** — don't default to dark. Children's content, food, weddings, wellness, education, and lifestyle content should typically use light or warm palettes.
114+
115+
| Category | Use for | File |
116+
| ----------------- | --------------------------------------------- | ---------------------------------------------------------- |
117+
| Bold / Energetic | Product launches, social media, announcements | [palettes/bold-energetic.md](palettes/bold-energetic.md) |
118+
| Warm / Editorial | Storytelling, documentaries, case studies | [palettes/warm-editorial.md](palettes/warm-editorial.md) |
119+
| Dark / Premium | Tech, finance, luxury, cinematic | [palettes/dark-premium.md](palettes/dark-premium.md) |
120+
| Clean / Corporate | Explainers, tutorials, presentations | [palettes/clean-corporate.md](palettes/clean-corporate.md) |
121+
| Nature / Earth | Sustainability, outdoor, organic | [palettes/nature-earth.md](palettes/nature-earth.md) |
122+
| Neon / Electric | Gaming, tech, nightlife | [palettes/neon-electric.md](palettes/neon-electric.md) |
123+
| Pastel / Soft | Fashion, beauty, lifestyle, wellness | [palettes/pastel-soft.md](palettes/pastel-soft.md) |
124+
| Jewel / Rich | Luxury, events, sophisticated | [palettes/jewel-rich.md](palettes/jewel-rich.md) |
125+
| Monochrome | Dramatic, typography-focused | [palettes/monochrome.md](palettes/monochrome.md) |
126+
127+
**Escape hatch:** If no category fits, derive from the color wheel — pick a base hue, take its complement or triadic, pull a dark from OKLCH lightness 15% and a light from 90%.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Bold / Energetic
2+
3+
Product launches, social media, announcements, high-energy content.
4+
5+
```
6+
#FFBE0B #FB5607 #FF006E #8338EC #3A86FF
7+
#F72585 #7209B7 #3A0CA3 #4361EE #4CC9F0
8+
#EF476F #FFD166 #06D6A0 #118AB2 #073B4C
9+
#FF595E #FFCA3A #8AC926 #1982C4 #6A4C93
10+
#9B5DE5 #F15BB5 #FEE440 #00BBF9 #00F5D4
11+
#390099 #9E0059 #FF0054 #FF5400 #FFBD00
12+
#3D348B #7678ED #F7B801 #F18701 #F35B04
13+
#FFBC42 #D81159 #8F2D56 #218380 #73D2DE
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Clean / Corporate
2+
3+
Explainers, tutorials, presentations, professional content.
4+
5+
```
6+
#FFFCF2 #CCC5B9 #403D39 #252422 #EB5E28
7+
#22223B #4A4E69 #9A8C98 #C9ADA7 #F2E9E4
8+
#3D5A80 #98C1D9 #E0FBFC #EE6C4D #293241
9+
#2B2D42 #8D99AE #EDF2F4 #EF233C #D90429
10+
#353535 #3C6E71 #FFFFFF #D9D9D9 #284B63
11+
#E7ECEF #274C77 #6096BA #A3CEF1 #8B8C89
12+
#CFDBD5 #E8EDDF #F5CB5C #242423 #333533
13+
#2F6690 #3A7CA5 #D9DCD6 #16425B #81C3D7
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Dark / Premium
2+
3+
Tech, finance, luxury, cinematic content.
4+
5+
```
6+
#000000 #14213D #FCA311 #E5E5E5 #FFFFFF
7+
#000814 #001D3D #003566 #FFC300 #FFD60A
8+
#0D1B2A #1B263B #415A77 #778DA9 #E0E1DD
9+
#0D1321 #1D2D44 #3E5C76 #748CAB #F0EBD8
10+
#011627 #FDFFFC #2EC4B6 #E71D36 #FF9F1C
11+
#0B090A #161A1D #660708 #A4161A #E5383B
12+
#001427 #708D81 #F4D58D #BF0603 #8D0801
13+
#001524 #15616D #FFECD1 #FF7D00 #78290F
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Jewel / Rich
2+
3+
Luxury, events, sophisticated, high-end content.
4+
5+
```
6+
#5F0F40 #9A031E #FB8B24 #E36414 #0F4C5C
7+
#780000 #C1121F #FDF0D5 #003049 #669BBC
8+
#10002B #240046 #3C096C #5A189A #7B2CBF
9+
#355070 #6D597A #B56576 #E56B6F #EAAC8B
10+
#6F1D1B #BB9457 #432818 #99582A #FFE6A7
11+
#231942 #5E548E #9F86C0 #BE95C4 #E0B1CB
12+
#461220 #8C2F39 #B23A48 #FCB9B2 #FED0BB
13+
#780116 #F7B538 #DB7C26 #D8572A #C32F27
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Monochrome
2+
3+
Dramatic, typography-focused, serious content.
4+
5+
```
6+
#F8F9FA #E9ECEF #DEE2E6 #CED4DA #ADB5BD #6C757D #495057 #343A40 #212529
7+
#0466C8 #0353A4 #023E7D #002855 #001233
8+
#012A4A #013A63 #01497C #2A6F97 #468FAF #89C2D9
9+
#582F0E #7F4F24 #936639 #A68A64 #C2C5AA
10+
#463F3A #8A817C #BCB8B1 #F4F3EE #E0AFA0
11+
#03071E #370617 #6A040F #9D0208 #DC2F02 #F48C06 #FFBA08
12+
#590D22 #800F2F #A4133C #FF4D6D #FF8FA3 #FFCCD5
13+
#220901 #621708 #941B0C #BC3908 #F6AA1C
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Nature / Earth
2+
3+
Sustainability, outdoor, organic, wellness content.
4+
5+
```
6+
#606C38 #283618 #FEFAE0 #DDA15E #BC6C25
7+
#DAD7CD #A3B18A #588157 #3A5A40 #344E41
8+
#386641 #6A994E #A7C957 #F2E8CF #BC4749
9+
#CAD2C5 #84A98C #52796F #354F52 #2F3E46
10+
#F0EAD2 #DDE5B6 #ADC178 #A98467 #6C584C
11+
#132A13 #31572C #4F772D #90A955 #ECF39E
12+
#6B9080 #A4C3B2 #CCE3DE #EAF4F4 #F6FFF8
13+
#233D4D #FE7F2D #FCCA46 #A1C181 #619B8A
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Neon / Electric
2+
3+
Gaming, tech, nightlife, Gen Z content.
4+
5+
```
6+
#F72585 #B5179E #7209B7 #560BAD #3A0CA3
7+
#70D6FF #FF70A6 #FF9770 #FFD670 #E9FF70
8+
#7400B8 #6930C3 #5E60CE #5390D9 #48BFE3
9+
#0B132B #1C2541 #3A506B #5BC0BE #6FFFE9
10+
#540D6E #EE4266 #FFD23F #3BCEAC #0EAD69
11+
#2D00F7 #6A00F4 #8900F2 #A100F2 #F20089
12+
#FF6D00 #FF7900 #FF8500 #FF9100 #240046
13+
#BBFBFF #8DD8FF #4E71FF #5409DA
14+
```
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Pastel / Soft
2+
3+
Fashion, beauty, lifestyle, wellness content.
4+
5+
```
6+
#CDB4DB #FFC8DD #FFAFCC #BDE0FE #A2D2FF
7+
#CCD5AE #E9EDC9 #FEFAE0 #FAEDCD #D4A373
8+
#FFD6FF #E7C6FF #C8B6FF #B8C0FF #BBD0FF
9+
#FFA69E #FAF3DD #B8F2E6 #AED9E0 #5E6472
10+
#EDAFB8 #F7E1D7 #DEDBD2 #B0C4B1 #4A5759
11+
#555B6E #89B0AE #BEE3DB #FAF9F9 #FFD6BA
12+
#006D77 #83C5BE #EDF6F9 #FFDDD2 #E29578
13+
#0081A7 #00AFB9 #FDFCDC #FED9B7 #F07167
14+
```

0 commit comments

Comments
 (0)