Communitygithub.com

AlessandroFare/fluxychat

Der HyperFrames-Kompositionsvertrag – erstelle ein renderbares Projekt. Verwende ihn für die Kompositionsstruktur, die `data-*`-Timing-Attribute, `class="clip"`, Tracks, Unterkompositionen, Variablen, frameworkgesteuerte Medienwiedergabe, deterministische Rendering-Regeln und Validierung. Deckt auch Tailwind-Projekte und die Planformate STORYBOARD.md / SCRIPT.md ab. Vor dem Schreiben von Kompositions-HTML lesen.

Was ist fluxychat?

Dieser Skill definiert den technischen Vertrag zum Erstellen eines HyperFrames-Projekts. HyperFrames rendert Videos aus HTML, wobei das DOM mit `data-*`-Attributen das Timing vorgibt. Der Skill beschreibt die Grundstruktur und alle kritischen Regeln, um deterministische, suchbare und reproduzierbare Kompositionen zu bauen. Er behandelt sowohl eigenständige Kompositionen als auch Unterkompositionen, die in `<template>`-Elementen verpackt sind, sowie die Anforderungen an eindeutige IDs, korrekte Größenangaben für Wurzelelemente und die Nutzung von Tailwind v4. Umfassende Referenzen zu detaillierten Themen wie `data-*`-Attributen, Tracks, Unterkompositionen, Variablen, Determinismus, Storyboard-Format und Produktionsablauf sind in einem Referenztabellenbereich aufgeführt. Der Skill legt fest, dass jede Komposition genau eine pausierte GSAP-Timeline registriert, dass Medien durch das Framework gesteuert werden und dass bestimmte nicht verhandelbare Regeln (wie kein `Math.random`, keine unendlichen Wiederholungen, keine `display`-Tweens) strikt eingehalten werden müssen. Der Skill enthält auch eine Validierungscheckliste mit `hyperframes-cli`-Befehlen und warnt vor häufigen Fehlern, die automatische Tests möglicherweise übersehen.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/AlessandroFare/fluxychat/tree/HEAD/.agents/skills/hyperframes-core

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

HyperFrames Core

HyperFrames rendert Videos aus HTML. Eine Komposition ist eine HTML-Datei, deren DOM mit data-*-Attributen das Timing vorgibt, deren Animationslaufzeit suchbar ist und deren Medienwiedergabe vom Framework gesteuert wird.

Dieser Skill ist der technische Vertrag – wie man ein Hyperframes-Projekt erstellt. Der folgende Text ist der Bauleitfaden; detaillierte Informationen zu jedem Thema finden sich in references/ (Index als nächstes), bei Bedarf abrufbar. Andere Belange liegen in den zugehörigen Bereichsskills – hyperframes-animation, hyperframes-creative, media-use, hyperframes-cli, hyperframes-registry. Die Fähigkeitslandkarte in /hyperframes sagt, was jeder abdeckt.

Referenzen

DateiLies sie, um…
references/minimal-composition.mdmit dem kleinsten renderbaren Kompositionsskelett zu beginnen
references/composition-patterns.mdmonolithisch vs. modular zu wählen; eine modulare index.html zu strukturieren; einen Unterkompositions-Archetyp zu wählen
references/data-attributes.mdjedes data-* (root / clip / sub-comp host / legacy Aliase) nachzuschlagen; class="clip" zu verwenden
references/tracks-and-clips.mddata-track-index zu wählen, Überlappungen / z-index auf demselben Track zu handhaben, einen Clip relativ zu einem anderen zu timen
references/sub-compositions.mdeine Unterkomposition zu verdrahten (host-Attribute, <template>, Instanzvariablen) und darin zu animieren
references/variables-and-media.mdVariablen zu deklarieren; <video>/<audio> zu platzieren, Lautstärke einzustellen, zu trimmen
references/determinism-rules.mdeine suchbare Timeline zu bauen; Determinismus-Verbote; die Allowlist animierbarer Eigenschaften; Layout / Textanpassung
references/full-screen-motion.mdVollbild-Bewegung mit gemeinsamen Hintergründen zu erstellen
references/storyboard-format.mdeinen STORYBOARD.md-Plan zu verfassen (+ das geparste Manifest)
references/review-loop.mddie Plan → Skizze → Bau-Review-Durchläufe auf einem Live-Board auszuführen – gemeinsam für jeden Storyboard-Planungs-Workflow
references/production-loop.mdeinen genehmigten Plan zu einem ausgelieferten Video zu bringen – die Phasenabhängigkeiten (Audio, Frames, Assembly, Übergänge, Untertitel, verifizieren, ausliefern) einem freiformatigen Build direkt folgen
references/brief-contract.mddie Grundregeln des Briefings – Modus-Ableitung (kollaborativ / autonom), gemeinsames Feld-Register, Frage-Invarianten (die Frage selbst lebt in /hyperframes → der Intentionsebene)
references/brief-format.mdBRIEF.md zu verfassen – das bestätigte Absichtsdokument, das ein Workflow-Setup schreibt und jeder spätere Schritt liest
references/script-format.mddas optionale SCRIPT.md-locked-Narration zu verfassen
references/subagent-dispatch.mddie Subagent-Dispatch-Verben (paralleles Fan-out / Hintergrund / warten) auf deine Umgebung abzubilden
references/frame-worker-core.mdden gemeinsamen Frame-Worker-Rollenvertrag – jeder narrative Workflow-Paket-Builder stellt ihn seinem Workflow sub-agents/frame-worker.md-Delta voran
references/tailwind.mdin einem Tailwind v4-Projekt zu arbeiten (init --tailwind; der Laufzeitvertrag unterscheidet sich von Studios v3)

