write-overlay

Generate frame-driven JSX overlay components for Montaj video compositing.

25|10|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/theSamPadilla/montaj --skill write-overlay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-overlay
Source: https://github.com/theSamPadilla/montaj/tree/main/skills/write-overlay
Command: npx skills add https://github.com/theSamPadilla/montaj --skill write-overlay

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enables authors to create precise, frame-accurate JSX overlay components for Montaj projects so overlays animate reliably, compose correctly, and avoid common rendering pitfalls like backdrop-filter caching and lost globals.

Core Features & Use Cases

  • Frame-driven JSX: Author pure function React components that animate per-frame using injected globals for exact timing and motion.
  • Rendering safety & patterns: Enforces no imports, no hooks, no side effects, and advises track-splitting (background vs content) to avoid GPU compositor caching issues.
  • Assets & fonts: Supports asset references and preloaded Google Fonts via project.json for consistent preview and final render; ideal for hooks, lower-thirds, CTAs, and logo lockups.

Quick Start

Write a default-export React function that uses the injected globals (frame, fps, interpolate, spring, props) to animate large, readable text or icons, save it as overlays/hook.jsx, and add an overlay item to your project's overlay track with the src pointing to that file.

Frequently Asked Questions about write-overlay

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create custom animated JSX overlays for video compositing?

You create custom JSX overlays by authoring pure React functions that use injected globals like frame, fps, interpolate, and spring for frame-accurate animation, then add the component file to your video project's overlay track.

Why do my React video overlays have rendering glitches and missing variables?

Video overlay rendering glitches occur when components use imports, hooks, or side effects. Authoring pure frame-driven functions without imports and splitting background tracks prevents lost globals and backdrop-filter caching issues.

Can I use Google Fonts and external assets in frame-driven React video overlays?

Yes, Google Fonts and asset references are supported in frame-driven React video overlays by preloading them via project configuration, ensuring consistent typography and media rendering across both live preview and final render scenarios.

How do I animate lower-thirds and CTAs frame-by-frame in a video editor?

You animate lower-thirds and CTAs frame-by-frame by writing a default-exported React function that leverages injected interpolate and spring globals for exact timing, saving it as an overlay component file for your video editing workflow.

What are the limitations when writing custom JSX overlay components for video?

Limitations of custom JSX video overlay components include strict forbidding of imports, hooks, and side effects, requiring all animation logic to exist within a pure function using injected globals for reliable compositing during final render.