/litsquare-stage-animation:litsquare-stage-init-projectfrom litsquare-stage-animation
Initialize or repair a runnable LitSquare Stage animation project. Use for new LitSquare Stage videos, starters, templates, project setup, responsive HTML stage setup, runner wiring, Vite package setup, stage.config.json, attachBrowserHost, attachRenderHost, and motion-blur-safe defaults.
Ships in litsquare-stage-animation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This is the most important skill for new LitSquare Stage video work. It produces the minimum renderable project contract before any long render is attempted.
Use host MCP tools for Stage app operations, or the shipped shared-client scripts when direct tools are unavailable. Never duplicate MCP protocol code or construct a raw {tool,payload} request.
Infer sensible defaults when the user does not specify them:
Defaults: 1920x1080, 30 fps, 180 frames, draft motion blur disabled, final motion blur sampleCount: 8 and shutterAngle: 180.
Inspect the target repo or destination folder before writing.
Read references/stage-contract.md.
For proportional HTML or multi-format work, read references/responsive-fluid-html.md.
Choose the closest template under templates/ and initialize with:
node plugins/litsquare-stage-animation/scripts/init-stage-project.mjs --template <template> --target <absolute-target> --name <project-name>
Keep the generated @litsquare/stage registry dependency and committed lockfile. Do not replace them with workspace-relative paths.
Ensure the project has stage.config.json, Vite package scripts, index.html, src/main.ts, src/styles.css, local assets/ and data/ folders, a full-frame #stage, createRunner, attachBrowserHost, and attachRenderHost.
Verify render-critical state is derived from FrameContext, not wall-clock time, unseeded randomness, CSS load timing, or requestAnimationFrame-only state.
Install and build deterministically:
pnpm install --frozen-lockfile
pnpm build
Use pnpm 10.29.2. If pnpm is missing but Node.js 22+ and npm are available, run npx --yes [email protected] install --frozen-lockfile and npx --yes [email protected] build from the project. Do not change global package-manager settings just to build a project.
Validate the project:
node plugins/litsquare-stage-animation/scripts/validate-stage-project.mjs --project <absolute-target>
Use exactly one primary surface per scene unless the user explicitly asks for mixed media. When selecting or changing a surface, read references/runner-surfaces.md.
End with the project path, selected template/surface, config defaults, build and validation result, and the next skill to use.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub thierryc/litsquare-stage-integrations --plugin litsquare-stage-animation8 skills in this plugin
/litsquare-stage-author-motionAuthor or revise LitSquare Stage scenes and frame-derived motion after a project exists. Use for CSS variable animation, JavaScript DOM animation, SVG/path motion, Canvas 2D, WebGL, Three.js, WebGPU, Paper.js-style morphs, timing helpers, easing, loops, seeded randomness, and motion-blur-safe animation code./litsquare-stage-data-videoGenerate LitSquare Stage videos from structured data and batch variants. Use for API, CSV, JSON, weather, finance, sports, real-estate, event, retail, localized, or other data-driven video workflows./litsquare-stage-