Für spezifische Animationslaufzeiten (GSAP-API, Lottie, Three.js usw.) gehe zu hyperframes-animation → adapters/<runtime>.md.

Eine Komposition bauen

Zwei Root-Formen (nicht austauschbar)

  • Eigenständig (Top-Level index.html) – root <div data-composition-id="…"> liegt direkt in <body>, kein <template>-Wrapper (ein Wrapper versteckt den gesamten Inhalt und bricht das Rendering).
  • Unterkomposition (geladen über data-composition-src) – root muss in <template> verpackt sein.

⚠ Transportregel: Die Laufzeit klont nur <template>-Inhalte; alles außerhalb (inkl. <head>-Styles/Skripte) wird verworfen – platziere <style>/<script> innerhalb des Templates. ⚠ Host-ID-Regel: Die data-composition-id des Host-Slots muss exakt der data-composition-id des inneren Templates und dem window.__timelines["<id>"]-Schlüssel entsprechen – kein -mount/-slot/-host-Suffix.

Dateiform, Host-Verdrahtung und die Pre-Render-Checkliste → references/sub-compositions.md.

Root muss Größe haben (stiller Layout-Bug)

Der eigenständige Root benötigt eine explizite dimensionierte Box (width/height in px), und jeder Vorfahre bis zu einem Element mit height:100% muss eine aufgelöste Höhe haben – andernfalls kollabiert ein flex/100%-Child auf ~0 und der Inhalt türmt sich in der oberen linken Ecke. Verlasse dich nicht allein auf automatisierte Gates, um dies zu erkennen; überprüfe einen Snapshot. Skelett → references/minimal-composition.md.

Eine pausierte Timeline

Jede Komposition registriert exakt eine gsap.timeline({ paused: true }) unter window.__timelines["<id>"] (Schlüssel = root data-composition-id), synchron beim Seitenladen erstellt. Render-Dauer = root data-duration, nicht Timelinelänge. Verschachtele keine Unter-Timelines manuell in den Host. Vollständiger Vertrag (inkl. Nicht-GSAP-Laufzeiten) → references/determinism-rules.md + hyperframes-animation/adapters/.

First-Pass-Lint-Fallen (ein garantierter erster Build-Fehler)

Zwei Regeln, die lint zwar erkennt, aber erst nachträglich – schreibe sie gleich richtig:

  • Das Root-Kompositionselement muss data-start="0" tragen (neben data-composition-id/data-width/data-height); das Weglassen führt bei lint zu root_composition_missing_data_start.
  • Kombiniere niemals ein CSS-initiales transform mit einem GSAP-Tween auf der gleichen Eigenschaft – der CSS-Wert und der Tween-Start kämpfen, und lint lehnt es mit gsap_css_transform_conflict ab. Setze den Initialzustand innerhalb des Tweens mit gsap.fromTo(el, { x: -40 }, { x: 0 }) anstelle eines CSS transform: translateX(-40px).

Nicht verhandelbare Regeln (stille Bugs, die automatisierte Gates übersehen können)

