SKILL

motion-canvas

Complete production-ready guide for Motion Canvas with ESM/CommonJS workarounds, full setup templates, and troubleshooting for programmatic video creation using TypeScript

Target: Design & content creation. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Motion Canvas - Production-Ready Video Creation with TypeScript
  • ⚠️ CRITICAL: ESM/CommonJS Interoperability Issue
  • When to use
  • Core Concepts
  • Complete Setup Guide
  • Step 1: Initialize Project
  • Step 2: Configure package.json for ESM
  • Step 3: Install ALL Required Dependencies

Complete production-ready skill for creating programmatic videos using Motion Canvas, including critical ESM/CommonJS workarounds, full configuration templates, and comprehensive troubleshooting. IMPORTANT: The @motion-canvas/vite-plugin package is distributed as CommonJS, which causes import errors in modern ESM projects. The standard import motionCanvas from '@motion-canvas/vite-plugin' WILL NOT WORK. You MUST use the createRequire workaround documented in the Setup section below. Use this skill whenever you are dealing with Motion Canvas code to obtain domain-specific knowledge about: Creating animated videos using TypeScript and generator functions Building animations with signals and reactive values Working with vector graphics and Canvas API Synchronizing animations with voice-overs and audio Using the real-time preview editor for instant feedback Implementing procedural animations with flow control Creating informative visualizations and diagrams Animating text, shapes, and custom components Setting up Motion Canvas projects from scratch with correct configuration Troubleshooting common setup and build errors Motion Canvas allows you to create videos using: Generator Functio

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/video/motion-canvas/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T15:01:40.757Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.