generate-video
Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.
- License 许可
- MIT
- 最近更新
- 2026-08-05
- Stars
- ★ 35
- Forks
- 0
01 前言 Front Matter
- name
- generate-video
- context
- fork
- description
- Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.
- when_to_use
- generate video, product demo video, release walkthrough, Remotion, animated demo
- allowed-tools
- [ "Read", "Write", "Edit", "Grep", "Glob", "Bash", "Task", "AskUserQuestion", "WebFetch" ]
- argument-hint
- [demo|arch|release]
- disable-model-invocation
- true
02 资源文件 84
- 资产文件assets/backgrounds/backgrounds.json4.9 KB
- 资产文件assets/sounds/sounds.json5.7 KB
- 参考文档package.json710 B
- 参考文档references/analyzer.md4.5 KB
- 参考文档references/asset-customization.md11.2 KB
- 参考文档references/best-practices.md8.6 KB
- 参考文档references/direction-guide.md14.6 KB
- 参考文档references/generator.md25.9 KB
- 参考文档references/image-generator.md9.0 KB
- 参考文档references/image-patterns.md14.5 KB
- 参考文档references/image-quality-check.md6.9 KB
- 参考文档references/MIGRATION-11.2.md7.9 KB
- 参考文档references/naming-conventions.md6.0 KB
- 参考文档references/planner.md7.6 KB
- 参考文档references/visual-effects.md11.0 KB
- 其他remotion/components/BackgroundLayer.tsx7.5 KB
- 其他remotion/components/EmphasisBox.tsx5.9 KB
- 脚本remotion/components/index.ts1004 B
- 其他remotion/components/ProgressIndicator.tsx6.8 KB
- 参考文档remotion/components/README.md8.5 KB
- 其他remotion/components/TransitionWrapper.tsx5.7 KB
- 参考文档remotion/tsconfig.json617 B
- 参考文档schemas/animation.schema.json5.2 KB
- 参考文档schemas/assets.manifest.schema.json5.9 KB
- 参考文档schemas/character.schema.json16.0 KB
- 参考文档schemas/direction.schema.json4.5 KB
- 参考文档schemas/emphasis.schema.json8.6 KB
- 参考文档schemas/examples/scenario-example.json1.6 KB
- 参考文档schemas/examples/scene-example.json1.6 KB
- 参考文档schemas/examples/video-script-example.json5.1 KB
- 参考文档schemas/examples/visual-patterns/comparison-example.json1.0 KB
- 参考文档schemas/examples/visual-patterns/concept-example.json2.1 KB
- 参考文档schemas/examples/visual-patterns/flow-example.json1.8 KB
- 参考文档schemas/examples/visual-patterns/highlight-example.json745 B
- 参考文档schemas/README.md8.1 KB
- 参考文档schemas/scenario.schema.json3.6 KB
- 参考文档schemas/scene.schema.json8.2 KB
- 脚本schemas/validate-schemas-basic.js2.7 KB
- 脚本schemas/validate-schemas.js6.6 KB
- 参考文档schemas/video-script.schema.json7.6 KB
- 参考文档schemas/visual-patterns.schema.json14.2 KB
- 脚本scripts/generate-schemas.js6.2 KB
- 脚本scripts/load-assets.js14.1 KB
- 脚本scripts/merge-scenes.js15.0 KB
- 脚本scripts/README.md7.4 KB
- 脚本scripts/render-video.js14.0 KB
- 脚本scripts/template-registry.js10.0 KB
- 脚本scripts/validate-scenario.js8.0 KB
- 脚本scripts/validate-scene.js4.3 KB
- 脚本scripts/validate-video.js13.0 KB
- 脚本src/schemas/animation.ts3.7 KB
- 脚本src/schemas/assets.manifest.ts2.8 KB
- 脚本src/schemas/character.ts6.5 KB
- 脚本src/schemas/direction.ts3.2 KB
- 脚本src/schemas/emphasis.ts5.2 KB
- 脚本src/schemas/index.ts423 B
- 脚本src/schemas/scenario.ts2.7 KB
- 脚本src/schemas/scene.ts5.5 KB
- 脚本src/schemas/video-script.ts9.4 KB
- 脚本src/schemas/visual-patterns.ts8.2 KB
- 脚本src/types/components.ts6.0 KB
- 脚本src/types/index.ts108 B
- 参考文档src/types/README.md4.1 KB
- 脚本src/utils/converters.js5.9 KB
- 脚本src/utils/converters.ts5.7 KB
- 脚本src/utils/index.ts109 B
- 参考文档src/utils/README.md6.1 KB
- 参考文档templates/image-prompts/comparison.txt1.3 KB
- 参考文档templates/image-prompts/concept.txt2.3 KB
- 参考文档templates/image-prompts/flow.txt2.8 KB
- 参考文档templates/image-prompts/highlight.txt3.2 KB
- 参考文档templates/intro-3min.json8.9 KB
- 参考文档templates/teaser-90s.json7.0 KB
- 脚本tests/asset-loader.test.js12.1 KB
- 脚本tests/character-schema.test.js7.9 KB
- 脚本tests/converters.test.js8.3 KB
- 脚本tests/determinism.test.js11.4 KB
- 脚本tests/e2e/merge-e2e.test.js13.3 KB
- 脚本tests/e2e/render.test.js6.1 KB
- 参考文档tests/fixtures/minimal-video-script.json1.2 KB
- 脚本tests/merge-scenes.test.js17.2 KB
- 脚本tests/schema-validation.test.js3.7 KB
- 脚本tests/validation-integration.test.js12.9 KB
- 脚本tests/visual-patterns.test.js12.1 KB
03 SKILL.md 正文
Generate Video Skill
A collection of skills responsible for automatically generating product explanation videos.
Overview
This skill is used internally by the /generate-video command.
It executes the flow of codebase analysis → scenario proposal → parallel generation.
Feature Details
| Feature | Details |
|---|---|
| Best Practices | See references/best-practices.md |
| Codebase Analysis | See references/analyzer.md |
| Scenario Planning | See references/planner.md |
| Parallel Scene Generation | See references/generator.md |
| Visual Effects Library | See references/visual-effects.md |
| AI Image Generation | See references/image-generator.md |
| Image Quality Assessment | See references/image-quality-check.md |
Prerequisites
- Remotion is set up (
/remotion-setup) - Node.js 18+
- (Optional)
GOOGLE_AI_API_KEY- for AI image generation
/generate-video Flow
/generate-video
│
├─[Step 1] Analysis (analyzer.md)
│ ├─ Framework detection
│ ├─ Key feature detection
│ ├─ UI component detection
│ └─ Project asset analysis (Plans.md, CHANGELOG, etc.)
│
├─[Step 2] Scenario Proposal (planner.md)
│ ├─ Auto-determine video type
│ ├─ Scene composition proposal
│ └─ User confirmation
│
├─[Step 2.5] Asset Generation (image-generator.md) ← NEW
│ ├─ Determine if assets are needed (intro, CTA, etc.)
│ ├─ Generate 2 images with Nano Banana Pro
│ ├─ Claude assesses quality (image-quality-check.md)
│ └─ OK → adopt / NG → regenerate (up to 3 times)
│
└─[Step 3] Parallel Generation (generator.md)
├─ Parallel scene generation (Task tool)
├─ Integration + transitions
└─ Final rendering
Execution Steps
- User runs
/generate-video - Verify Remotion setup
- Analyze codebase with
analyzer.md - Propose scenario with
planner.md+ user confirmation - Parallel generation with
generator.md - Completion report
Video Types (by funnel stage)
| Type | Funnel Stage | Approx. Length | Auto-detection Criteria | Core Structure |
|---|---|---|---|---|
| LP/Ad Teaser | Awareness → Interest | 30-90s | New project | Pain → Result → CTA |
| Intro Demo | Interest → Consideration | 2-3 min | UI changes detected | Complete 1 use case |
| Release Notes | Consideration → Conviction | 1-3 min | CHANGELOG updated | Before/After focused |
| Architecture Overview | Conviction → Decision | 5-30 min | Major structural changes | Production use + evidence |
| Onboarding | Retention & Adoption | 30s - several min | First-time setup | Shortest path to Aha moment |
Details: references/best-practices.md
Scene Templates
90-second Teaser (for LP/ads)
| Time | Scene | Content |
|---|---|---|
| 0-5s | Hook | Pain or desired outcome |
| 5-15s | Problem+Promise | Target user and promise |
| 15-55s | Workflow | Signature workflow |
| 55-70s | Differentiator | Basis for differentiation |
| 70-90s | CTA | Next step |
3-minute Intro Demo (for consideration)
| Time | Scene | Content |
|---|---|---|
| 0-10s | Hook | Conclusion + pain |
| 10-30s | UseCase | Use case declaration |
| 30-140s | Demo | Full walkthrough on actual screens |
| 140-170s | Objection | Address one common concern |
| 170-180s | CTA | Call to action |
Common Scenes
| Scene | Recommended Duration | Content |
|---|---|---|
| Intro | 3-5s | Logo + tagline |
| Feature Demo | 10-30s | Playwright capture |
| Architecture Diagram | 10-20s | Mermaid → animation |
| CTA | 3-5s | URL + contact |
Detailed templates: ${CLAUDE_SKILL_DIR}/references/best-practices.md
Audio Sync Rules (Important)
Strictly follow these rules for narrated videos:
| Rule | Value |
|---|---|
| Audio start | Scene start + 30f (1-second wait) |
| Scene length | 30f + audio length + 20f padding |
| Transition | 15f (overlap with adjacent scenes) |
| Scene start calculation | Previous scene start + previous scene length - 15f |
Pre-check: Verify audio length with ffprobe before designing scenes
BGM Support
| Item | Recommended Value |
|---|---|
| With narration | bgmVolume: 0.20 - 0.30 |
| Without narration | bgmVolume: 0.50 - 0.80 |
| File location | public/BGM/ |
Subtitle Support
| Rule | Value |
|---|---|
| Subtitle start | Same as audio start |
| Subtitle duration | Audio length + 10f |
| Font | Base64 embedding recommended |
Visual Effects Library
A collection of effects for impactful videos:
| Effect | Use Case |
|---|---|
| GlitchText | Hook, titles |
| Particles | Background, CTA convergence |
| ScanLine | Analysis in-progress effect |
| ProgressBar | Parallel processing display |
| 3D Parallax | Card display |
Details: references/visual-effects.md
Notes
- If Remotion is not set up, guide users to
/remotion-setup - Number of parallel generations auto-adjusts based on scene count (max 5)
- Generated videos are output to the
out/directory - AI-generated images are saved to
out/assets/generated/ - When
GOOGLE_AI_API_KEYis not set, image generation is skipped (existing assets or placeholders are used)
04 同仓库更多 Skills
escape-skill
暂无简介
zz-review-empty
暂无简介
harness-schedule-run
Use when running Plans.md tasks on a scheduled cadence (fresh context per wake-up, sprint-contract flow, plateau detection, flock guard). Do NOT load for: single-task work (harness-work), planning, review, release.
harness-work
Use when implementing, executing, or running Plans.md tasks — single task, parallel workers, or full team/breezing run. Accepts specific task numbers or ranges. Do NOT load for: planning, review, release, or setup.
harness-schedule-run
Use when running Plans.md tasks on a scheduled cadence (fresh context per wake-up, sprint-contract flow, plateau detection, flock guard). Do NOT load for: single-task work (harness-work), planning, review, release.
breezing
Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.