Hier aufgeführt; vollständige Begründung in der verlinkten Referenz. Nicht verletzen:

  • Keine Laufzeituhren / ungesätes Math.random / Netzwerk / Eingabezustand; kein repeat: -1 (endliche Anzahl verwenden). → determinism-rules.md
  • Nur die Allowlist visueller Eigenschaften animieren; niemals display oder rohes visibility tweenen. GSAP autoAlpha und Timeline-Grenzen mit Dauer Null sind die einzigen Sichtbarkeitsausnahmen, und nur auf Nicht-Clip-Elementen oder Wrappern innerhalb eines Clips. Das Framework allein steuert die .clip-Sichtbarkeit. Führe kein gsap.set für später erscheinende Clips beim Seitenladen aus. → determinism-rules.md
  • Kein <br> im Fließtext; transformierte Elemente müssen block-level + dimensioniert sein; pulsierende absolute Dekorationselemente benötigen Spitzenabstand. → determinism-rules.md
  • <video>/<audio> funktionieren in jeder Verschachtelungstiefe (auch innerhalb eines Unterkompositions-<template> oder Wrappers); das Framework besitzt die Wiedergabe und sucht/decodiert Medien, wo immer sie sich befinden. Die einzige Einschränkung betrifft Timelines, nicht die Platzierung: Eine Unterkompositions-Timeline kann keine Host-Root-Elemente animieren. → variables-and-media.md
  • Jede id muss über die assemblierte Seite hinweg eindeutig sein; innerhalb einer Unterkomposition IDs mit der Kompositions-ID präfixen (#<id>-hero). Doppelte <video>/<img>-IDs rendern leer – der Producer injiziert Frames per getElementById, und Dateiübergreifende Duplikate entgehen lint. → composition-patterns.md
  • Ein Vollbild-Szenenfill geht auf ein vollflächiges Child (position:absolute; inset:0), niemals auf das Kompositions-Root selbst – das Frame-Compositing des Producers kann das eigene background des Root-Elements fallen lassen (das Frame rendert schwarz), obwohl die Vorschau/snapshot es korrekt anzeigen. → composition-patterns.md

Bestehende Kompositionen bearbeiten

  • Lies zuerst die Dateien. Erhalte nicht zusammenhängendes Timing, Tracks, IDs, Variablen, Medienpfade.
  • Stimme vorhandene Kompositions-IDs und Timeline-Schlüssel ab.
  • Hinzufügen eines Clips: Wähle einen nicht überlappenden data-track-index oder passe umgebendes Timing absichtlich an.
  • data-hidden auf einem Kompositionselement versteckt es sowohl in der VORSCHAU als auch im RENDER und überschreibt sein Zeitfenster; es ist nicht destruktiv/umkehrbar und wird durch das Timeline-Augen-Symbol von Studio umgeschaltet.
  • Hinzufügen einer Unterkomposition: Überprüfe ihre interne data-composition-id, bevor du den Host verdrahtest.

Validierung

Verwende hyperframes-cli für Befehlsdetails

  • npx hyperframes check besteht (0 Befunde über lint, Laufzeit, Layout, Bewegung und Kontrast)
  • Projekte mit Unterkompositionen: npx hyperframes snapshot --at <midpoints> und jedes Frame überprüfen
  • npx hyperframes preview zur Überprüfung (der Benutzer kann alles in Studios Timeline bearbeiten)
  • npx hyperframes render erst nach Genehmigung durch den Benutzer

Individual skills in this repo

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

AlessandroFare/fluxychat

Add captions or subtitles to an existing single-subject talking-head video without editing the footage. Use for plain verbatim captions, cinematic captions embedded behind the subject, VFX captions, “炸/特效/酷炫字幕,” or a named identity from the 35-style catalog. Route by visual identity, not by backend engine. The quiet `anchor` rail is the default; embed every word only when the user explicitly wants a fully cinematic treatment. The workflow runs locally end to end, including transcription and subject matting; split multi-shot footage before applying it.\n

AlessandroFare/fluxychat

Use when audio already placed in a HyperFrames composition needs to be mixed: a music bed that fights a voiceover (voiceover carve), effects on a track (EQ, compressor, limiter, gate, saturation, delay, reverb, chorus, phaser, bitcrush), or automation envelopes drawn on a track's volume or any effect parameter. 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`.\n

AlessandroFare/fluxychat

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, 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.\n

AlessandroFare/fluxychat

Install, discover, and wire registry blocks and components into HyperFrames compositions. 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).

