Communitygithub.com

DansiDanutz/场景分解器

将完整的故事或剧本分解为可拍摄的场景,并为每个场景提供图像和动画提示。在构建场景大纲或拍摄列表时使用,用于确定场景边界、时长或每个镜头必须展示的内容。

场景分解器 是什么?

该技能旨在帮助开发者或AI代理用户将完成的剧本或故事高效地分解为独立的、可拍摄的场景。它基于“场景变化规则”(如地点、时间、角色、信息释放或情绪基调的转变)自动识别场景边界,避免在叙事句子中间分割。每个场景都包含一个严格的合同:精确的旁白摘录、估算的持续时间(4-12秒),以及两种类型的提示——IMAGE提示(展示旁白未明确描述的内容,包含主体、服装、地点、光线、情感和胶片色调)和ANIMATION提示(指定一个镜头意图和一个世界运动,例如推进、跟踪或静态保持,配合尘埃、微风等动态元素)。该技能还支持识别视觉高峰场景(如悬念、中点反转、黑暗时刻和释放),这些场景会获得更长的时长和真实的运动生成。它适用于Claude Code、Cursor和Codex等平台,通过严格的规则和提示格式,确保输出的场景列表结构清晰、视觉一致且叙事有效,特别适合视频编辑、电影制作和自动化内容创作流程。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/DansiDanutz/Video-Editor/tree/HEAD/.claude/skills/scene-division

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

场景分解 — 从文本到拍摄列表

场景切分点

每个新场景始于:地点变更 · 时间变更 · 角色变更 · 隐藏信息的释放 · 基调转变。切勿在旁白的句子中间切分;将边界移到最近的分句处。

每个场景的合同(所有项必填)

  • narration_excerpt: 该场景覆盖的精确脚本文字(逐字照抄,不重叠)。
  • duration: 旁白秒数,需测量而非估算。下限4秒,上限12秒——超出则分拆。
  • IMAGE prompt: 展示旁白没有说的内容(旁白说“医生确认了问题”→图像展示诊所体重秤上的小男孩,母亲的手放在他肩上)。始终包含:命名主体、符合时代特征的服装/道具、地点、光线、面部情绪、胶片色调。
  • ANIMATION prompt: 一个镜头意图 + 一个世界运动。镜头按叙事功能分:cold_open=慢推入 · revelation=漂移然后静止 · action=追踪能量 · dark moment=静态保持,画面内生命运动 · finale=上升拉远。世界运动 = 有生命的东西:尘埃、布料中的微风、人群微光、闪烁的灯。
  • 一个资产在影片中只出现一次。重复展示图像会显得廉价。

视觉高峰

标记3-5个场景为高峰(悬念陈述、中点反转、黑暗时刻、释放)。高峰场景需包含:重复出现的角色、真实的生成运动(i2v)、最长的持续时间。非高峰场景应保持短小精炼。

Individual skills in this repo

This repo contains 13 individual skills — each has its own dedicated page.

DansiDanutz/Video-Editor

Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated motion-first unit, including an animated title. Route fresh creation through hyperframes before using this skill.

DansiDanutz/Video-Editor

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

DansiDanutz/Video-Editor

Use when audio already placed in a HyperFrames composition needs to be mixed: fade-in/fade-out, crossfade, track gain or volume, volume automation, ducking, a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), automation envelopes drawn on a track's volume or any effect parameter, or one submix bus carrying a chain, a fader and an automation clock for several tracks at once (`<hf-audio-group>`). Don't use for sourcing or generating audio — finding BGM, SFX, or making a voiceover is `/media-use`. Don't use for clip timing or track layout, which is `/hyperframes-core`.

DansiDanutz/Video-Editor

Use the HyperFrames CLI development loop: init, add, catalog, capture, lint, check, snapshot, compare, grade-compare, preview, play, present, beats, keyframes, single or batch render, publish, cloud, cloudrun, feedback, lambda, doctor, browser, info, upgrade, skills, compositions, timeline, history, docs, benchmark, telemetry, transcribe, auth, tts, and remove-background. Also use when diagnosing build or render failures. validate, inspect, and layout are deprecated aliases; use check. Covers local, HeyGen-hosted cloud, AWS Lambda, and Google Cloud Run rendering.

DansiDanutz/Video-Editor

The HyperFrames composition contract — build one renderable project. Use for composition structure, the `data-*` timing attributes, `class="clip"`, tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

DansiDanutz/Video-Editor

Non-animation creative direction for HyperFrames videos. Use for design spec (frame.md / design.md) handling, palettes, typography, narration, beat planning, audio-reactive visuals, composition patterns, and brand / style decisions. For atomic motion patterns and scene blueprints, use `hyperframes-animation`.

DansiDanutz/Video-Editor

Use when a HyperFrames composition needs a punch-in, punch-out, zoom, reframe, Ken Burns treatment, camera move, visual match/whip handoff, or other seek-safe 2D/3D keyframes; also for GSAP, CSS keyframes, Anime.js, WAAPI, FLIP, paths, masks, SVG morph/draw, text trails, 3D depth, or `hyperframes keyframes` diagnostics. Don't use for broad scene strategy, brand design, media sourcing, captions, or general video planning.

DansiDanutz/Video-Editor

Search, install, and wire registry blocks and components into HyperFrames compositions. Use BEFORE hand-building any named visual — whenever a brief, a user, or a storyboard names a look, effect, treatment, or transition such as CRT scanlines, glitch, chromatic aberration, film grain, a shimmer sweep, a chart, a code or terminal window, a map, or a confetti burst — because roughly 400 hosted items already cover many of them and the search ranks all of them with nothing installed, no project, and no account. Also use when running hyperframes add or hyperframes catalog, installing one item or every block matching a tag, wiring an installed item into index.html, or working with hyperframes.json. Covers discovery, install locations, block sub-composition wiring, component snippet merging, and authoring a new block or component to contribute upstream (idea → scaffold → validate → PR).

DansiDanutz/Video-Editor

Mandatory entry point: read this first for any request to make, create, edit, animate, or render a video, animation, or motion graphic, including a promo, explainer, captioned clip, title card, overlay, slideshow or interactive deck, Remotion port, or any HyperFrames HTML composition. Also use it to inspect, diagnose, validate, preview, publish, or batch-render an existing HyperFrames project. Inputs may be a website URL, GitHub PR, Figma design or URL, text or brief, existing footage, or music. It resumes project state, captures intent when applicable, selects and installs the owning workflow, and routes domain capabilities. HyperFrames is the default output framework unless the user explicitly chooses another framework for the deliverable or asks only to record a browser session.

DansiDanutz/Video-Editor

Use when building or editing a HyperFrames project that people open in Studio: how the timeline should be laid out so it reads well (one caption track, one element kind per track, every scene a sub-composition) and where captions and key content may sit (safe zones). Don't use for how to perform an individual edit (split, trim, retime, volume, copy, swap): that is `creator-editing-recipes.md` in `/hyperframes-core`.

DansiDanutz/Video-Editor

Agent Media OS, the single skill for every media need in a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal.

DansiDanutz/Video-Editor

Turn a product or marketing URL, pasted script, or brief into a product launch / promo video — SaaS promos, feature reveals, product demos, app and company launches. Use when the user wants to market, launch, promote, or reveal a product; the default for any commercial URL. Site tours / showcases of a website route here too — the brief carries the show-it-as-is intent. Unclear → /hyperframes.

DansiDanutz/Video-Editor

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

相关技能