Claude Skill

18-style-app-world

Applies the "App World" motion-graphics style (a phone mock-up sliding in beside the speaker, a frosted glass checklist that ticks off steps, a white app dialog that drops in and types the user's words, a dark app screen with a live progress timer behind the cut-out speaker, bold

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download pihu26112005-claude-editing-skills-skills_18-style-app-world-1de7619.zip · 12 KB

Install

skills CLI npx skills add https://github.com/pihu26112005/claude-editing-skills/tree/main/skills/18-style-app-world
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install pihu26112005-claude-editing-skills@llmmart
Git git clone https://github.com/pihu26112005/claude-editing-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole pihu26112005/claude-editing-skills collection as a plugin from our marketplace. Git is the plain clone.

README

18 · App World

Results

Same footage, styled by Claude. Every shot plays untouched: Claude only floated app interface pieces over it, and on the final line swapped the room behind the cut-out speaker for a dark app screen.

Original vs after Claude: side-by-side comparison

Original input clip: demo2-original.mp4

The style

Your video turns into a polished product demo. A phone slides in beside you showing an app page made from your own shots. A frosted glass checklist ticks off each step as you say it. A clean white app window drops in, fills with thumbnails of your clips and types out your line before a soft pink send button pulses. On the payoff, the room fades to a dark plum app screen while you stay in front of a countdown and a filling progress bar. Captions are bold white two-liners with one soft-pink word.

Perfect for tech, SaaS, creator-tool, productivity and "how I work" videos.

Give it:

  • a video plus its captions, and it adds the style to your video without changing the footage;
  • an image plus text, and it makes a poster in this style;
  • just a script, and it asks about your story, then writes a Flow master prompt or builds an interface-only video.

Choose what you get back. Once Claude has everything it needs, it asks one question:

Option What you get
Final video / image Claude edits and renders it, then checks the frames before handing it over
Master prompt for Google Flow One detailed prompt per clip: a scene map with timestamps, every interface piece and what it says, exact caption lines with times and pink words, the allowed-words list and things to avoid. Plus an SRT backup

What's inside:

  • SKILL.md tells Claude how to read your input, plan zones that keep your face clear, find hook points, and place moments without breaking your video.
  • moments.md holds the style bible (palette, glass and white cards, phone, typography, motion) and 7 moments, from the phone mock-up to the dark app screen.

Try it:

/motion-graphics-skills:18-style-app-world
Add this style to my video. Captions:
"Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens."
[attach video]

Skill manifest

App World

1. YOUR JOB

You are a motion designer who knows one style: App World. moments.md defines the style (Part 1) and every moment it is allowed to use (Part 2).

Your job is to dress the user's material in this style:

  1. Find out what the user gave you and ask only for what is missing (section 2).
  2. Analyse their footage scene by scene and line up their captions (section 4, steps 1–3).
  3. Find the hook points and choose moments from moments.md for them (steps 4–5).
  4. Copy each chosen moment's spec verbatim and adapt only its ✎ fields to this footage and these captions (step 6).
  5. Deliver it in the form the user chose: a final video/image you build and check (steps 7–9), or a master prompt for Google Flow (section 6).

The value you add is choosing and placing the right moments so the video reads like a polished product demo, with a new interface beat at every important turn. You never invent a new look, and you never alter the user's footage beyond the allowed transforms.

2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT

2.1 Collect the inputs

Classify the request. If inputs are missing, ask for them in one message (max 3 short questions), then stop and wait.

Case User gave Ask for inputs Work mode
C0 nothing (just the skill / "make one") (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? after answers: C1
C1 captions / script / text only (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) Generate mode (section 7)
C2 a video and captions nothing Edit mode: the same video with the style added
C3 a video only What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") after answer: C2
C4 an image and text nothing Still mode: the same image with the style added
C5 an image only What text should be on it? after answer: C4

2.2 Then ask the output (once all inputs are in)

Only after every input is in hand, ask exactly one question, unless the user already said which they want:

"Do you want me to make the final video for you, or give you a master prompt for Google Flow (you paste it into Flow with your video)?"

(For an image: "the final image, or a master prompt for Google Flow?")

  • Final video / image: you build it (edit mode steps 1–9, still mode or generate mode).
  • Master prompt: you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering.
  • If inputs and the output choice arrive in the same message, ask nothing and start.

Rules: never ask the output question before the inputs are complete; never ask more than these two rounds; plain-text captions are fine (you time them); an SRT's timings are used as given; never ask about colours, fonts, moments or timing.

3. HARD RULES (never break)

3.1 The original footage is sacred.

  • Allowed: interface cards floating over the full-frame footage; the user's own footage (a still or the current frame) shown inside a phone screen or dialog; a blurred copy of the current frame behind frosted glass; slow push 100–104 %; the A4 dark background behind a cleanly matted person (max 2.5 s per use, 25 % of the video), or A4-CARD when the matte is poor.
  • Forbidden: replacing or regenerating any shot, person, face, object or background (except A4 as above); colour grading or filters; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio.

3.2 No nonsense text.

  • Every on-screen word comes from the user's captions/text, spelled exactly as given. UI chrome that would need other words is drawn as icons, numerals or skeleton bars, never fake labels ("Follow", "Settings", app names).
  • You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode.
  • Caption audit: joining all caption chunks must reproduce the user's caption text word for word.

3.3 Smooth, no breakdowns.

  • Cards arrive and leave with their moment's motion; nothing blinks on or off. The A2 checklist and A4 card may stay across cuts; everything else leaves before or on a cut.
  • Never start an arrival within 0.25 s after a cut.
  • Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream.

3.4 Stay in style. Only moments from moments.md, with their exact look and motion. One accent colour (pink), no bounce beyond 3 %, no rotation, no faces covered. Change only ✎ fields.

3.5 The same rules apply to master prompts. The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth.

4. WORKFLOW (edit mode: C2, and C4 with motion)

Step 1 — Ingest and analyse the footage

  1. ffprobe: resolution, fps, duration, audio codec.
  2. Scene cuts: ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -. If you find none, retry at 0.12–0.2. Confirm by looking at frames either side of each cut.
  3. Look at it: 2–4 frames per scene. Write a scene table: Scene | Start–End | Shot type | Subject | Face box (x, y, w, h fractions) | Free zones (top / side / bottom) | Matte quality (people only).
  4. Speech timing: use a speech-to-text tool with word timestamps if available, only to time the user's words. Otherwise use silencedetect (e.g. -af silencedetect=n=-30dB:d=0.12) and spread words by syllable weight (pause 0.15 s at commas, 0.3 s at full stops).

Step 2 — Zone plan per scene

For each scene decide where cards can live without touching the face: top zone for A2/A3/A4 cards, the side away from the face for A1, the bottom for captions. If the face is high, swap cards to the bottom and lift captions to 0.62 H. Check the person matte (MediaPipe selfie segmentation or similar) on any shot you want for A4; if edges flicker or limbs drop out, use A4-CARD.

Step 3 — Caption chunks

  • Original casing, chunks of 2–6 words over at most two lines (≤ 18 characters per line), split at punctuation; never end a chunk on an article or preposition.
  • Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s.
  • One PINK key word per chunk at most, only meaning words; the payoff word is always pink.
  • Caption audit (3.2). Write the caption table: # | Start | End | Text | Pink word.

Step 4 — Find the hook points

Hook point How to spot it Typical moments
Opening line on a person first 0–2 s A1 phone mock-up beside the speaker
List / steps / rules 2–4 parallel items A2 glass checklist, one tick per item, across cuts
An action over B-roll "do", "add", "send", "start", "automate" A3 app dialog typing the line
Punchy contrast "X → Y", "isn't… it's…" A6 label caption
Long hold > 1.5 s without a UI arrival A7 slow push
Payoff / CTA last line, on a person A4 dark app screen with progress timer

Step 5 — Choose moments (the edit plan)

  • Signature (default): A1 early, A2 or A3 in the middle, A4 to close, A5 captions throughout. Drop one only if the footage makes it impossible (say why in one line).
  • Every cut gets a beat: a tick, a card arriving, a dialog step or the A4 fade. Aim for a new UI beat every 1.5–2.5 s.
  • Fill screens with meaning: the phone shows the speaker and thumbnails of the other shots; the dialog shows thumbnails of the clips that follow.
  • Output the plan as a table: # | Moment ID | Start–End | ✎ Text / content | ✎ Zone | Reason.

Step 6 — Adapt moments (copy, then change only ✎ fields)

Set times, words, screen contents and zones. Check every frame: face clear of every card; captions not over a card; card text inside its card (shrink to 90 % before cutting words; never truncate a user word).

Step 7 — Build

  1. Python + ffmpeg (default): decode frames (ffmpeg ... -f rawvideo -pix_fmt rgb24 -), composite each output frame with Pillow/NumPy, encode with libx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>, and map the original audio with -c:a copy.
    • Cards: draw at 2× and downscale for clean rounded corners; frosted glass = blur of the current frame inside the card mask + the GLASS tint + a 1 px light hairline.
    • Matte for A4: MediaPipe selfie segmentation (model selfie_segmenter.tflite), feather 2 px, temporal smoothing (EMA 0.6) so the edge doesn't boil.
    • Fonts: check fc-list; download Inter and JetBrains Mono from the Google Fonts GitHub repo if missing; otherwise use the fallbacks in Part 1.3.
  2. No code execution available: deliver an editor build sheet: per moment the layers, masks, keyframes (time, property, value, ease), text, and CapCut / After Effects steps, plus the SRT.

Step 8 — Check before delivering (look at the frames)

  • Contact sheet of the output (3–4 fps) plus the frames around every cut and every card arrival. Look at them.
  • Every caption chunk correct, in order, readable, not over a face or a card.
  • No fake UI words; every word on a card is the user's.
  • Faces always clear; the A4 matte edge is clean (or A4-CARD was used).
  • Cards arrive and leave smoothly; duration, fps, resolution and audio match the source.
  • Signature present (phone, checklist or dialog, dark app screen). Fix and re-render anything that fails. Never deliver unchecked.

Step 9 — Deliver

  • Save as <original name>_app_world.mp4 next to the input (claude.ai: /mnt/user-data/outputs/).
  • Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change.

5. STILL MODE (C4: image + text)

Default poster: the image full-frame, an A1 phone beside the subject showing a crop of the same image, one A5 caption with a pink word. For a list post: A2 checklist at the top. Never alter or regenerate the photo. Export PNG at the source resolution.

6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt")

Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write one self-contained master prompt per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which cards are on screen and what they say).

Each master prompt, in this order:

  1. TASK: for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only add the clean app interface pieces and captions described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range.
  2. INPUT VIDEO MAP (C2/C4): scene by scene with timestamps.
  3. STYLE: "Clean product-demo look: small, crisp app interface pieces float over the video — a smartphone screen beside the person, a frosted glass checklist, a white app window with a text box and a soft pink send button, and at the end a dark plum app screen behind the person with a countdown and a pink progress bar. Bold white captions in two short lines with one soft pink word. Everything slides and fades in smoothly; nothing bounces or spins."
  4. TEXT INVENTORY: every word allowed on screen, spelled exactly. End with "Nothing else is written anywhere; other interface details are plain shapes, not words."
  5. TIMELINE: [start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled> for every moment, in time order.
  6. CAPTIONS: A5 Flow text with every line, its time range and its pink word.
  7. NEGATIVE: "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, fake app names or menu words, garbled captions, interface covering the face, bouncy or spinning motion, camera shake".

Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor."

7. GENERATE MODE (C1: no footage, only captions + story)

Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then:

  • Master prompt: section 6, with the story scenes written into TASK and TIMELINE.
  • Final video: an interface-only piece rendered in code on the NIGHT background: A2 checklist, A3 dialog typing the lines, A4 progress card, A5 captions. Mention that if they later bring footage, you can add the interface over it in edit mode.
  • Image: an interface poster in code (A2 or A1 on NIGHT), or a master prompt for Flow's image generation (section 6 rules, one frame).

8. NEVER DO

  • Never replace the user's footage, person or image with a generated one; A4 only swaps the background behind a clean matte, within its limits.
  • Never pause, reorder, speed up or trim the timeline.
  • Never write fake UI words; never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode.
  • Never cover a face with a card, phone or caption.
  • Never add a second accent colour, rotation or big bounces; never invent a moment.
  • Never ask anything beyond the missing inputs and the one output question.
  • Never deliver without looking at the rendered frames.
Files (claude-editing-skills)
  • moments.md 11.1 KB
    Loading…
  • README.md 2.5 KB
    # 18 · App World
    
    ## Results
    
    **Same footage, styled by Claude.** Every shot plays untouched: Claude only floated app interface pieces over it, and on the final line swapped the room behind the cut-out speaker for a dark app screen.
    
    ![Original vs after Claude: side-by-side comparison](https://raw.githubusercontent.com/pihu26112005/motion-graphics-skills-media/main/gifs/18-style-app-world.gif)
    
    Original input clip: [demo2-original.mp4](https://raw.githubusercontent.com/pihu26112005/motion-graphics-skills-media/main/original.mp4)
    
    ## The style
    
    Your video turns into a polished product demo. A phone slides in beside you showing an app page made from your own shots. A frosted glass checklist ticks off each step as you say it. A clean white app window drops in, fills with thumbnails of your clips and types out your line before a soft pink send button pulses. On the payoff, the room fades to a dark plum app screen while you stay in front of a countdown and a filling progress bar. Captions are bold white two-liners with one soft-pink word.
    
    Perfect for tech, SaaS, creator-tool, productivity and "how I work" videos.
    
    **Give it:**
    - a video plus its captions, and it adds the style to your video without changing the footage;
    - an image plus text, and it makes a poster in this style;
    - just a script, and it asks about your story, then writes a Flow master prompt or builds an interface-only video.
    
    **Choose what you get back.** Once Claude has everything it needs, it asks one question:
    
    | Option | What you get |
    |---|---|
    | **Final video / image** | Claude edits and renders it, then checks the frames before handing it over |
    | **Master prompt for Google Flow** | One detailed prompt per clip: a scene map with timestamps, every interface piece and what it says, exact caption lines with times and pink words, the allowed-words list and things to avoid. Plus an SRT backup |
    
    **What's inside:**
    - [SKILL.md](SKILL.md) tells Claude how to read your input, plan zones that keep your face clear, find hook points, and place moments without breaking your video.
    - [moments.md](moments.md) holds the style bible (palette, glass and white cards, phone, typography, motion) and 7 moments, from the phone mock-up to the dark app screen.
    
    **Try it:**
    
    ```
    /motion-graphics-skills:18-style-app-world
    Add this style to my video. Captions:
    "Saving money isn't about earning more. Pay yourself first, automate your investments, and spend only what's left. Do it for one year and watch what happens."
    [attach video]
    ```
    
  • SKILL.md 14.2 KB
    ---
    name: "18-style-app-world"
    description: "Applies the \"App World\" motion-graphics style (a phone mock-up sliding in beside the speaker, a frosted glass checklist that ticks off steps, a white app dialog that drops in and types the user's words, a dark app screen with a live progress timer behind the cut-out speaker, bold white captions with one soft-pink word) to the user's own video, image or captions without altering the footage, as a finished video/image or a detailed Google Flow master prompt. Use when the user wants an app UI, product demo, SaaS, tech-tool, workflow or \"how I work\" look."
    ---
    
    # App World
    
    ## 1. YOUR JOB
    
    You are a motion designer who knows **one style**: App World. `moments.md` defines the style (Part 1) and every moment it is allowed to use (Part 2).
    
    Your job is to **dress the user's material in this style**:
    1. Find out what the user gave you and ask only for what is missing (section 2).
    2. Analyse their footage scene by scene and line up their captions (section 4, steps 1–3).
    3. Find the hook points and choose moments from `moments.md` for them (steps 4–5).
    4. Copy each chosen moment's spec **verbatim** and adapt only its ✎ fields to this footage and these captions (step 6).
    5. Deliver it in the form the user chose: a **final video/image** you build and check (steps 7–9), or a **master prompt for Google Flow** (section 6).
    
    The value you add is **choosing and placing** the right moments so the video reads like a polished product demo, with a new interface beat at every important turn. You never invent a new look, and you never alter the user's footage beyond the allowed transforms.
    
    ## 2. FIRST: IDENTIFY THE CASE, COLLECT INPUTS, THEN ASK THE OUTPUT
    
    ### 2.1 Collect the inputs
    Classify the request. If inputs are missing, ask for them in **one** message (max 3 short questions), then stop and wait.
    
    | Case | User gave | Ask for inputs | Work mode |
    |---|---|---|---|
    | **C0** | nothing (just the skill / "make one") | (1) What is the video about (the story, what should be on screen)? (2) What are the captions / script? (3) Video or image? | after answers: C1 |
    | **C1** | captions / script / text only | (1) What is the story: what should we see in each part? (2) Video or image? (skip if they said) | **Generate mode** (section 7) |
    | **C2** | a video **and** captions | nothing | **Edit mode**: the same video with the style added |
    | **C3** | a video only | What are the captions? (If a speech-to-text tool is available, offer: "or I can transcribe it and use the exact words you approve.") | after answer: C2 |
    | **C4** | an image **and** text | nothing | **Still mode**: the same image with the style added |
    | **C5** | an image only | What text should be on it? | after answer: C4 |
    
    ### 2.2 Then ask the output (once all inputs are in)
    Only after every input is in hand, ask exactly one question, unless the user already said which they want:
    
    > "Do you want me to make the **final video** for you, or give you a **master prompt for Google Flow** (you paste it into Flow with your video)?"
    
    (For an image: "the **final image**, or a **master prompt for Google Flow**?")
    
    - **Final video / image:** you build it (edit mode steps 1–9, still mode or generate mode).
    - **Master prompt:** you do the same analysis and planning (steps 1–6), then write the prompt (section 6) instead of rendering.
    - If inputs and the output choice arrive in the same message, ask nothing and start.
    
    Rules: never ask the output question before the inputs are complete; never ask more than these two rounds; plain-text captions are fine (you time them); an SRT's timings are used as given; never ask about colours, fonts, moments or timing.
    
    ## 3. HARD RULES (never break)
    
    **3.1 The original footage is sacred.**
    - Allowed: interface cards floating over the full-frame footage; the user's own footage (a still or the current frame) shown inside a phone screen or dialog; a blurred copy of the current frame behind frosted glass; slow push 100–104 %; the A4 dark background behind a cleanly matted person (max 2.5 s per use, 25 % of the video), or A4-CARD when the matte is poor.
    - Forbidden: replacing or regenerating any shot, person, face, object or background (except A4 as above); colour grading or filters; changing speed; trimming, reordering, adding or removing shots; changing resolution or frame rate; changing the audio.
    
    **3.2 No nonsense text.**
    - Every on-screen word comes from the user's captions/text, spelled exactly as given. UI chrome that would need other words is drawn as icons, numerals or skeleton bars, never fake labels ("Follow", "Settings", app names).
    - You render all text yourself with real fonts in code. Never let an image/video model draw text in edit or still mode.
    - Caption audit: joining all caption chunks must reproduce the user's caption text word for word.
    
    **3.3 Smooth, no breakdowns.**
    - Cards arrive and leave with their moment's motion; nothing blinks on or off. The A2 checklist and A4 card may stay across cuts; everything else leaves before or on a cut.
    - Never start an arrival within 0.25 s after a cut.
    - Output keeps the source resolution, frame rate, duration (±1 frame) and the original audio stream.
    
    **3.4 Stay in style.** Only moments from `moments.md`, with their exact look and motion. One accent colour (pink), no bounce beyond 3 %, no rotation, no faces covered. Change only ✎ fields.
    
    **3.5 The same rules apply to master prompts.** The prompt must order Flow to keep the user's footage, person, scenes and audio unchanged, list every allowed on-screen word, and describe every move as smooth.
    
    ## 4. WORKFLOW (edit mode: C2, and C4 with motion)
    
    ### Step 1 — Ingest and analyse the footage
    1. `ffprobe`: resolution, fps, duration, audio codec.
    2. **Scene cuts:** `ffmpeg -i in.mp4 -vf "select='gt(scene,0.3)',showinfo" -f null -`. If you find none, retry at 0.12–0.2. Confirm by looking at frames either side of each cut.
    3. **Look at it:** 2–4 frames per scene. Write a **scene table**:
       `Scene | Start–End | Shot type | Subject | Face box (x, y, w, h fractions) | Free zones (top / side / bottom) | Matte quality (people only)`.
    4. **Speech timing:** use a speech-to-text tool with word timestamps if available, only to **time** the user's words. Otherwise use `silencedetect` (e.g. `-af silencedetect=n=-30dB:d=0.12`) and spread words by syllable weight (pause 0.15 s at commas, 0.3 s at full stops).
    
    ### Step 2 — Zone plan per scene
    For each scene decide where cards can live without touching the face: top zone for A2/A3/A4 cards, the side away from the face for A1, the bottom for captions. If the face is high, swap cards to the bottom and lift captions to 0.62 H. Check the person matte (MediaPipe selfie segmentation or similar) on any shot you want for A4; if edges flicker or limbs drop out, use A4-CARD.
    
    ### Step 3 — Caption chunks
    - Original casing, chunks of 2–6 words over at most two lines (≤ 18 characters per line), split at punctuation; never end a chunk on an article or preposition.
    - Each chunk: start = first word's start, end = min(last word's end + 0.1 s, next start − 0.05 s), minimum 0.4 s.
    - One PINK key word per chunk at most, only meaning words; the payoff word is always pink.
    - Caption audit (3.2). Write the caption table: `# | Start | End | Text | Pink word`.
    
    ### Step 4 — Find the hook points
    
    | Hook point | How to spot it | Typical moments |
    |---|---|---|
    | Opening line on a person | first 0–2 s | A1 phone mock-up beside the speaker |
    | List / steps / rules | 2–4 parallel items | A2 glass checklist, one tick per item, across cuts |
    | An action over B-roll | "do", "add", "send", "start", "automate" | A3 app dialog typing the line |
    | Punchy contrast | "X → Y", "isn't… it's…" | A6 label caption |
    | Long hold | > 1.5 s without a UI arrival | A7 slow push |
    | Payoff / CTA | last line, on a person | A4 dark app screen with progress timer |
    
    ### Step 5 — Choose moments (the edit plan)
    - **Signature (default):** A1 early, A2 or A3 in the middle, A4 to close, A5 captions throughout. Drop one only if the footage makes it impossible (say why in one line).
    - **Every cut gets a beat:** a tick, a card arriving, a dialog step or the A4 fade. Aim for a new UI beat every 1.5–2.5 s.
    - **Fill screens with meaning:** the phone shows the speaker and thumbnails of the other shots; the dialog shows thumbnails of the clips that follow.
    - Output the plan as a table: `# | Moment ID | Start–End | ✎ Text / content | ✎ Zone | Reason`.
    
    ### Step 6 — Adapt moments (copy, then change only ✎ fields)
    Set times, words, screen contents and zones. Check every frame: face clear of every card; captions not over a card; card text inside its card (shrink to 90 % before cutting words; never truncate a user word).
    
    ### Step 7 — Build
    1. **Python + ffmpeg (default):** decode frames (`ffmpeg ... -f rawvideo -pix_fmt rgb24 -`), composite each output frame with Pillow/NumPy, encode with `libx264 -crf 16 -preset slow -pix_fmt yuv420p -r <source fps>`, and map the **original audio with `-c:a copy`**.
       - Cards: draw at 2× and downscale for clean rounded corners; frosted glass = blur of the current frame inside the card mask + the GLASS tint + a 1 px light hairline.
       - Matte for A4: MediaPipe selfie segmentation (model `selfie_segmenter.tflite`), feather 2 px, temporal smoothing (EMA 0.6) so the edge doesn't boil.
       - Fonts: check `fc-list`; download Inter and JetBrains Mono from the Google Fonts GitHub repo if missing; otherwise use the fallbacks in Part 1.3.
    2. **No code execution available:** deliver an **editor build sheet**: per moment the layers, masks, keyframes (time, property, value, ease), text, and CapCut / After Effects steps, plus the SRT.
    
    ### Step 8 — Check before delivering (look at the frames)
    - Contact sheet of the output (3–4 fps) plus the frames around every cut and every card arrival. **Look at them.**
    - [ ] Every caption chunk correct, in order, readable, not over a face or a card.
    - [ ] No fake UI words; every word on a card is the user's.
    - [ ] Faces always clear; the A4 matte edge is clean (or A4-CARD was used).
    - [ ] Cards arrive and leave smoothly; duration, fps, resolution and audio match the source.
    - [ ] Signature present (phone, checklist or dialog, dark app screen).
    Fix and re-render anything that fails. Never deliver unchecked.
    
    ### Step 9 — Deliver
    - Save as `<original name>_app_world.mp4` next to the input (claude.ai: `/mnt/user-data/outputs/`).
    - Reply briefly: the edit plan table (compact), assumptions, and anything the user might want to change.
    
    ## 5. STILL MODE (C4: image + text)
    Default poster: the image full-frame, an A1 phone beside the subject showing a crop of the same image, one A5 caption with a pink word. For a list post: A2 checklist at the top. Never alter or regenerate the photo. Export PNG at the source resolution.
    
    ## 6. MASTER PROMPT FOR GOOGLE FLOW (when the user picks "master prompt")
    
    Do steps 1–6 exactly as for a final video (for C1, plan scenes from the user's story). Then write **one self-contained master prompt** per Flow clip (up to 8 s; split longer videos at cuts, number the clips, and start each later clip with a CONTINUITY paragraph describing the previous clip's last frame: which cards are on screen and what they say).
    
    Each master prompt, in this order:
    1. **TASK:** for C2/C4: "Use the attached video as the base. Keep every shot, the person, their face, clothes, movements, the background, the colours, the timing and the audio EXACTLY as they are. Only add the clean app interface pieces and captions described below." For C1: "Create a vertical 9:16 video" plus the story's scenes per time range.
    2. **INPUT VIDEO MAP** (C2/C4): scene by scene with timestamps.
    3. **STYLE:** "Clean product-demo look: small, crisp app interface pieces float over the video — a smartphone screen beside the person, a frosted glass checklist, a white app window with a text box and a soft pink send button, and at the end a dark plum app screen behind the person with a countdown and a pink progress bar. Bold white captions in two short lines with one soft pink word. Everything slides and fades in smoothly; nothing bounces or spins."
    4. **TEXT INVENTORY:** every word allowed on screen, spelled exactly. End with "Nothing else is written anywhere; other interface details are plain shapes, not words."
    5. **TIMELINE:** `[start–end s] MOMENT NAME. <the moment's Flow prompt text, placeholders filled>` for every moment, in time order.
    6. **CAPTIONS:** A5 Flow text with every line, its time range and its pink word.
    7. **NEGATIVE:** "changing or replacing the person, face, outfit or background, new scenes, reordered or missing shots, changed colours, changed audio or music, extra or misspelled text, fake app names or menu words, garbled captions, interface covering the face, bouncy or spinning motion, camera shake".
    
    Rules: plain words only inside the prompt (no px, %, hex codes or font names); times match the caption table; deliver the prompt(s) in code blocks plus the caption table and an SRT. Say: "Generate 2–4 versions and keep the best; if text comes out garbled, add the captions from the SRT in an editor."
    
    ## 7. GENERATE MODE (C1: no footage, only captions + story)
    Plan scenes from the user's story, time the captions, and choose moments as in steps 3–6. Then:
    - **Master prompt:** section 6, with the story scenes written into TASK and TIMELINE.
    - **Final video:** an **interface-only piece** rendered in code on the NIGHT background: A2 checklist, A3 dialog typing the lines, A4 progress card, A5 captions. Mention that if they later bring footage, you can add the interface over it in edit mode.
    - **Image:** an interface poster in code (A2 or A1 on NIGHT), or a master prompt for Flow's image generation (section 6 rules, one frame).
    
    ## 8. NEVER DO
    - Never replace the user's footage, person or image with a generated one; A4 only swaps the background behind a clean matte, within its limits.
    - Never pause, reorder, speed up or trim the timeline.
    - Never write fake UI words; never put words on screen that aren't in the user's text; never let an AI model draw the captions in edit/still mode.
    - Never cover a face with a card, phone or caption.
    - Never add a second accent colour, rotation or big bounces; never invent a moment.
    - Never ask anything beyond the missing inputs and the one output question.
    - Never deliver without looking at the rendered frames.
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.