AlessandroFare/fluxychat

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.\n

AlessandroFare/fluxychat

Overlay doctrine for the embedded-captions workflow — the caption MODEL (drop / rail / embed) and the rule that captions are an OVERLAY composited on top of the film, never a reserved bottom band you shift content up to avoid. Load when adding captions/subtitles to a talking-head or launch video, when deciding whether a phrase should be dropped, ride the verbatim rail, or be promoted to a scarce embedded climax, when laying out a composition that will carry captions (do NOT reserve a keep-out band), or when centering a composition on the true frame center under captions. Quotes the rail+embed model from embedded-captions and constraint #13 (captions overlay, keep-out band retired) from the product-launch-video scene agent. Applies ON TOP of embedded-captions.

AlessandroFare/fluxychat

Turn a weekly changelog .md into a finished branded changelog video (square 1080, ~45-60s, Annie VO, animated brand background, mock-UI visualizations, lowkey captions). Use when the user provides a changelog/digest markdown and wants the weekly video, or says "changelog video". Self-contained — fonts, background, lexicon, and scripts ship in this skill.

AlessandroFare/fluxychat

Audit and fix animation performance issues including layout thrashing, compositor properties, scroll-linked motion, and blur effects. Use when animations stutter, transitions jank, or reviewing CSS/JS animation performance.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

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`.

AlessandroFare/fluxychat

Use when a HyperFrames composition needs seek-safe 2D/3D keyframes, GSAP timelines, 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.

AlessandroFare/fluxychat

GATEWAY — load FIRST before composing any HyperFrames animation or video. The high-level motion law that makes a multi-scene video feel like ONE continuous camera move instead of a stack of independently-animated slides. Covers the vector law (how you exit determines how you enter, incl. the Z scale-sign rule), the film's current, carrier elements, causal motion, the Seam Gate (build-gate enforcement), the ban on idle wobble (motion must PERFORM, not breathe), stillness-before-climax, and the sustained-motion routes. Routes to the low-level technique skills (cut-the-curve — the full catalog incl. waterfall entry + nudge curve, oversized-cursor, seam-craft). These rules SUPERSEDE generic / upstream motion guidance. [continuity, direction, vector, momentum, seam, transition, ease, performance, idle-motion, narrative-motion, film-grammar]

AlessandroFare/fluxychat

A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI animation (scroll, cursor, callouts), or fusing a real image's geometry into a chart. Usually under 10s (up to ~30s), no narration or live-action subject; renders to MP4 or transparent overlay. Longer / narrated / multi-scene → /general-video. Unclear → /hyperframes.

AlessandroFare/fluxychat

Turn a music track (an audio file, a video to pull audio from, or a track generated from a mood brief) into a beat-synced video — lyric video, slideshow, or kinetic promo. The music drives all pacing; any user-supplied images/videos are cut onto the same beat grid, and a complete video needs zero assets. Narrated pieces → the input-matched workflow (see /hyperframes). Unclear → /hyperframes.

AlessandroFare/fluxychat

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.

AlessandroFare/fluxychat

Turn a GitHub pull request (a PR URL, owner/repo#N, or 'this PR' in a checked-out repo) into a code-change explainer video — changelog, feature reveal, fix, or refactor walkthrough built from the diff, commits, and files: the input is a code change, not a website. Not a product promo (/product-launch-video) or a no-PR topic explainer (/faceless-explainer). Unclear → /hyperframes.

AlessandroFare/fluxychat

Design and improve user interfaces using the concrete rules from Refactoring UI (Wathan & Schoger) — constrained spacing/type/color/shadow scales, visual hierarchy through weight and color rather than size, and depth through emulated light. Use when building or styling any UI (web, app, dashboard, landing page, component), when picking font sizes, spacing, colors, shadows or border radius, when designing a color palette or design tokens, and whenever someone says a UI "looks off", "looks amateur", "feels cluttered/plain/unfinished", or asks to "make this look better".

AlessandroFare/fluxychat

Port an existing Remotion (React) composition''s source to HyperFrames HTML. Use ONLY on an explicit ask to port/convert/migrate/translate a Remotion source — one-way, Remotion-only. A passing Remotion mention, reference-only code, or "make something like my Remotion video" is a fresh build (/general-video). Unclear → /hyperframes.

AlessandroFare/fluxychat

Use before UI-related work to select the smallest useful UI Skills context through the ui-skills CLI.

Verwandte Skills