motion-doctrine

Enforces continuous motion vectors across scene transitions in HyperFrames video compositions.

13|17|Updated Jan 30, 2025
One-click install
npx skills add https://github.com/CodeWithSally/CodeWithSally-Apex-English --skill motion-doctrine-codewithsally
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: motion-doctrine
Source: https://github.com/CodeWithSally/CodeWithSally-Apex-English/tree/main/Sessions/ClaudeCode/Session007/.agents/skills/motion-doctrine
Command: npx skills add https://github.com/CodeWithSally/CodeWithSally-Apex-English --skill motion-doctrine-codewithsally

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Multi-scene videos often feel like disconnected slides because each scene is animated in isolation, killing visual momentum at every cut. This Skill provides the motion law, a vector ledger, and a numeric verifier that keep every seam reading as one continuous camera move. ## Core Features & Use Cases - Vector Law & Ledger: Plan every seam in a ledger.json file so exit and entry vectors match in axis, direction, and speed, including the Z scale-sign rule for zoom transitions. - Seam Gate Verification: Run scripts/seam-gate.mjs to numerically verify each seam in a headless Chrome session, checking motion at the cut, zero overlap, speed match, and carrier continuity. - Automated Seam Stamping: Generate master-timeline seam code from the ledger with scripts/seam-stamp.mjs so stamped seams pass the gate by construction. - Use Case: When composing a product-launch video with multiple scenes, write the vector ledger first, stamp the seams into index.html, then run the verifier until it exits 0 before shipping. ## Quick Start Load the motion-doctrine skill before composing any HyperFrames animation and ask it to plan the seam vectors for my multi-scene video.

Frequently Asked Questions about motion-doctrine

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

FAQPage Schema
How do I make scene transitions feel continuous in an animated video?

Match the exit and entry vectors across every cut: same axis, same direction, and matched speed, cutting mid-motion on both sides. Write one ledger.json row per seam and verify it numerically with the seam-gate script before shipping.

How do I verify video scene transitions automatically?

Run seam-gate.mjs verify with your ledger.json and project directory. It launches headless Chrome over CDP, samples element positions around each cut, and fails the build if exits settle early, entries start from rest, or both sides overlap.

What is the Z scale-sign rule in zoom transitions?

On the Z axis, direction is the sign of scale change: growing means push forward, shrinking means pull back. A receding exit answered by a grow-from-small entry is a mirrored vector and fails the gate's z-sign-scan check.

Why does the seam gate report a zero-overlap failure?

Zero-overlap fails when both scenes are visible in the same frame, which reads as a dissolve. The usual cause is a clip whose data-start precedes its entry tween; set initial autoAlpha to 0 and data-start exactly at the cut time.

Does the seam verifier require npm dependencies?

No npm dependencies are required. The scripts use only node 22 or later built-ins plus a local Chrome or chrome-headless-shell binary, which is auto-discovered from the puppeteer cache or system installation.

When should I hand-author a seam instead of stamping it?

Hand-author only Tier-A morphs and match-cuts, where a shared carrier element crosses the cut. The stamp script writes visibility sets for these rows, and the gate checks carrier rect continuity instead of full vector motion.