@openvidstudio/mcp-server 0.1.0 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1885) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +63 -0
  3. package/dist/api.d.ts +28 -0
  4. package/dist/api.js +35 -0
  5. package/dist/audioTick.d.ts +33 -0
  6. package/dist/audioTick.js +117 -0
  7. package/dist/beats.d.ts +126 -3
  8. package/dist/canvasExplainer.d.ts +198 -0
  9. package/dist/canvasExplainer.js +661 -0
  10. package/dist/canvasValidate.d.ts +76 -0
  11. package/dist/canvasValidate.js +263 -0
  12. package/dist/capture.d.ts +33 -0
  13. package/dist/capture.js +97 -1
  14. package/dist/config.d.ts +52 -0
  15. package/dist/config.js +29 -1
  16. package/dist/facts.d.ts +45 -0
  17. package/dist/facts.js +124 -0
  18. package/dist/frameDiff.d.ts +74 -0
  19. package/dist/frameDiff.js +120 -0
  20. package/dist/install.d.ts +63 -0
  21. package/dist/install.js +225 -0
  22. package/dist/jobs.d.ts +37 -0
  23. package/dist/jobs.js +72 -0
  24. package/dist/lessonArc.d.ts +68 -0
  25. package/dist/lessonArc.js +188 -0
  26. package/dist/paths.d.ts +10 -0
  27. package/dist/paths.js +11 -1
  28. package/dist/primitives/registry.d.ts +43 -0
  29. package/dist/primitives/registry.js +729 -0
  30. package/dist/remotionBridge.d.ts +138 -0
  31. package/dist/remotionBridge.js +364 -0
  32. package/dist/renderCache.d.ts +178 -0
  33. package/dist/renderCache.js +371 -0
  34. package/dist/scenes/castToSteps.d.ts +49 -0
  35. package/dist/scenes/castToSteps.js +69 -0
  36. package/dist/scenes/cursorPoints.d.ts +43 -0
  37. package/dist/scenes/cursorPoints.js +125 -0
  38. package/dist/scenes/repoInfo.d.ts +17 -0
  39. package/dist/scenes/repoInfo.js +122 -0
  40. package/dist/scenes/templates.d.ts +77 -2
  41. package/dist/scenes/templates.js +349 -71
  42. package/dist/scenes/videoDuration.d.ts +15 -0
  43. package/dist/scenes/videoDuration.js +30 -0
  44. package/dist/server.d.ts +2 -1
  45. package/dist/server.js +19 -1
  46. package/dist/stdio.js +12 -4
  47. package/dist/tools/captureDesktop.d.ts +30 -0
  48. package/dist/tools/captureDesktop.js +225 -0
  49. package/dist/tools/captureMobile.d.ts +18 -0
  50. package/dist/tools/captureMobile.js +176 -0
  51. package/dist/tools/captureScreenRecording.d.ts +102 -2
  52. package/dist/tools/captureScreenRecording.js +310 -12
  53. package/dist/tools/captureScreenshot.d.ts +126 -2
  54. package/dist/tools/captureScreenshot.js +308 -24
  55. package/dist/tools/captureTerminal.d.ts +50 -0
  56. package/dist/tools/captureTerminal.js +156 -0
  57. package/dist/tools/checkScript.d.ts +105 -0
  58. package/dist/tools/checkScript.js +456 -0
  59. package/dist/tools/collectFacts.d.ts +82 -0
  60. package/dist/tools/collectFacts.js +210 -0
  61. package/dist/tools/composeScore.d.ts +156 -0
  62. package/dist/tools/composeScore.js +330 -0
  63. package/dist/tools/contactSheet.d.ts +19 -1
  64. package/dist/tools/contactSheet.js +53 -14
  65. package/dist/tools/diffBeats.d.ts +48 -0
  66. package/dist/tools/diffBeats.js +226 -0
  67. package/dist/tools/docsDrift.d.ts +84 -0
  68. package/dist/tools/docsDrift.js +275 -0
  69. package/dist/tools/exportRendition.d.ts +283 -0
  70. package/dist/tools/exportRendition.js +688 -0
  71. package/dist/tools/extractBrand.d.ts +32 -0
  72. package/dist/tools/extractBrand.js +541 -0
  73. package/dist/tools/finalizeVideo.d.ts +94 -0
  74. package/dist/tools/finalizeVideo.js +300 -0
  75. package/dist/tools/fitBeats.d.ts +69 -0
  76. package/dist/tools/fitBeats.js +229 -0
  77. package/dist/tools/generateNarration.d.ts +98 -1
  78. package/dist/tools/generateNarration.js +274 -66
  79. package/dist/tools/importHiggsfieldClip.js +16 -0
  80. package/dist/tools/index.js +57 -0
  81. package/dist/tools/initProject.d.ts +12 -1
  82. package/dist/tools/initProject.js +80 -2
  83. package/dist/tools/jobStatus.d.ts +14 -0
  84. package/dist/tools/jobStatus.js +37 -0
  85. package/dist/tools/mcp.d.ts +9 -0
  86. package/dist/tools/mcp.js +66 -4
  87. package/dist/tools/motionPrimitives.d.ts +46 -0
  88. package/dist/tools/motionPrimitives.js +128 -0
  89. package/dist/tools/musicCues.d.ts +43 -0
  90. package/dist/tools/musicCues.js +252 -0
  91. package/dist/tools/musicLibrary.d.ts +80 -0
  92. package/dist/tools/musicLibrary.js +614 -0
  93. package/dist/tools/planBeats.d.ts +35 -0
  94. package/dist/tools/planBeats.js +98 -5
  95. package/dist/tools/planProduction.d.ts +77 -0
  96. package/dist/tools/planProduction.js +303 -0
  97. package/dist/tools/planShots.d.ts +79 -0
  98. package/dist/tools/planShots.js +427 -0
  99. package/dist/tools/preflight.d.ts +43 -0
  100. package/dist/tools/preflight.js +203 -16
  101. package/dist/tools/qcCapture.d.ts +38 -0
  102. package/dist/tools/qcCapture.js +206 -0
  103. package/dist/tools/qcExtractFrames.d.ts +36 -6
  104. package/dist/tools/qcExtractFrames.js +81 -28
  105. package/dist/tools/reformatVertical.d.ts +112 -0
  106. package/dist/tools/reformatVertical.js +260 -0
  107. package/dist/tools/releaseDiff.d.ts +96 -0
  108. package/dist/tools/releaseDiff.js +319 -0
  109. package/dist/tools/renderCanvasExplainer.d.ts +2 -0
  110. package/dist/tools/renderCanvasExplainer.js +56 -0
  111. package/dist/tools/renderStills.d.ts +138 -0
  112. package/dist/tools/renderStills.js +399 -0
  113. package/dist/tools/renderVideo.d.ts +70 -1
  114. package/dist/tools/renderVideo.js +362 -5
  115. package/dist/tools/scaffoldScene.d.ts +29 -4
  116. package/dist/tools/scaffoldScene.js +218 -16
  117. package/dist/tools/soundEffects.d.ts +49 -0
  118. package/dist/tools/soundEffects.js +383 -0
  119. package/dist/tools/stitchComposition.d.ts +105 -6
  120. package/dist/tools/stitchComposition.js +416 -50
  121. package/dist/tools/validateBeats.d.ts +28 -0
  122. package/dist/tools/validateBeats.js +357 -23
  123. package/dist/tools/validateCanvasExplainer.d.ts +2 -0
  124. package/dist/tools/validateCanvasExplainer.js +35 -0
  125. package/dist/tools/validateScenes.d.ts +71 -3
  126. package/dist/tools/validateScenes.js +348 -34
  127. package/dist/tools/validateScenesRender.d.ts +186 -0
  128. package/dist/tools/validateScenesRender.js +772 -0
  129. package/dist/tools/visualRegression.d.ts +72 -0
  130. package/dist/tools/visualRegression.js +192 -0
  131. package/dist/tools/writeBeatsFile.d.ts +1 -0
  132. package/dist/tools/writeBeatsFile.js +4 -2
  133. package/dist/tools/writeBrief.d.ts +155 -0
  134. package/dist/tools/writeBrief.js +344 -0
  135. package/dist/tools/writeDescription.d.ts +58 -0
  136. package/dist/tools/writeDescription.js +503 -0
  137. package/dist/util.d.ts +7 -12
  138. package/dist/util.js +14 -48
  139. package/docs/API.md +1351 -344
  140. package/docs/CAPTURE.md +182 -0
  141. package/docs/CREATIVE.md +217 -0
  142. package/docs/NARRATION.md +252 -111
  143. package/docs/OVERVIEW.md +30 -3
  144. package/docs/PIPELINE.md +433 -7
  145. package/docs/PLANNING.md +309 -19
  146. package/docs/PRESETS.md +153 -0
  147. package/docs/SCRIPT.md +194 -0
  148. package/docs/STYLE.md +74 -9
  149. package/docs/SUPERNOVA.md +191 -0
  150. package/docs/TOOLS.md +55 -0
  151. package/package.json +60 -54
  152. package/py/compose-score.py +1032 -0
  153. package/py/edge-words.py +57 -0
  154. package/templates/default/.agents/skills/remotion-best-practices/SKILL.md +59 -0
  155. package/templates/default/.agents/skills/remotion-best-practices/agents/openai.yaml +7 -0
  156. package/templates/default/.agents/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  157. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  158. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  159. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  160. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  161. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  162. package/templates/default/.agents/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  163. package/templates/default/.agents/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  164. package/templates/default/.agents/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  165. package/templates/default/.agents/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  166. package/templates/default/.agents/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  167. package/templates/default/.agents/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  168. package/templates/default/.agents/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  169. package/templates/default/.agents/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  170. package/templates/default/.agents/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  171. package/templates/default/.agents/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  172. package/templates/default/.agents/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  173. package/templates/default/.agents/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  174. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  175. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  176. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  177. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  178. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  179. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  180. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  181. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  182. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  183. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  184. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  185. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  186. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  187. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  188. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  189. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  190. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  191. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  192. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  193. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  194. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  195. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  196. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  197. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  198. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  199. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  200. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  201. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  202. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  203. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  204. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  205. package/templates/default/.agents/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  206. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  207. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  208. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  209. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  210. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  211. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  212. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  213. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  214. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  215. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  216. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  217. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  218. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  219. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  220. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  221. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  222. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  223. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  224. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  225. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  226. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  227. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  228. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  229. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  230. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  231. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  232. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  233. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  234. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  235. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  236. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  237. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  238. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  239. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  240. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  241. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  242. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  243. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  244. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  245. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  246. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  247. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  248. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  249. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  250. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  251. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  252. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  253. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  254. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  255. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  256. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  257. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  258. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  259. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  260. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  261. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  262. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  263. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  264. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  265. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  266. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  267. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  268. package/templates/default/.agents/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  269. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  270. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  271. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  272. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  273. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  274. package/templates/default/.agents/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  275. package/templates/default/.agents/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  276. package/templates/default/.agents/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  277. package/templates/default/.agents/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  278. package/templates/default/.agents/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  279. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  280. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  281. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  282. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  283. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  284. package/templates/default/.agents/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  285. package/templates/default/.agents/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  286. package/templates/default/.agents/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  287. package/templates/default/.agents/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  288. package/templates/default/.agents/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  289. package/templates/default/.agents/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  290. package/templates/default/.agents/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  291. package/templates/default/.agents/skills/remotion-captions/SKILL.md +36 -0
  292. package/templates/default/.agents/skills/remotion-captions/agents/openai.yaml +7 -0
  293. package/templates/default/.agents/skills/remotion-captions/assets/remotion-icon.png +0 -0
  294. package/templates/default/.agents/skills/remotion-captions/display-captions.md +190 -0
  295. package/templates/default/.agents/skills/remotion-captions/import-srt-captions.md +73 -0
  296. package/templates/default/.agents/skills/remotion-captions/transcribe-captions.md +70 -0
  297. package/templates/default/.agents/skills/remotion-create/SKILL.md +68 -0
  298. package/templates/default/.agents/skills/remotion-create/agents/openai.yaml +7 -0
  299. package/templates/default/.agents/skills/remotion-create/assets/remotion-icon.png +0 -0
  300. package/templates/default/.agents/skills/remotion-create/tailwind.md +11 -0
  301. package/templates/default/.agents/skills/remotion-create/video-layout.md +9 -0
  302. package/templates/default/.agents/skills/remotion-docs/SKILL.md +46 -0
  303. package/templates/default/.agents/skills/remotion-docs/agents/openai.yaml +7 -0
  304. package/templates/default/.agents/skills/remotion-docs/assets/remotion-icon.png +0 -0
  305. package/templates/default/.agents/skills/remotion-interactivity/SKILL.md +247 -0
  306. package/templates/default/.agents/skills/remotion-interactivity/agents/openai.yaml +7 -0
  307. package/templates/default/.agents/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  308. package/templates/default/.agents/skills/remotion-maps/SKILL.md +36 -0
  309. package/templates/default/.agents/skills/remotion-maps/agents/openai.yaml +7 -0
  310. package/templates/default/.agents/skills/remotion-maps/assets/remotion-icon.png +0 -0
  311. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  312. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  313. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  314. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  315. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  316. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  317. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  318. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  319. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  320. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  321. package/templates/default/.agents/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  322. package/templates/default/.agents/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  323. package/templates/default/.agents/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  324. package/templates/default/.agents/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  325. package/templates/default/.agents/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  326. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  327. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  328. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  329. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  330. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  331. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  332. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  333. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  334. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  335. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  336. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  337. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  338. package/templates/default/.agents/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  339. package/templates/default/.agents/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  340. package/templates/default/.agents/skills/remotion-markup/3d.md +86 -0
  341. package/templates/default/.agents/skills/remotion-markup/SKILL.md +365 -0
  342. package/templates/default/.agents/skills/remotion-markup/agents/openai.yaml +7 -0
  343. package/templates/default/.agents/skills/remotion-markup/assets/remotion-icon.png +0 -0
  344. package/templates/default/.agents/skills/remotion-markup/audio-visualization.md +198 -0
  345. package/templates/default/.agents/skills/remotion-markup/audio.md +171 -0
  346. package/templates/default/.agents/skills/remotion-markup/calculate-metadata.md +136 -0
  347. package/templates/default/.agents/skills/remotion-markup/compositions.md +117 -0
  348. package/templates/default/.agents/skills/remotion-markup/cropping.md +34 -0
  349. package/templates/default/.agents/skills/remotion-markup/effects.md +251 -0
  350. package/templates/default/.agents/skills/remotion-markup/embedding-videos.md +173 -0
  351. package/templates/default/.agents/skills/remotion-markup/ffmpeg.md +38 -0
  352. package/templates/default/.agents/skills/remotion-markup/gifs.md +187 -0
  353. package/templates/default/.agents/skills/remotion-markup/google-fonts.md +76 -0
  354. package/templates/default/.agents/skills/remotion-markup/html-in-canvas.md +128 -0
  355. package/templates/default/.agents/skills/remotion-markup/images.md +73 -0
  356. package/templates/default/.agents/skills/remotion-markup/light-leaks.md +106 -0
  357. package/templates/default/.agents/skills/remotion-markup/local-fonts.md +69 -0
  358. package/templates/default/.agents/skills/remotion-markup/lottie.md +73 -0
  359. package/templates/default/.agents/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  360. package/templates/default/.agents/skills/remotion-markup/measuring-text.md +146 -0
  361. package/templates/default/.agents/skills/remotion-markup/multi-scene-video.md +81 -0
  362. package/templates/default/.agents/skills/remotion-markup/parameters.md +111 -0
  363. package/templates/default/.agents/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  364. package/templates/default/.agents/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  365. package/templates/default/.agents/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  366. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  367. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  368. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  369. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  370. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  371. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  372. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  373. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  374. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  375. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  376. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  377. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  378. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  379. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  380. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  381. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  382. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  383. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  384. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  385. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  386. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  387. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  388. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  389. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  390. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  391. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  392. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  393. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  394. package/templates/default/.agents/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  395. package/templates/default/.agents/skills/remotion-markup/sequencing.md +169 -0
  396. package/templates/default/.agents/skills/remotion-markup/sfx.md +51 -0
  397. package/templates/default/.agents/skills/remotion-markup/silence-detection.md +71 -0
  398. package/templates/default/.agents/skills/remotion-markup/text-highlights.md +56 -0
  399. package/templates/default/.agents/skills/remotion-markup/timing.md +111 -0
  400. package/templates/default/.agents/skills/remotion-markup/transitions.md +239 -0
  401. package/templates/default/.agents/skills/remotion-markup/video-editing.md +90 -0
  402. package/templates/default/.agents/skills/remotion-markup/voiceover.md +99 -0
  403. package/templates/default/.agents/skills/remotion-multimedia/SKILL.md +20 -0
  404. package/templates/default/.agents/skills/remotion-multimedia/agents/openai.yaml +7 -0
  405. package/templates/default/.agents/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  406. package/templates/default/.agents/skills/remotion-multimedia/get-audio-duration.md +56 -0
  407. package/templates/default/.agents/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  408. package/templates/default/.agents/skills/remotion-multimedia/get-video-duration.md +58 -0
  409. package/templates/default/.agents/skills/remotion-render/SKILL.md +27 -0
  410. package/templates/default/.agents/skills/remotion-render/agents/openai.yaml +7 -0
  411. package/templates/default/.agents/skills/remotion-render/assets/remotion-icon.png +0 -0
  412. package/templates/default/.agents/skills/remotion-render/transparent-videos.md +106 -0
  413. package/templates/default/.agents/skills/remotion-saas/SKILL.md +33 -0
  414. package/templates/default/.agents/skills/remotion-saas/agents/openai.yaml +7 -0
  415. package/templates/default/.agents/skills/remotion-saas/assets/remotion-icon.png +0 -0
  416. package/templates/default/.agents/skills/remotion-saas/framework.md +21 -0
  417. package/templates/default/.agents/skills/remotion-saas/player.md +33 -0
  418. package/templates/default/.agents/skills/remotion-saas/rendering.md +69 -0
  419. package/templates/default/.agents/skills/remotion-studio/SKILL.md +24 -0
  420. package/templates/default/.agents/skills/remotion-studio/agents/openai.yaml +7 -0
  421. package/templates/default/.agents/skills/remotion-studio/assets/remotion-icon.png +0 -0
  422. package/templates/default/.agents/skills/remotion-upgrade/SKILL.md +31 -0
  423. package/templates/default/.agents/skills/remotion-upgrade/agents/openai.yaml +7 -0
  424. package/templates/default/.agents/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  425. package/templates/default/.claude/skills/remotion-best-practices/SKILL.md +59 -0
  426. package/templates/default/.claude/skills/remotion-best-practices/agents/openai.yaml +7 -0
  427. package/templates/default/.claude/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  428. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  429. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  430. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  431. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  432. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  433. package/templates/default/.claude/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  434. package/templates/default/.claude/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  435. package/templates/default/.claude/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  436. package/templates/default/.claude/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  437. package/templates/default/.claude/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  438. package/templates/default/.claude/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  439. package/templates/default/.claude/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  440. package/templates/default/.claude/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  441. package/templates/default/.claude/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  442. package/templates/default/.claude/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  443. package/templates/default/.claude/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  444. package/templates/default/.claude/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  445. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  446. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  447. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  448. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  449. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  450. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  451. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  452. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  453. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  454. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  455. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  456. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  457. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  458. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  459. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  460. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  461. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  462. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  463. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  464. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  465. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  466. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  467. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  468. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  469. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  470. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  471. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  472. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  473. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  474. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  475. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  476. package/templates/default/.claude/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  477. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  478. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  479. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  480. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  481. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  482. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  483. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  484. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  485. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  486. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  487. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  488. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  489. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  490. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  491. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  492. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  493. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  494. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  495. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  496. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  497. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  498. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  499. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  500. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  501. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  502. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  503. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  504. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  505. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  506. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  507. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  508. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  509. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  510. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  511. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  512. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  513. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  514. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  515. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  516. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  517. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  518. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  519. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  520. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  521. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  522. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  523. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  524. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  525. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  526. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  527. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  528. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  529. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  530. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  531. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  532. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  533. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  534. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  535. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  536. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  537. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  538. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  539. package/templates/default/.claude/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  540. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  541. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  542. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  543. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  544. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  545. package/templates/default/.claude/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  546. package/templates/default/.claude/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  547. package/templates/default/.claude/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  548. package/templates/default/.claude/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  549. package/templates/default/.claude/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  550. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  551. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  552. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  553. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  554. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  555. package/templates/default/.claude/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  556. package/templates/default/.claude/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  557. package/templates/default/.claude/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  558. package/templates/default/.claude/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  559. package/templates/default/.claude/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  560. package/templates/default/.claude/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  561. package/templates/default/.claude/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  562. package/templates/default/.claude/skills/remotion-captions/SKILL.md +36 -0
  563. package/templates/default/.claude/skills/remotion-captions/agents/openai.yaml +7 -0
  564. package/templates/default/.claude/skills/remotion-captions/assets/remotion-icon.png +0 -0
  565. package/templates/default/.claude/skills/remotion-captions/display-captions.md +190 -0
  566. package/templates/default/.claude/skills/remotion-captions/import-srt-captions.md +73 -0
  567. package/templates/default/.claude/skills/remotion-captions/transcribe-captions.md +70 -0
  568. package/templates/default/.claude/skills/remotion-create/SKILL.md +68 -0
  569. package/templates/default/.claude/skills/remotion-create/agents/openai.yaml +7 -0
  570. package/templates/default/.claude/skills/remotion-create/assets/remotion-icon.png +0 -0
  571. package/templates/default/.claude/skills/remotion-create/tailwind.md +11 -0
  572. package/templates/default/.claude/skills/remotion-create/video-layout.md +9 -0
  573. package/templates/default/.claude/skills/remotion-docs/SKILL.md +46 -0
  574. package/templates/default/.claude/skills/remotion-docs/agents/openai.yaml +7 -0
  575. package/templates/default/.claude/skills/remotion-docs/assets/remotion-icon.png +0 -0
  576. package/templates/default/.claude/skills/remotion-interactivity/SKILL.md +247 -0
  577. package/templates/default/.claude/skills/remotion-interactivity/agents/openai.yaml +7 -0
  578. package/templates/default/.claude/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  579. package/templates/default/.claude/skills/remotion-maps/SKILL.md +36 -0
  580. package/templates/default/.claude/skills/remotion-maps/agents/openai.yaml +7 -0
  581. package/templates/default/.claude/skills/remotion-maps/assets/remotion-icon.png +0 -0
  582. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  583. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  584. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  585. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  586. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  587. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  588. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  589. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  590. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  591. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  592. package/templates/default/.claude/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  593. package/templates/default/.claude/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  594. package/templates/default/.claude/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  595. package/templates/default/.claude/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  596. package/templates/default/.claude/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  597. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  598. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  599. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  600. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  601. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  602. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  603. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  604. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  605. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  606. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  607. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  608. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  609. package/templates/default/.claude/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  610. package/templates/default/.claude/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  611. package/templates/default/.claude/skills/remotion-markup/3d.md +86 -0
  612. package/templates/default/.claude/skills/remotion-markup/SKILL.md +365 -0
  613. package/templates/default/.claude/skills/remotion-markup/agents/openai.yaml +7 -0
  614. package/templates/default/.claude/skills/remotion-markup/assets/remotion-icon.png +0 -0
  615. package/templates/default/.claude/skills/remotion-markup/audio-visualization.md +198 -0
  616. package/templates/default/.claude/skills/remotion-markup/audio.md +171 -0
  617. package/templates/default/.claude/skills/remotion-markup/calculate-metadata.md +136 -0
  618. package/templates/default/.claude/skills/remotion-markup/compositions.md +117 -0
  619. package/templates/default/.claude/skills/remotion-markup/cropping.md +34 -0
  620. package/templates/default/.claude/skills/remotion-markup/effects.md +251 -0
  621. package/templates/default/.claude/skills/remotion-markup/embedding-videos.md +173 -0
  622. package/templates/default/.claude/skills/remotion-markup/ffmpeg.md +38 -0
  623. package/templates/default/.claude/skills/remotion-markup/gifs.md +187 -0
  624. package/templates/default/.claude/skills/remotion-markup/google-fonts.md +76 -0
  625. package/templates/default/.claude/skills/remotion-markup/html-in-canvas.md +128 -0
  626. package/templates/default/.claude/skills/remotion-markup/images.md +73 -0
  627. package/templates/default/.claude/skills/remotion-markup/light-leaks.md +106 -0
  628. package/templates/default/.claude/skills/remotion-markup/local-fonts.md +69 -0
  629. package/templates/default/.claude/skills/remotion-markup/lottie.md +73 -0
  630. package/templates/default/.claude/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  631. package/templates/default/.claude/skills/remotion-markup/measuring-text.md +146 -0
  632. package/templates/default/.claude/skills/remotion-markup/multi-scene-video.md +81 -0
  633. package/templates/default/.claude/skills/remotion-markup/parameters.md +111 -0
  634. package/templates/default/.claude/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  635. package/templates/default/.claude/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  636. package/templates/default/.claude/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  637. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  638. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  639. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  640. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  641. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  642. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  643. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  644. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  645. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  646. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  647. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  648. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  649. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  650. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  651. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  652. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  653. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  654. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  655. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  656. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  657. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  658. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  659. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  660. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  661. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  662. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  663. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  664. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  665. package/templates/default/.claude/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  666. package/templates/default/.claude/skills/remotion-markup/sequencing.md +169 -0
  667. package/templates/default/.claude/skills/remotion-markup/sfx.md +51 -0
  668. package/templates/default/.claude/skills/remotion-markup/silence-detection.md +71 -0
  669. package/templates/default/.claude/skills/remotion-markup/text-highlights.md +56 -0
  670. package/templates/default/.claude/skills/remotion-markup/timing.md +111 -0
  671. package/templates/default/.claude/skills/remotion-markup/transitions.md +239 -0
  672. package/templates/default/.claude/skills/remotion-markup/video-editing.md +90 -0
  673. package/templates/default/.claude/skills/remotion-markup/voiceover.md +99 -0
  674. package/templates/default/.claude/skills/remotion-multimedia/SKILL.md +20 -0
  675. package/templates/default/.claude/skills/remotion-multimedia/agents/openai.yaml +7 -0
  676. package/templates/default/.claude/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  677. package/templates/default/.claude/skills/remotion-multimedia/get-audio-duration.md +56 -0
  678. package/templates/default/.claude/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  679. package/templates/default/.claude/skills/remotion-multimedia/get-video-duration.md +58 -0
  680. package/templates/default/.claude/skills/remotion-render/SKILL.md +27 -0
  681. package/templates/default/.claude/skills/remotion-render/agents/openai.yaml +7 -0
  682. package/templates/default/.claude/skills/remotion-render/assets/remotion-icon.png +0 -0
  683. package/templates/default/.claude/skills/remotion-render/transparent-videos.md +106 -0
  684. package/templates/default/.claude/skills/remotion-saas/SKILL.md +33 -0
  685. package/templates/default/.claude/skills/remotion-saas/agents/openai.yaml +7 -0
  686. package/templates/default/.claude/skills/remotion-saas/assets/remotion-icon.png +0 -0
  687. package/templates/default/.claude/skills/remotion-saas/framework.md +21 -0
  688. package/templates/default/.claude/skills/remotion-saas/player.md +33 -0
  689. package/templates/default/.claude/skills/remotion-saas/rendering.md +69 -0
  690. package/templates/default/.claude/skills/remotion-studio/SKILL.md +24 -0
  691. package/templates/default/.claude/skills/remotion-studio/agents/openai.yaml +7 -0
  692. package/templates/default/.claude/skills/remotion-studio/assets/remotion-icon.png +0 -0
  693. package/templates/default/.claude/skills/remotion-upgrade/SKILL.md +31 -0
  694. package/templates/default/.claude/skills/remotion-upgrade/agents/openai.yaml +7 -0
  695. package/templates/default/.claude/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  696. package/templates/default/.cursor/skills/remotion-best-practices/SKILL.md +59 -0
  697. package/templates/default/.cursor/skills/remotion-best-practices/agents/openai.yaml +7 -0
  698. package/templates/default/.cursor/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  699. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  700. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  701. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  702. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  703. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  704. package/templates/default/.cursor/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  705. package/templates/default/.cursor/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  706. package/templates/default/.cursor/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  707. package/templates/default/.cursor/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  708. package/templates/default/.cursor/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  709. package/templates/default/.cursor/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  710. package/templates/default/.cursor/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  711. package/templates/default/.cursor/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  712. package/templates/default/.cursor/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  713. package/templates/default/.cursor/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  714. package/templates/default/.cursor/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  715. package/templates/default/.cursor/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  716. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  717. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  718. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  719. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  720. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  721. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  722. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  723. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  724. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  725. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  726. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  727. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  728. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  729. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  730. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  731. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  732. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  733. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  734. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  735. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  736. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  737. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  738. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  739. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  740. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  741. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  742. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  743. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  744. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  745. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  746. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  747. package/templates/default/.cursor/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  748. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  749. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  750. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  751. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  752. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  753. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  754. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  755. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  756. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  757. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  758. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  759. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  760. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  761. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  762. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  763. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  764. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  765. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  766. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  767. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  768. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  769. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  770. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  771. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  772. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  773. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  774. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  775. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  776. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  777. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  778. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  779. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  780. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  781. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  782. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  783. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  784. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  785. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  786. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  787. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  788. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  789. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  790. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  791. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  792. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  793. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  794. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  795. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  796. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  797. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  798. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  799. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  800. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  801. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  802. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  803. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  804. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  805. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  806. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  807. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  808. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  809. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  810. package/templates/default/.cursor/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  811. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  812. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  813. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  814. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  815. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  816. package/templates/default/.cursor/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  817. package/templates/default/.cursor/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  818. package/templates/default/.cursor/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  819. package/templates/default/.cursor/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  820. package/templates/default/.cursor/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  821. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  822. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  823. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  824. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  825. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  826. package/templates/default/.cursor/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  827. package/templates/default/.cursor/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  828. package/templates/default/.cursor/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  829. package/templates/default/.cursor/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  830. package/templates/default/.cursor/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  831. package/templates/default/.cursor/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  832. package/templates/default/.cursor/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  833. package/templates/default/.cursor/skills/remotion-captions/SKILL.md +36 -0
  834. package/templates/default/.cursor/skills/remotion-captions/agents/openai.yaml +7 -0
  835. package/templates/default/.cursor/skills/remotion-captions/assets/remotion-icon.png +0 -0
  836. package/templates/default/.cursor/skills/remotion-captions/display-captions.md +190 -0
  837. package/templates/default/.cursor/skills/remotion-captions/import-srt-captions.md +73 -0
  838. package/templates/default/.cursor/skills/remotion-captions/transcribe-captions.md +70 -0
  839. package/templates/default/.cursor/skills/remotion-create/SKILL.md +68 -0
  840. package/templates/default/.cursor/skills/remotion-create/agents/openai.yaml +7 -0
  841. package/templates/default/.cursor/skills/remotion-create/assets/remotion-icon.png +0 -0
  842. package/templates/default/.cursor/skills/remotion-create/tailwind.md +11 -0
  843. package/templates/default/.cursor/skills/remotion-create/video-layout.md +9 -0
  844. package/templates/default/.cursor/skills/remotion-docs/SKILL.md +46 -0
  845. package/templates/default/.cursor/skills/remotion-docs/agents/openai.yaml +7 -0
  846. package/templates/default/.cursor/skills/remotion-docs/assets/remotion-icon.png +0 -0
  847. package/templates/default/.cursor/skills/remotion-interactivity/SKILL.md +247 -0
  848. package/templates/default/.cursor/skills/remotion-interactivity/agents/openai.yaml +7 -0
  849. package/templates/default/.cursor/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  850. package/templates/default/.cursor/skills/remotion-maps/SKILL.md +36 -0
  851. package/templates/default/.cursor/skills/remotion-maps/agents/openai.yaml +7 -0
  852. package/templates/default/.cursor/skills/remotion-maps/assets/remotion-icon.png +0 -0
  853. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  854. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  855. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  856. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  857. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  858. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  859. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  860. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  861. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  862. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  863. package/templates/default/.cursor/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  864. package/templates/default/.cursor/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  865. package/templates/default/.cursor/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  866. package/templates/default/.cursor/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  867. package/templates/default/.cursor/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  868. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  869. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  870. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  871. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  872. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  873. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  874. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  875. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  876. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  877. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  878. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  879. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  880. package/templates/default/.cursor/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  881. package/templates/default/.cursor/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  882. package/templates/default/.cursor/skills/remotion-markup/3d.md +86 -0
  883. package/templates/default/.cursor/skills/remotion-markup/SKILL.md +365 -0
  884. package/templates/default/.cursor/skills/remotion-markup/agents/openai.yaml +7 -0
  885. package/templates/default/.cursor/skills/remotion-markup/assets/remotion-icon.png +0 -0
  886. package/templates/default/.cursor/skills/remotion-markup/audio-visualization.md +198 -0
  887. package/templates/default/.cursor/skills/remotion-markup/audio.md +171 -0
  888. package/templates/default/.cursor/skills/remotion-markup/calculate-metadata.md +136 -0
  889. package/templates/default/.cursor/skills/remotion-markup/compositions.md +117 -0
  890. package/templates/default/.cursor/skills/remotion-markup/cropping.md +34 -0
  891. package/templates/default/.cursor/skills/remotion-markup/effects.md +251 -0
  892. package/templates/default/.cursor/skills/remotion-markup/embedding-videos.md +173 -0
  893. package/templates/default/.cursor/skills/remotion-markup/ffmpeg.md +38 -0
  894. package/templates/default/.cursor/skills/remotion-markup/gifs.md +187 -0
  895. package/templates/default/.cursor/skills/remotion-markup/google-fonts.md +76 -0
  896. package/templates/default/.cursor/skills/remotion-markup/html-in-canvas.md +128 -0
  897. package/templates/default/.cursor/skills/remotion-markup/images.md +73 -0
  898. package/templates/default/.cursor/skills/remotion-markup/light-leaks.md +106 -0
  899. package/templates/default/.cursor/skills/remotion-markup/local-fonts.md +69 -0
  900. package/templates/default/.cursor/skills/remotion-markup/lottie.md +73 -0
  901. package/templates/default/.cursor/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  902. package/templates/default/.cursor/skills/remotion-markup/measuring-text.md +146 -0
  903. package/templates/default/.cursor/skills/remotion-markup/multi-scene-video.md +81 -0
  904. package/templates/default/.cursor/skills/remotion-markup/parameters.md +111 -0
  905. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  906. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  907. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  908. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  909. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  910. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  911. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  912. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  913. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  914. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  915. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  916. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  917. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  918. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  919. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  920. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  921. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  922. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  923. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  924. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  925. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  926. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  927. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  928. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  929. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  930. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  931. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  932. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  933. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  934. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  935. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  936. package/templates/default/.cursor/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  937. package/templates/default/.cursor/skills/remotion-markup/sequencing.md +169 -0
  938. package/templates/default/.cursor/skills/remotion-markup/sfx.md +51 -0
  939. package/templates/default/.cursor/skills/remotion-markup/silence-detection.md +71 -0
  940. package/templates/default/.cursor/skills/remotion-markup/text-highlights.md +56 -0
  941. package/templates/default/.cursor/skills/remotion-markup/timing.md +111 -0
  942. package/templates/default/.cursor/skills/remotion-markup/transitions.md +239 -0
  943. package/templates/default/.cursor/skills/remotion-markup/video-editing.md +90 -0
  944. package/templates/default/.cursor/skills/remotion-markup/voiceover.md +99 -0
  945. package/templates/default/.cursor/skills/remotion-multimedia/SKILL.md +20 -0
  946. package/templates/default/.cursor/skills/remotion-multimedia/agents/openai.yaml +7 -0
  947. package/templates/default/.cursor/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  948. package/templates/default/.cursor/skills/remotion-multimedia/get-audio-duration.md +56 -0
  949. package/templates/default/.cursor/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  950. package/templates/default/.cursor/skills/remotion-multimedia/get-video-duration.md +58 -0
  951. package/templates/default/.cursor/skills/remotion-render/SKILL.md +27 -0
  952. package/templates/default/.cursor/skills/remotion-render/agents/openai.yaml +7 -0
  953. package/templates/default/.cursor/skills/remotion-render/assets/remotion-icon.png +0 -0
  954. package/templates/default/.cursor/skills/remotion-render/transparent-videos.md +106 -0
  955. package/templates/default/.cursor/skills/remotion-saas/SKILL.md +33 -0
  956. package/templates/default/.cursor/skills/remotion-saas/agents/openai.yaml +7 -0
  957. package/templates/default/.cursor/skills/remotion-saas/assets/remotion-icon.png +0 -0
  958. package/templates/default/.cursor/skills/remotion-saas/framework.md +21 -0
  959. package/templates/default/.cursor/skills/remotion-saas/player.md +33 -0
  960. package/templates/default/.cursor/skills/remotion-saas/rendering.md +69 -0
  961. package/templates/default/.cursor/skills/remotion-studio/SKILL.md +24 -0
  962. package/templates/default/.cursor/skills/remotion-studio/agents/openai.yaml +7 -0
  963. package/templates/default/.cursor/skills/remotion-studio/assets/remotion-icon.png +0 -0
  964. package/templates/default/.cursor/skills/remotion-upgrade/SKILL.md +31 -0
  965. package/templates/default/.cursor/skills/remotion-upgrade/agents/openai.yaml +7 -0
  966. package/templates/default/.cursor/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  967. package/templates/default/.github/skills/remotion-best-practices/SKILL.md +59 -0
  968. package/templates/default/.github/skills/remotion-best-practices/agents/openai.yaml +7 -0
  969. package/templates/default/.github/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  970. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  971. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  972. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  973. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  974. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  975. package/templates/default/.github/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  976. package/templates/default/.github/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  977. package/templates/default/.github/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  978. package/templates/default/.github/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  979. package/templates/default/.github/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  980. package/templates/default/.github/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  981. package/templates/default/.github/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  982. package/templates/default/.github/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  983. package/templates/default/.github/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  984. package/templates/default/.github/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  985. package/templates/default/.github/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  986. package/templates/default/.github/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  987. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  988. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  989. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  990. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  991. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  992. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  993. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  994. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  995. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  996. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  997. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  998. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  999. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1000. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1001. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1002. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1003. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1004. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1005. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1006. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1007. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1008. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1009. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1010. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1011. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1012. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1013. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1014. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1015. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1016. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1017. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1018. package/templates/default/.github/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1019. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  1020. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  1021. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  1022. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  1023. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  1024. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  1025. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  1026. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  1027. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  1028. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  1029. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  1030. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  1031. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  1032. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  1033. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  1034. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  1035. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  1036. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  1037. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  1038. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  1039. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  1040. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  1041. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  1042. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1043. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1044. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1045. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1046. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1047. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1048. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1049. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1050. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1051. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1052. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1053. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1054. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1055. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1056. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1057. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1058. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1059. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1060. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1061. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1062. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1063. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1064. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1065. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1066. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1067. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1068. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1069. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1070. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1071. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1072. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1073. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1074. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  1075. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  1076. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  1077. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  1078. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  1079. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  1080. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  1081. package/templates/default/.github/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  1082. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  1083. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  1084. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  1085. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  1086. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  1087. package/templates/default/.github/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  1088. package/templates/default/.github/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  1089. package/templates/default/.github/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  1090. package/templates/default/.github/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  1091. package/templates/default/.github/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  1092. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  1093. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  1094. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  1095. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  1096. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  1097. package/templates/default/.github/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  1098. package/templates/default/.github/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  1099. package/templates/default/.github/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  1100. package/templates/default/.github/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  1101. package/templates/default/.github/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  1102. package/templates/default/.github/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  1103. package/templates/default/.github/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  1104. package/templates/default/.github/skills/remotion-captions/SKILL.md +36 -0
  1105. package/templates/default/.github/skills/remotion-captions/agents/openai.yaml +7 -0
  1106. package/templates/default/.github/skills/remotion-captions/assets/remotion-icon.png +0 -0
  1107. package/templates/default/.github/skills/remotion-captions/display-captions.md +190 -0
  1108. package/templates/default/.github/skills/remotion-captions/import-srt-captions.md +73 -0
  1109. package/templates/default/.github/skills/remotion-captions/transcribe-captions.md +70 -0
  1110. package/templates/default/.github/skills/remotion-create/SKILL.md +68 -0
  1111. package/templates/default/.github/skills/remotion-create/agents/openai.yaml +7 -0
  1112. package/templates/default/.github/skills/remotion-create/assets/remotion-icon.png +0 -0
  1113. package/templates/default/.github/skills/remotion-create/tailwind.md +11 -0
  1114. package/templates/default/.github/skills/remotion-create/video-layout.md +9 -0
  1115. package/templates/default/.github/skills/remotion-docs/SKILL.md +46 -0
  1116. package/templates/default/.github/skills/remotion-docs/agents/openai.yaml +7 -0
  1117. package/templates/default/.github/skills/remotion-docs/assets/remotion-icon.png +0 -0
  1118. package/templates/default/.github/skills/remotion-interactivity/SKILL.md +247 -0
  1119. package/templates/default/.github/skills/remotion-interactivity/agents/openai.yaml +7 -0
  1120. package/templates/default/.github/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  1121. package/templates/default/.github/skills/remotion-maps/SKILL.md +36 -0
  1122. package/templates/default/.github/skills/remotion-maps/agents/openai.yaml +7 -0
  1123. package/templates/default/.github/skills/remotion-maps/assets/remotion-icon.png +0 -0
  1124. package/templates/default/.github/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1125. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1126. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1127. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1128. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1129. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1130. package/templates/default/.github/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1131. package/templates/default/.github/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1132. package/templates/default/.github/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1133. package/templates/default/.github/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1134. package/templates/default/.github/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1135. package/templates/default/.github/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1136. package/templates/default/.github/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1137. package/templates/default/.github/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1138. package/templates/default/.github/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1139. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1140. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1141. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1142. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1143. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1144. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1145. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1146. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1147. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1148. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1149. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1150. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1151. package/templates/default/.github/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1152. package/templates/default/.github/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1153. package/templates/default/.github/skills/remotion-markup/3d.md +86 -0
  1154. package/templates/default/.github/skills/remotion-markup/SKILL.md +365 -0
  1155. package/templates/default/.github/skills/remotion-markup/agents/openai.yaml +7 -0
  1156. package/templates/default/.github/skills/remotion-markup/assets/remotion-icon.png +0 -0
  1157. package/templates/default/.github/skills/remotion-markup/audio-visualization.md +198 -0
  1158. package/templates/default/.github/skills/remotion-markup/audio.md +171 -0
  1159. package/templates/default/.github/skills/remotion-markup/calculate-metadata.md +136 -0
  1160. package/templates/default/.github/skills/remotion-markup/compositions.md +117 -0
  1161. package/templates/default/.github/skills/remotion-markup/cropping.md +34 -0
  1162. package/templates/default/.github/skills/remotion-markup/effects.md +251 -0
  1163. package/templates/default/.github/skills/remotion-markup/embedding-videos.md +173 -0
  1164. package/templates/default/.github/skills/remotion-markup/ffmpeg.md +38 -0
  1165. package/templates/default/.github/skills/remotion-markup/gifs.md +187 -0
  1166. package/templates/default/.github/skills/remotion-markup/google-fonts.md +76 -0
  1167. package/templates/default/.github/skills/remotion-markup/html-in-canvas.md +128 -0
  1168. package/templates/default/.github/skills/remotion-markup/images.md +73 -0
  1169. package/templates/default/.github/skills/remotion-markup/light-leaks.md +106 -0
  1170. package/templates/default/.github/skills/remotion-markup/local-fonts.md +69 -0
  1171. package/templates/default/.github/skills/remotion-markup/lottie.md +73 -0
  1172. package/templates/default/.github/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  1173. package/templates/default/.github/skills/remotion-markup/measuring-text.md +146 -0
  1174. package/templates/default/.github/skills/remotion-markup/multi-scene-video.md +81 -0
  1175. package/templates/default/.github/skills/remotion-markup/parameters.md +111 -0
  1176. package/templates/default/.github/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1177. package/templates/default/.github/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1178. package/templates/default/.github/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1179. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1180. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1181. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1182. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1183. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1184. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1185. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1186. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1187. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1188. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1189. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1190. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1191. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1192. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1193. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1194. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1195. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1196. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1197. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1198. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1199. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1200. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1201. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1202. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1203. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1204. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1205. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1206. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1207. package/templates/default/.github/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1208. package/templates/default/.github/skills/remotion-markup/sequencing.md +169 -0
  1209. package/templates/default/.github/skills/remotion-markup/sfx.md +51 -0
  1210. package/templates/default/.github/skills/remotion-markup/silence-detection.md +71 -0
  1211. package/templates/default/.github/skills/remotion-markup/text-highlights.md +56 -0
  1212. package/templates/default/.github/skills/remotion-markup/timing.md +111 -0
  1213. package/templates/default/.github/skills/remotion-markup/transitions.md +239 -0
  1214. package/templates/default/.github/skills/remotion-markup/video-editing.md +90 -0
  1215. package/templates/default/.github/skills/remotion-markup/voiceover.md +99 -0
  1216. package/templates/default/.github/skills/remotion-multimedia/SKILL.md +20 -0
  1217. package/templates/default/.github/skills/remotion-multimedia/agents/openai.yaml +7 -0
  1218. package/templates/default/.github/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  1219. package/templates/default/.github/skills/remotion-multimedia/get-audio-duration.md +56 -0
  1220. package/templates/default/.github/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  1221. package/templates/default/.github/skills/remotion-multimedia/get-video-duration.md +58 -0
  1222. package/templates/default/.github/skills/remotion-render/SKILL.md +27 -0
  1223. package/templates/default/.github/skills/remotion-render/agents/openai.yaml +7 -0
  1224. package/templates/default/.github/skills/remotion-render/assets/remotion-icon.png +0 -0
  1225. package/templates/default/.github/skills/remotion-render/transparent-videos.md +106 -0
  1226. package/templates/default/.github/skills/remotion-saas/SKILL.md +33 -0
  1227. package/templates/default/.github/skills/remotion-saas/agents/openai.yaml +7 -0
  1228. package/templates/default/.github/skills/remotion-saas/assets/remotion-icon.png +0 -0
  1229. package/templates/default/.github/skills/remotion-saas/framework.md +21 -0
  1230. package/templates/default/.github/skills/remotion-saas/player.md +33 -0
  1231. package/templates/default/.github/skills/remotion-saas/rendering.md +69 -0
  1232. package/templates/default/.github/skills/remotion-studio/SKILL.md +24 -0
  1233. package/templates/default/.github/skills/remotion-studio/agents/openai.yaml +7 -0
  1234. package/templates/default/.github/skills/remotion-studio/assets/remotion-icon.png +0 -0
  1235. package/templates/default/.github/skills/remotion-upgrade/SKILL.md +31 -0
  1236. package/templates/default/.github/skills/remotion-upgrade/agents/openai.yaml +7 -0
  1237. package/templates/default/.github/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  1238. package/templates/default/.github/workflows/visual-regression.yml +69 -0
  1239. package/templates/default/.opencode/skills/remotion-best-practices/SKILL.md +59 -0
  1240. package/templates/default/.opencode/skills/remotion-best-practices/agents/openai.yaml +7 -0
  1241. package/templates/default/.opencode/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  1242. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  1243. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  1244. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  1245. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  1246. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  1247. package/templates/default/.opencode/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  1248. package/templates/default/.opencode/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  1249. package/templates/default/.opencode/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  1250. package/templates/default/.opencode/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  1251. package/templates/default/.opencode/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  1252. package/templates/default/.opencode/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  1253. package/templates/default/.opencode/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  1254. package/templates/default/.opencode/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  1255. package/templates/default/.opencode/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  1256. package/templates/default/.opencode/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  1257. package/templates/default/.opencode/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  1258. package/templates/default/.opencode/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  1259. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  1260. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  1261. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  1262. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1263. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1264. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1265. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1266. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1267. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1268. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1269. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1270. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1271. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1272. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1273. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1274. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1275. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1276. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1277. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1278. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1279. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1280. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1281. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1282. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1283. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1284. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1285. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1286. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1287. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1288. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1289. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1290. package/templates/default/.opencode/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1291. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  1292. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  1293. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  1294. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  1295. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  1296. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  1297. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  1298. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  1299. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  1300. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  1301. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  1302. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  1303. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  1304. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  1305. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  1306. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  1307. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  1308. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  1309. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  1310. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  1311. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  1312. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  1313. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  1314. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1315. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1316. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1317. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1318. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1319. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1320. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1321. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1322. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1323. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1324. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1325. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1326. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1327. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1328. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1329. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1330. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1331. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1332. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1333. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1334. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1335. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1336. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1337. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1338. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1339. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1340. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1341. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1342. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1343. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1344. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1345. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1346. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  1347. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  1348. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  1349. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  1350. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  1351. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  1352. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  1353. package/templates/default/.opencode/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  1354. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  1355. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  1356. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  1357. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  1358. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  1359. package/templates/default/.opencode/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  1360. package/templates/default/.opencode/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  1361. package/templates/default/.opencode/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  1362. package/templates/default/.opencode/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  1363. package/templates/default/.opencode/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  1364. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  1365. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  1366. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  1367. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  1368. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  1369. package/templates/default/.opencode/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  1370. package/templates/default/.opencode/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  1371. package/templates/default/.opencode/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  1372. package/templates/default/.opencode/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  1373. package/templates/default/.opencode/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  1374. package/templates/default/.opencode/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  1375. package/templates/default/.opencode/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  1376. package/templates/default/.opencode/skills/remotion-captions/SKILL.md +36 -0
  1377. package/templates/default/.opencode/skills/remotion-captions/agents/openai.yaml +7 -0
  1378. package/templates/default/.opencode/skills/remotion-captions/assets/remotion-icon.png +0 -0
  1379. package/templates/default/.opencode/skills/remotion-captions/display-captions.md +190 -0
  1380. package/templates/default/.opencode/skills/remotion-captions/import-srt-captions.md +73 -0
  1381. package/templates/default/.opencode/skills/remotion-captions/transcribe-captions.md +70 -0
  1382. package/templates/default/.opencode/skills/remotion-create/SKILL.md +68 -0
  1383. package/templates/default/.opencode/skills/remotion-create/agents/openai.yaml +7 -0
  1384. package/templates/default/.opencode/skills/remotion-create/assets/remotion-icon.png +0 -0
  1385. package/templates/default/.opencode/skills/remotion-create/tailwind.md +11 -0
  1386. package/templates/default/.opencode/skills/remotion-create/video-layout.md +9 -0
  1387. package/templates/default/.opencode/skills/remotion-docs/SKILL.md +46 -0
  1388. package/templates/default/.opencode/skills/remotion-docs/agents/openai.yaml +7 -0
  1389. package/templates/default/.opencode/skills/remotion-docs/assets/remotion-icon.png +0 -0
  1390. package/templates/default/.opencode/skills/remotion-interactivity/SKILL.md +247 -0
  1391. package/templates/default/.opencode/skills/remotion-interactivity/agents/openai.yaml +7 -0
  1392. package/templates/default/.opencode/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  1393. package/templates/default/.opencode/skills/remotion-maps/SKILL.md +36 -0
  1394. package/templates/default/.opencode/skills/remotion-maps/agents/openai.yaml +7 -0
  1395. package/templates/default/.opencode/skills/remotion-maps/assets/remotion-icon.png +0 -0
  1396. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1397. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1398. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1399. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1400. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1401. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1402. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1403. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1404. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1405. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1406. package/templates/default/.opencode/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1407. package/templates/default/.opencode/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1408. package/templates/default/.opencode/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1409. package/templates/default/.opencode/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1410. package/templates/default/.opencode/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1411. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1412. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1413. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1414. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1415. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1416. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1417. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1418. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1419. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1420. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1421. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1422. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1423. package/templates/default/.opencode/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1424. package/templates/default/.opencode/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1425. package/templates/default/.opencode/skills/remotion-markup/3d.md +86 -0
  1426. package/templates/default/.opencode/skills/remotion-markup/SKILL.md +365 -0
  1427. package/templates/default/.opencode/skills/remotion-markup/agents/openai.yaml +7 -0
  1428. package/templates/default/.opencode/skills/remotion-markup/assets/remotion-icon.png +0 -0
  1429. package/templates/default/.opencode/skills/remotion-markup/audio-visualization.md +198 -0
  1430. package/templates/default/.opencode/skills/remotion-markup/audio.md +171 -0
  1431. package/templates/default/.opencode/skills/remotion-markup/calculate-metadata.md +136 -0
  1432. package/templates/default/.opencode/skills/remotion-markup/compositions.md +117 -0
  1433. package/templates/default/.opencode/skills/remotion-markup/cropping.md +34 -0
  1434. package/templates/default/.opencode/skills/remotion-markup/effects.md +251 -0
  1435. package/templates/default/.opencode/skills/remotion-markup/embedding-videos.md +173 -0
  1436. package/templates/default/.opencode/skills/remotion-markup/ffmpeg.md +38 -0
  1437. package/templates/default/.opencode/skills/remotion-markup/gifs.md +187 -0
  1438. package/templates/default/.opencode/skills/remotion-markup/google-fonts.md +76 -0
  1439. package/templates/default/.opencode/skills/remotion-markup/html-in-canvas.md +128 -0
  1440. package/templates/default/.opencode/skills/remotion-markup/images.md +73 -0
  1441. package/templates/default/.opencode/skills/remotion-markup/light-leaks.md +106 -0
  1442. package/templates/default/.opencode/skills/remotion-markup/local-fonts.md +69 -0
  1443. package/templates/default/.opencode/skills/remotion-markup/lottie.md +73 -0
  1444. package/templates/default/.opencode/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  1445. package/templates/default/.opencode/skills/remotion-markup/measuring-text.md +146 -0
  1446. package/templates/default/.opencode/skills/remotion-markup/multi-scene-video.md +81 -0
  1447. package/templates/default/.opencode/skills/remotion-markup/parameters.md +111 -0
  1448. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1449. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1450. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1451. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1452. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1453. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1454. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1455. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1456. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1457. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1458. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1459. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1460. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1461. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1462. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1463. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1464. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1465. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1466. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1467. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1468. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1469. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1470. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1471. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1472. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1473. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1474. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1475. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1476. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1477. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1478. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1479. package/templates/default/.opencode/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1480. package/templates/default/.opencode/skills/remotion-markup/sequencing.md +169 -0
  1481. package/templates/default/.opencode/skills/remotion-markup/sfx.md +51 -0
  1482. package/templates/default/.opencode/skills/remotion-markup/silence-detection.md +71 -0
  1483. package/templates/default/.opencode/skills/remotion-markup/text-highlights.md +56 -0
  1484. package/templates/default/.opencode/skills/remotion-markup/timing.md +111 -0
  1485. package/templates/default/.opencode/skills/remotion-markup/transitions.md +239 -0
  1486. package/templates/default/.opencode/skills/remotion-markup/video-editing.md +90 -0
  1487. package/templates/default/.opencode/skills/remotion-markup/voiceover.md +99 -0
  1488. package/templates/default/.opencode/skills/remotion-multimedia/SKILL.md +20 -0
  1489. package/templates/default/.opencode/skills/remotion-multimedia/agents/openai.yaml +7 -0
  1490. package/templates/default/.opencode/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  1491. package/templates/default/.opencode/skills/remotion-multimedia/get-audio-duration.md +56 -0
  1492. package/templates/default/.opencode/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  1493. package/templates/default/.opencode/skills/remotion-multimedia/get-video-duration.md +58 -0
  1494. package/templates/default/.opencode/skills/remotion-render/SKILL.md +27 -0
  1495. package/templates/default/.opencode/skills/remotion-render/agents/openai.yaml +7 -0
  1496. package/templates/default/.opencode/skills/remotion-render/assets/remotion-icon.png +0 -0
  1497. package/templates/default/.opencode/skills/remotion-render/transparent-videos.md +106 -0
  1498. package/templates/default/.opencode/skills/remotion-saas/SKILL.md +33 -0
  1499. package/templates/default/.opencode/skills/remotion-saas/agents/openai.yaml +7 -0
  1500. package/templates/default/.opencode/skills/remotion-saas/assets/remotion-icon.png +0 -0
  1501. package/templates/default/.opencode/skills/remotion-saas/framework.md +21 -0
  1502. package/templates/default/.opencode/skills/remotion-saas/player.md +33 -0
  1503. package/templates/default/.opencode/skills/remotion-saas/rendering.md +69 -0
  1504. package/templates/default/.opencode/skills/remotion-studio/SKILL.md +24 -0
  1505. package/templates/default/.opencode/skills/remotion-studio/agents/openai.yaml +7 -0
  1506. package/templates/default/.opencode/skills/remotion-studio/assets/remotion-icon.png +0 -0
  1507. package/templates/default/.opencode/skills/remotion-upgrade/SKILL.md +31 -0
  1508. package/templates/default/.opencode/skills/remotion-upgrade/agents/openai.yaml +7 -0
  1509. package/templates/default/.opencode/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  1510. package/templates/default/.windsurf/skills/remotion-best-practices/SKILL.md +59 -0
  1511. package/templates/default/.windsurf/skills/remotion-best-practices/agents/openai.yaml +7 -0
  1512. package/templates/default/.windsurf/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  1513. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/REFERENCE.md +36 -0
  1514. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  1515. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  1516. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/display-captions.md +190 -0
  1517. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/import-srt-captions.md +73 -0
  1518. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-captions/transcribe-captions.md +70 -0
  1519. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-create/REFERENCE.md +68 -0
  1520. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  1521. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  1522. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-create/tailwind.md +11 -0
  1523. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  1524. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-docs/REFERENCE.md +46 -0
  1525. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  1526. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  1527. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-interactivity/REFERENCE.md +247 -0
  1528. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  1529. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  1530. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/REFERENCE.md +36 -0
  1531. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  1532. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  1533. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1534. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1535. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1536. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1537. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1538. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1539. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1540. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1541. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1542. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1543. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1544. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1545. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1546. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1547. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1548. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1549. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1550. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1551. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1552. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1553. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1554. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1555. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1556. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1557. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1558. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1559. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1560. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1561. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1562. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/3d.md +86 -0
  1563. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/REFERENCE.md +365 -0
  1564. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  1565. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  1566. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/audio-visualization.md +198 -0
  1567. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/audio.md +171 -0
  1568. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/calculate-metadata.md +136 -0
  1569. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  1570. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  1571. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  1572. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/embedding-videos.md +173 -0
  1573. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/ffmpeg.md +38 -0
  1574. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/gifs.md +187 -0
  1575. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  1576. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  1577. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  1578. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  1579. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  1580. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/lottie.md +73 -0
  1581. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/measuring-dom-nodes.md +38 -0
  1582. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/measuring-text.md +146 -0
  1583. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  1584. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/parameters.md +111 -0
  1585. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1586. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1587. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1588. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1589. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1590. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1591. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1592. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1593. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1594. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1595. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1596. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1597. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1598. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1599. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1600. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1601. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1602. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1603. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1604. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1605. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1606. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1607. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1608. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1609. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1610. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1611. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1612. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1613. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1614. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1615. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1616. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1617. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/sequencing.md +169 -0
  1618. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  1619. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/silence-detection.md +71 -0
  1620. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  1621. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  1622. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/transitions.md +239 -0
  1623. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  1624. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-markup/voiceover.md +99 -0
  1625. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/REFERENCE.md +20 -0
  1626. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  1627. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  1628. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/get-audio-duration.md +56 -0
  1629. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/get-video-dimensions.md +66 -0
  1630. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-multimedia/get-video-duration.md +58 -0
  1631. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-render/REFERENCE.md +27 -0
  1632. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  1633. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  1634. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-render/transparent-videos.md +106 -0
  1635. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/REFERENCE.md +33 -0
  1636. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  1637. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  1638. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  1639. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  1640. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  1641. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-studio/REFERENCE.md +24 -0
  1642. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  1643. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  1644. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-upgrade/REFERENCE.md +31 -0
  1645. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  1646. package/templates/default/.windsurf/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  1647. package/templates/default/.windsurf/skills/remotion-captions/SKILL.md +36 -0
  1648. package/templates/default/.windsurf/skills/remotion-captions/agents/openai.yaml +7 -0
  1649. package/templates/default/.windsurf/skills/remotion-captions/assets/remotion-icon.png +0 -0
  1650. package/templates/default/.windsurf/skills/remotion-captions/display-captions.md +190 -0
  1651. package/templates/default/.windsurf/skills/remotion-captions/import-srt-captions.md +73 -0
  1652. package/templates/default/.windsurf/skills/remotion-captions/transcribe-captions.md +70 -0
  1653. package/templates/default/.windsurf/skills/remotion-create/SKILL.md +68 -0
  1654. package/templates/default/.windsurf/skills/remotion-create/agents/openai.yaml +7 -0
  1655. package/templates/default/.windsurf/skills/remotion-create/assets/remotion-icon.png +0 -0
  1656. package/templates/default/.windsurf/skills/remotion-create/tailwind.md +11 -0
  1657. package/templates/default/.windsurf/skills/remotion-create/video-layout.md +9 -0
  1658. package/templates/default/.windsurf/skills/remotion-docs/SKILL.md +46 -0
  1659. package/templates/default/.windsurf/skills/remotion-docs/agents/openai.yaml +7 -0
  1660. package/templates/default/.windsurf/skills/remotion-docs/assets/remotion-icon.png +0 -0
  1661. package/templates/default/.windsurf/skills/remotion-interactivity/SKILL.md +247 -0
  1662. package/templates/default/.windsurf/skills/remotion-interactivity/agents/openai.yaml +7 -0
  1663. package/templates/default/.windsurf/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  1664. package/templates/default/.windsurf/skills/remotion-maps/SKILL.md +36 -0
  1665. package/templates/default/.windsurf/skills/remotion-maps/agents/openai.yaml +7 -0
  1666. package/templates/default/.windsurf/skills/remotion-maps/assets/remotion-icon.png +0 -0
  1667. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1668. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1669. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1670. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1671. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1672. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1673. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1674. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1675. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1676. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1677. package/templates/default/.windsurf/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1678. package/templates/default/.windsurf/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1679. package/templates/default/.windsurf/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1680. package/templates/default/.windsurf/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1681. package/templates/default/.windsurf/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1682. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1683. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1684. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1685. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1686. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1687. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1688. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1689. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1690. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1691. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1692. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1693. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1694. package/templates/default/.windsurf/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1695. package/templates/default/.windsurf/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1696. package/templates/default/.windsurf/skills/remotion-markup/3d.md +86 -0
  1697. package/templates/default/.windsurf/skills/remotion-markup/SKILL.md +365 -0
  1698. package/templates/default/.windsurf/skills/remotion-markup/agents/openai.yaml +7 -0
  1699. package/templates/default/.windsurf/skills/remotion-markup/assets/remotion-icon.png +0 -0
  1700. package/templates/default/.windsurf/skills/remotion-markup/audio-visualization.md +198 -0
  1701. package/templates/default/.windsurf/skills/remotion-markup/audio.md +171 -0
  1702. package/templates/default/.windsurf/skills/remotion-markup/calculate-metadata.md +136 -0
  1703. package/templates/default/.windsurf/skills/remotion-markup/compositions.md +117 -0
  1704. package/templates/default/.windsurf/skills/remotion-markup/cropping.md +34 -0
  1705. package/templates/default/.windsurf/skills/remotion-markup/effects.md +251 -0
  1706. package/templates/default/.windsurf/skills/remotion-markup/embedding-videos.md +173 -0
  1707. package/templates/default/.windsurf/skills/remotion-markup/ffmpeg.md +38 -0
  1708. package/templates/default/.windsurf/skills/remotion-markup/gifs.md +187 -0
  1709. package/templates/default/.windsurf/skills/remotion-markup/google-fonts.md +76 -0
  1710. package/templates/default/.windsurf/skills/remotion-markup/html-in-canvas.md +128 -0
  1711. package/templates/default/.windsurf/skills/remotion-markup/images.md +73 -0
  1712. package/templates/default/.windsurf/skills/remotion-markup/light-leaks.md +106 -0
  1713. package/templates/default/.windsurf/skills/remotion-markup/local-fonts.md +69 -0
  1714. package/templates/default/.windsurf/skills/remotion-markup/lottie.md +73 -0
  1715. package/templates/default/.windsurf/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  1716. package/templates/default/.windsurf/skills/remotion-markup/measuring-text.md +146 -0
  1717. package/templates/default/.windsurf/skills/remotion-markup/multi-scene-video.md +81 -0
  1718. package/templates/default/.windsurf/skills/remotion-markup/parameters.md +111 -0
  1719. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/REFERENCE.md +36 -0
  1720. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  1721. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  1722. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  1723. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  1724. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  1725. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  1726. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  1727. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  1728. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  1729. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  1730. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  1731. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  1732. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  1733. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  1734. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  1735. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  1736. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  1737. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  1738. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  1739. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  1740. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  1741. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  1742. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  1743. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  1744. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  1745. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  1746. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  1747. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  1748. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  1749. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  1750. package/templates/default/.windsurf/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  1751. package/templates/default/.windsurf/skills/remotion-markup/sequencing.md +169 -0
  1752. package/templates/default/.windsurf/skills/remotion-markup/sfx.md +51 -0
  1753. package/templates/default/.windsurf/skills/remotion-markup/silence-detection.md +71 -0
  1754. package/templates/default/.windsurf/skills/remotion-markup/text-highlights.md +56 -0
  1755. package/templates/default/.windsurf/skills/remotion-markup/timing.md +111 -0
  1756. package/templates/default/.windsurf/skills/remotion-markup/transitions.md +239 -0
  1757. package/templates/default/.windsurf/skills/remotion-markup/video-editing.md +90 -0
  1758. package/templates/default/.windsurf/skills/remotion-markup/voiceover.md +99 -0
  1759. package/templates/default/.windsurf/skills/remotion-multimedia/SKILL.md +20 -0
  1760. package/templates/default/.windsurf/skills/remotion-multimedia/agents/openai.yaml +7 -0
  1761. package/templates/default/.windsurf/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  1762. package/templates/default/.windsurf/skills/remotion-multimedia/get-audio-duration.md +56 -0
  1763. package/templates/default/.windsurf/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  1764. package/templates/default/.windsurf/skills/remotion-multimedia/get-video-duration.md +58 -0
  1765. package/templates/default/.windsurf/skills/remotion-render/SKILL.md +27 -0
  1766. package/templates/default/.windsurf/skills/remotion-render/agents/openai.yaml +7 -0
  1767. package/templates/default/.windsurf/skills/remotion-render/assets/remotion-icon.png +0 -0
  1768. package/templates/default/.windsurf/skills/remotion-render/transparent-videos.md +106 -0
  1769. package/templates/default/.windsurf/skills/remotion-saas/SKILL.md +33 -0
  1770. package/templates/default/.windsurf/skills/remotion-saas/agents/openai.yaml +7 -0
  1771. package/templates/default/.windsurf/skills/remotion-saas/assets/remotion-icon.png +0 -0
  1772. package/templates/default/.windsurf/skills/remotion-saas/framework.md +21 -0
  1773. package/templates/default/.windsurf/skills/remotion-saas/player.md +33 -0
  1774. package/templates/default/.windsurf/skills/remotion-saas/rendering.md +69 -0
  1775. package/templates/default/.windsurf/skills/remotion-studio/SKILL.md +24 -0
  1776. package/templates/default/.windsurf/skills/remotion-studio/agents/openai.yaml +7 -0
  1777. package/templates/default/.windsurf/skills/remotion-studio/assets/remotion-icon.png +0 -0
  1778. package/templates/default/.windsurf/skills/remotion-upgrade/SKILL.md +31 -0
  1779. package/templates/default/.windsurf/skills/remotion-upgrade/agents/openai.yaml +7 -0
  1780. package/templates/default/.windsurf/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  1781. package/templates/default/AGENTS.md +61 -0
  1782. package/templates/default/CLAUDE.md +49 -8
  1783. package/templates/default/openvidstudio-core/package.json +16 -12
  1784. package/templates/default/openvidstudio-core/scripts/gen-fonts.sh +31 -0
  1785. package/templates/default/openvidstudio-core/scripts/gen-sfx.sh +2 -20
  1786. package/templates/default/openvidstudio-core/src/ChecklistPanel.tsx +2 -5
  1787. package/templates/default/openvidstudio-core/src/CinematicScene.tsx +14 -6
  1788. package/templates/default/openvidstudio-core/src/CursorActor.tsx +59 -15
  1789. package/templates/default/openvidstudio-core/src/DirectedShot.tsx +294 -0
  1790. package/templates/default/openvidstudio-core/src/KineticText.tsx +84 -17
  1791. package/templates/default/openvidstudio-core/src/LayeredShot.tsx +80 -0
  1792. package/templates/default/openvidstudio-core/src/RepoCta.tsx +21 -15
  1793. package/templates/default/openvidstudio-core/src/TerminalReplay.tsx +2 -5
  1794. package/templates/default/openvidstudio-core/src/TransitionOverlay.tsx +194 -0
  1795. package/templates/default/openvidstudio-core/src/atmosphere.tsx +109 -0
  1796. package/templates/default/openvidstudio-core/src/camera.tsx +72 -12
  1797. package/templates/default/openvidstudio-core/src/designSystem.ts +179 -0
  1798. package/templates/default/openvidstudio-core/src/handheld.tsx +116 -0
  1799. package/templates/default/openvidstudio-core/src/index.ts +69 -7
  1800. package/templates/default/openvidstudio-core/src/kinetic.tsx +152 -0
  1801. package/templates/default/openvidstudio-core/src/localFonts.ts +67 -0
  1802. package/templates/default/openvidstudio-core/src/motion.ts +6 -0
  1803. package/templates/default/openvidstudio-core/src/motionBlur.tsx +35 -0
  1804. package/templates/default/openvidstudio-core/src/musicClock.tsx +171 -0
  1805. package/templates/default/openvidstudio-core/src/narrationWords.tsx +85 -0
  1806. package/templates/default/openvidstudio-core/src/panels.tsx +367 -0
  1807. package/templates/default/openvidstudio-core/src/pixel.tsx +285 -0
  1808. package/templates/default/openvidstudio-core/src/sfx.tsx +77 -30
  1809. package/templates/default/openvidstudio-core/src/shots.ts +114 -0
  1810. package/templates/default/openvidstudio-core/src/tokens.ts +51 -2
  1811. package/templates/default/openvidstudio-stem/package.json +41 -0
  1812. package/templates/default/openvidstudio-stem/public/fonts/SPACE-GROTESK-LICENSE.txt +93 -0
  1813. package/templates/default/openvidstudio-stem/public/fonts/space-grotesk-latin-500-normal.woff2 +0 -0
  1814. package/templates/default/openvidstudio-stem/public/fonts/space-grotesk-latin-700-normal.woff2 +0 -0
  1815. package/templates/default/openvidstudio-stem/public/mathjax/MATHJAX-LICENSE.txt +202 -0
  1816. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/accents-other.js +1 -0
  1817. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/accents.js +1 -0
  1818. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/arrows.js +1 -0
  1819. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/calligraphic.js +1 -0
  1820. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/cyrillic.js +1 -0
  1821. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/double-struck.js +1 -0
  1822. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/fraktur.js +1 -0
  1823. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/greek.js +1 -0
  1824. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/latin-b.js +1 -0
  1825. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/latin-bi.js +1 -0
  1826. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/latin-i.js +1 -0
  1827. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/latin-m.js +1 -0
  1828. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/latin.js +1 -0
  1829. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/math-other.js +1 -0
  1830. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/monospace.js +1 -0
  1831. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/phonetics.js +1 -0
  1832. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/sans-serif.js +1 -0
  1833. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/script.js +1 -0
  1834. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/shapes.js +1 -0
  1835. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/stretchy.js +1 -0
  1836. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/symbols-other.js +1 -0
  1837. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/symbols.js +1 -0
  1838. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/up-int.js +1 -0
  1839. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg/dynamic/variants.js +1 -0
  1840. package/templates/default/openvidstudio-stem/public/mathjax/fira/svg.js +1 -0
  1841. package/templates/default/openvidstudio-stem/public/mathjax/tex-svg-nofont.js +1 -0
  1842. package/templates/default/openvidstudio-stem/src/ArrayViz.tsx +118 -0
  1843. package/templates/default/openvidstudio-stem/src/ComplexityCurve.tsx +108 -0
  1844. package/templates/default/openvidstudio-stem/src/Derivation.tsx +334 -0
  1845. package/templates/default/openvidstudio-stem/src/Equation.tsx +132 -0
  1846. package/templates/default/openvidstudio-stem/src/FreeBody.tsx +152 -0
  1847. package/templates/default/openvidstudio-stem/src/GraphViz.tsx +249 -0
  1848. package/templates/default/openvidstudio-stem/src/LessonCaptions.tsx +135 -0
  1849. package/templates/default/openvidstudio-stem/src/MatrixGrid.tsx +187 -0
  1850. package/templates/default/openvidstudio-stem/src/Nova.tsx +104 -0
  1851. package/templates/default/openvidstudio-stem/src/Orbit.tsx +241 -0
  1852. package/templates/default/openvidstudio-stem/src/Spark.tsx +69 -0
  1853. package/templates/default/openvidstudio-stem/src/TreeViz.tsx +241 -0
  1854. package/templates/default/openvidstudio-stem/src/VectorField.tsx +231 -0
  1855. package/templates/default/openvidstudio-stem/src/Wave.tsx +234 -0
  1856. package/templates/default/openvidstudio-stem/src/designSystem.ts +76 -0
  1857. package/templates/default/openvidstudio-stem/src/glow.tsx +52 -0
  1858. package/templates/default/openvidstudio-stem/src/graph.tsx +331 -0
  1859. package/templates/default/openvidstudio-stem/src/index.ts +61 -0
  1860. package/templates/default/openvidstudio-stem/src/localFonts.ts +40 -0
  1861. package/templates/default/openvidstudio-stem/src/mathjax.ts +79 -0
  1862. package/templates/default/openvidstudio-stem/src/paths.ts +148 -0
  1863. package/templates/default/output/.gitignore +3 -0
  1864. package/templates/default/output/README.md +9 -0
  1865. package/templates/default/package.json +19 -13
  1866. package/templates/default/public/fonts/inter-latin-400-normal.woff2 +0 -0
  1867. package/templates/default/public/fonts/inter-latin-500-normal.woff2 +0 -0
  1868. package/templates/default/public/fonts/inter-latin-700-normal.woff2 +0 -0
  1869. package/templates/default/public/fonts/inter-latin-800-normal.woff2 +0 -0
  1870. package/templates/default/public/fonts/inter-latin-900-normal.woff2 +0 -0
  1871. package/templates/default/public/fonts/jetbrains-mono-latin-400-normal.woff2 +0 -0
  1872. package/templates/default/public/fonts/jetbrains-mono-latin-700-normal.woff2 +0 -0
  1873. package/templates/default/public/imported_audios/README.md +14 -0
  1874. package/templates/default/public/sfx/CREDITS.md +49 -0
  1875. package/templates/default/public/sfx/bong.wav +0 -0
  1876. package/templates/default/public/sfx/click.wav +0 -0
  1877. package/templates/default/public/sfx/click_soft.wav +0 -0
  1878. package/templates/default/public/sfx/drop.wav +0 -0
  1879. package/templates/default/public/sfx/typing-effect.mp3 +0 -0
  1880. package/templates/default/scripts/visual-regression.mjs +69 -0
  1881. package/templates/default/src/PreflightBenchmark.tsx +49 -0
  1882. package/templates/default/public/sfx/key_a.wav +0 -0
  1883. package/templates/default/public/sfx/key_b.wav +0 -0
  1884. package/templates/default/public/sfx/key_c.wav +0 -0
  1885. package/templates/default/public/sfx/key_enter.wav +0 -0
@@ -0,0 +1,661 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CAPTION_HOLD_SECONDS = exports.DEFAULT_DUCK_DB = exports.AUDIO_SAMPLE_RATE = exports.DEFAULT_CANVAS_FPS = exports.DEFAULT_CANVAS_HEIGHT = exports.DEFAULT_CANVAS_WIDTH = void 0;
37
+ exports.captionChunks = captionChunks;
38
+ exports.chunksForBeat = chunksForBeat;
39
+ exports.readCanvasProject = readCanvasProject;
40
+ exports.bootScript = bootScript;
41
+ exports.openExplainer = openExplainer;
42
+ exports.captureFrame = captureFrame;
43
+ exports.renderScore = renderScore;
44
+ exports.toStereo = toStereo;
45
+ exports.mixVoice = mixVoice;
46
+ exports.wavBytes = wavBytes;
47
+ exports.sourceWarnings = sourceWarnings;
48
+ exports.resolveCanvasInput = resolveCanvasInput;
49
+ exports.runCanvasExplainer = runCanvasExplainer;
50
+ const node_child_process_1 = require("node:child_process");
51
+ const crypto = __importStar(require("node:crypto"));
52
+ const fs = __importStar(require("node:fs"));
53
+ const os = __importStar(require("node:os"));
54
+ const path = __importStar(require("node:path"));
55
+ const node_events_1 = require("node:events");
56
+ const capture_1 = require("@openvidstudio/capture");
57
+ const util_1 = require("./util");
58
+ const generateNarration_1 = require("./tools/generateNarration");
59
+ /**
60
+ * Turns a canvas explainer into a video. A canvas explainer is one self-contained HTML file with a canvas
61
+ * and three promises: `window.seek(t)` draws the frame at time `t` (seconds) as a pure function of `t`,
62
+ * `window.DURATION` is its length in seconds, and `window.scoreSound(kit)` is its Web Audio score, rendered
63
+ * offline through `window.SOUND.renderOffline(scoreSound, seconds, sampleRate, { voiceover })`.
64
+ *
65
+ * The renderer loads the file in headless Chromium, walks the frames, pipes the canvas PNGs into ffmpeg,
66
+ * renders the score, optionally mixes the narration clips of a project over it, and muxes the two. It can run
67
+ * from the MCP tool (tools/renderCanvasExplainer.ts) or standalone:
68
+ *
69
+ * node dist/canvasExplainer.js --html explainer.html --out out.mp4 [--width 1280 --height 720 --fps 30 --video name]
70
+ */
71
+ exports.DEFAULT_CANVAS_WIDTH = 1280;
72
+ exports.DEFAULT_CANVAS_HEIGHT = 720;
73
+ exports.DEFAULT_CANVAS_FPS = 30;
74
+ exports.AUDIO_SAMPLE_RATE = 48000;
75
+ /** How far the score sits under a narration clip while it plays, in dB. At least 6 is promised. */
76
+ exports.DEFAULT_DUCK_DB = 9;
77
+ /** Seconds a caption stays after its last word is said, if the next one has not started. */
78
+ exports.CAPTION_HOLD_SECONDS = 0.3;
79
+ /** Sentence-end and comma rules of LessonCaptions (packages/stem), so a canvas lesson captions the same way. */
80
+ function captionChunks(words, maxWords = 6) {
81
+ const limit = Math.max(1, Math.floor(maxWords));
82
+ const chunks = [];
83
+ let from = 0;
84
+ for (let i = 0; i < words.length; i++) {
85
+ const size = i - from + 1;
86
+ const last = i === words.length - 1;
87
+ if (last || /[.?!:…]["')\]]*$/.test(words[i]) || (/[,;]["')\]]*$/.test(words[i]) && size >= 3) || size >= limit) {
88
+ chunks.push([from, i + 1]);
89
+ from = i + 1;
90
+ }
91
+ }
92
+ return chunks;
93
+ }
94
+ /** Pure: the caption chunks of one beat, timed from word times when they are known and evenly by length when not. */
95
+ function chunksForBeat(beat, spokenSeconds, words) {
96
+ const tokens = beat.text.split(/\s+/).filter(Boolean);
97
+ if (tokens.length === 0)
98
+ return [];
99
+ const exact = words !== undefined && words.length === tokens.length;
100
+ const spoken = Math.min(Math.max(0.1, spokenSeconds), Math.max(0.1, beat.end - beat.start));
101
+ let startAt;
102
+ let endAt;
103
+ if (exact) {
104
+ startAt = words.map((w) => beat.start + w.startMs / 1000);
105
+ endAt = words.map((w) => beat.start + w.endMs / 1000);
106
+ }
107
+ else {
108
+ const weight = tokens.map((t) => t.length + 1);
109
+ const total = weight.reduce((a, b) => a + b, 0);
110
+ let acc = 0;
111
+ startAt = [];
112
+ endAt = [];
113
+ tokens.forEach((_, i) => {
114
+ startAt.push(beat.start + (acc / total) * spoken);
115
+ acc += weight[i];
116
+ endAt.push(beat.start + (acc / total) * spoken);
117
+ });
118
+ }
119
+ const ranges = captionChunks(tokens);
120
+ return ranges.map(([from, to], k) => {
121
+ const lastEnd = endAt[to - 1];
122
+ const nextStart = k + 1 < ranges.length ? startAt[ranges[k + 1][0]] : Infinity;
123
+ return { beatId: beat.id, from: startAt[from], to: Math.min(lastEnd + exports.CAPTION_HOLD_SECONDS, nextStart, beat.end), text: tokens.slice(from, to).join(" ") };
124
+ });
125
+ }
126
+ /** Reads a project's beats.json into what a canvas explainer needs. */
127
+ function readCanvasProject(projectRoot, videoName) {
128
+ const name = (0, util_1.sanitizeSegment)(videoName, "videoName");
129
+ const file = path.join(projectRoot, "src", "videos", name, "beats.json");
130
+ if (!fs.existsSync(file))
131
+ throw new Error(`No beats.json at ${file}. Write the beats (and run fit_beats after generate_narration) first.`);
132
+ const doc = JSON.parse(fs.readFileSync(file, "utf8"));
133
+ const fps = doc.fps && doc.fps > 0 ? doc.fps : 30;
134
+ const narration = doc.narration === "none" ? "none" : "voice";
135
+ const beats = (doc.beats ?? []).map((b) => ({ id: b.id, start: b.start / fps, end: (b.start + b.duration) / fps, text: typeof b.vo === "string" ? b.vo : "" }));
136
+ const clips = [];
137
+ const chunks = [];
138
+ if (narration === "voice") {
139
+ const voDir = path.join(projectRoot, "public", "audio", "vo");
140
+ for (const beat of beats) {
141
+ const clip = path.join(voDir, `${beat.id}.mp3`);
142
+ const hasClip = fs.existsSync(clip);
143
+ if (hasClip)
144
+ clips.push({ beatId: beat.id, start: beat.start, file: clip });
145
+ if (beat.text.trim() === "")
146
+ continue;
147
+ const spoken = hasClip ? (0, generateNarration_1.probeDuration)(clip) : beat.end - beat.start;
148
+ let words;
149
+ const wordsFile = path.join(voDir, `${beat.id}.words.json`);
150
+ if (fs.existsSync(wordsFile)) {
151
+ try {
152
+ words = JSON.parse(fs.readFileSync(wordsFile, "utf8"));
153
+ }
154
+ catch {
155
+ words = undefined;
156
+ }
157
+ }
158
+ chunks.push(...chunksForBeat(beat, spoken > 0 ? spoken : beat.end - beat.start, words));
159
+ }
160
+ }
161
+ return { beats, narration, clips, chunks };
162
+ }
163
+ // ---------------------------------------------------------------------------------------------
164
+ // The page: boot script, captions helper, probes
165
+ /** Runs before the explainer's own scripts: the size, the beats, the captions helper. */
166
+ function bootScript(cfg) {
167
+ const lines = [];
168
+ lines.push(`window.OVS = ${JSON.stringify({ width: cfg.width, height: cfg.height, fps: cfg.fps, voiceover: cfg.voiceover })};`);
169
+ if (cfg.beats)
170
+ lines.push(`window.BEATS = ${JSON.stringify(cfg.beats)};`);
171
+ lines.push(`window.__ovsCaptionBoxes = [];`);
172
+ lines.push(`(function () {
173
+ var chunks = ${JSON.stringify(cfg.chunks)};
174
+ var W = ${cfg.width}, H = ${cfg.height};
175
+ function at(t) {
176
+ for (var i = 0; i < chunks.length; i++) if (t >= chunks[i].from && t < chunks[i].to) return chunks[i];
177
+ return null;
178
+ }
179
+ function wrap(ctx, words, maxWidth) {
180
+ var lines = [], line = "";
181
+ for (var i = 0; i < words.length; i++) {
182
+ var next = line ? line + " " + words[i] : words[i];
183
+ if (line && ctx.measureText(next).width > maxWidth) { lines.push(line); line = words[i]; } else line = next;
184
+ }
185
+ if (line) lines.push(line);
186
+ return lines;
187
+ }
188
+ // Draws the caption for time t inside the safe area: above the bottom 22% (14% at the top) of a tall
189
+ // canvas, 8% either way on a wide one. An explainer calls it at the end of seek(t) to caption in its own
190
+ // font and colours (opts.font, opts.color, opts.background, opts.position); the renderer calls it itself
191
+ // for an explainer that did not. Returns the box it drew, or null when no caption is on screen at t.
192
+ function draw(ctx, t, opts) {
193
+ window.CAPTIONS.__drawn = true;
194
+ var chunk = at(t);
195
+ if (!chunk) return null;
196
+ opts = opts || {};
197
+ var portrait = H > W;
198
+ var bottomInset = Math.round(H * (portrait ? 0.22 : 0.08)), topInset = Math.round(H * (portrait ? 0.14 : 0.08));
199
+ var size = opts.size || Math.round(Math.min(W, H) * 0.048);
200
+ var family = opts.font || "sans-serif";
201
+ var maxWidth = W * 0.8, lines;
202
+ ctx.save();
203
+ ctx.setTransform(1, 0, 0, 1, 0, 0);
204
+ for (;;) {
205
+ ctx.font = "600 " + size + "px " + family;
206
+ lines = wrap(ctx, chunk.text.split(/\\s+/), maxWidth);
207
+ if (lines.length <= 2 || size <= 12) break;
208
+ size -= 2;
209
+ }
210
+ var padX = Math.round(size * 0.5), padY = Math.round(size * 0.3), lineH = Math.round(size * 1.25);
211
+ var w = 0;
212
+ for (var i = 0; i < lines.length; i++) w = Math.max(w, ctx.measureText(lines[i]).width);
213
+ var boxW = Math.round(w + 2 * padX), boxH = lines.length * lineH + 2 * padY;
214
+ var x = Math.round((W - boxW) / 2);
215
+ var y = opts.position === "top" ? topInset : H - bottomInset - boxH;
216
+ ctx.fillStyle = opts.background || "rgba(7,6,11,0.72)";
217
+ var r = Math.round(size * 0.4);
218
+ ctx.beginPath();
219
+ ctx.moveTo(x + r, y); ctx.arcTo(x + boxW, y, x + boxW, y + boxH, r); ctx.arcTo(x + boxW, y + boxH, x, y + boxH, r);
220
+ ctx.arcTo(x, y + boxH, x, y, r); ctx.arcTo(x, y, x + boxW, y, r); ctx.closePath(); ctx.fill();
221
+ ctx.fillStyle = opts.color || "#F3EFE6";
222
+ ctx.textAlign = "center"; ctx.textBaseline = "alphabetic";
223
+ window.__ovsCaptionDrawing = true;
224
+ for (var j = 0; j < lines.length; j++) ctx.fillText(lines[j], W / 2, y + padY + j * lineH + Math.round(size * 0.95));
225
+ window.__ovsCaptionDrawing = false;
226
+ ctx.restore();
227
+ var box = { x: x, y: y, width: boxW, height: boxH };
228
+ window.__ovsCaptionBoxes.push(box);
229
+ return box;
230
+ }
231
+ window.CAPTIONS = { chunks: chunks, at: at, draw: draw, __drawn: false };
232
+ })();`);
233
+ if (cfg.probes) {
234
+ lines.push(`(function () {
235
+ var P = (window.__ovsTexts = []);
236
+ ["fillText", "strokeText"].forEach(function (name) {
237
+ var orig = CanvasRenderingContext2D.prototype[name];
238
+ CanvasRenderingContext2D.prototype[name] = function (text, x, y) {
239
+ try {
240
+ var m = this.getTransform();
241
+ var match = /(\\d+(?:\\.\\d+)?)px/.exec(this.font);
242
+ var size = (match ? parseFloat(match[1]) : 10) * Math.hypot(m.a, m.b);
243
+ P.push({ text: String(text), size: size, x: m.a * x + m.c * y + m.e, y: m.b * x + m.d * y + m.f, caption: !!window.__ovsCaptionDrawing });
244
+ } catch (e) {}
245
+ return orig.apply(this, arguments);
246
+ };
247
+ });
248
+ var S = (window.__ovsSources = []);
249
+ function hook(proto) {
250
+ var start = proto.start, stop = proto.stop;
251
+ proto.start = function (when, offset, duration) {
252
+ var rec = { start: when || 0, stop: null, duration: duration === undefined ? null : duration, bufferSeconds: null, loop: false };
253
+ try {
254
+ if (this.buffer) { rec.bufferSeconds = this.buffer.duration / Math.max(0.001, this.playbackRate ? this.playbackRate.value : 1); rec.loop = !!this.loop; }
255
+ } catch (e) {}
256
+ this.__ovs = rec;
257
+ S.push(rec);
258
+ return start.apply(this, arguments);
259
+ };
260
+ proto.stop = function (when) {
261
+ if (this.__ovs) this.__ovs.stop = when || 0;
262
+ return stop.apply(this, arguments);
263
+ };
264
+ }
265
+ hook(AudioScheduledSourceNode.prototype);
266
+ if (typeof AudioBufferSourceNode !== "undefined" && AudioBufferSourceNode.prototype.hasOwnProperty("start")) hook(AudioBufferSourceNode.prototype);
267
+ })();`);
268
+ }
269
+ return lines.join("\n");
270
+ }
271
+ /** Loads the file and checks it keeps its three promises. */
272
+ async function openExplainer(browser, htmlPath, cfg) {
273
+ const page = await browser.newPage({ viewport: { width: cfg.width, height: cfg.height }, deviceScaleFactor: 1 });
274
+ const errors = [];
275
+ page.on("pageerror", (err) => errors.push(String(err && err.message ? err.message : err)));
276
+ try {
277
+ await page.addInitScript({
278
+ content: bootScript({ width: cfg.width, height: cfg.height, fps: cfg.fps, voiceover: cfg.voiceover, beats: cfg.project ? cfg.project.beats : null, chunks: cfg.project ? cfg.project.chunks : [], probes: cfg.probes }),
279
+ });
280
+ await page.goto(`file://${htmlPath}`, { waitUntil: "load" });
281
+ await page.evaluate(() => document.fonts.ready.then(() => true));
282
+ const present = await page.evaluate(() => {
283
+ const w = window;
284
+ return { seek: typeof w.seek, duration: typeof w.DURATION, score: typeof w.scoreSound, canvas: document.querySelector("canvas") !== null };
285
+ });
286
+ const missing = [];
287
+ if (present.seek !== "function")
288
+ missing.push("window.seek(t) (a function that draws the frame at time t)");
289
+ if (present.duration !== "number")
290
+ missing.push("window.DURATION (the length in seconds, a number)");
291
+ if (cfg.requireScore && present.score !== "function")
292
+ missing.push("window.scoreSound(kit) (a function that scores the sound)");
293
+ if (!present.canvas)
294
+ missing.push("a <canvas> element");
295
+ if (missing.length > 0) {
296
+ throw new Error(`${path.basename(htmlPath)} is not a canvas explainer: it does not expose ${missing.join(", ")}. ` +
297
+ `An explainer is one HTML file with a canvas, window.seek(t), window.DURATION and window.scoreSound(kit)` +
298
+ (errors.length > 0 ? ` (the page reported: ${errors[0]})` : "") +
299
+ `.`);
300
+ }
301
+ const ownDuration = await page.evaluate(() => window.DURATION);
302
+ // A beats file decides the length: DURATION is the last beat's end.
303
+ if (cfg.project && cfg.project.beats.length > 0) {
304
+ const lastEnd = Math.max(...cfg.project.beats.map((b) => b.end));
305
+ await page.evaluate((d) => (window.DURATION = d), lastEnd);
306
+ }
307
+ const durationSeconds = await page.evaluate(() => window.DURATION);
308
+ if (!(durationSeconds > 0) || !Number.isFinite(durationSeconds))
309
+ throw new Error(`window.DURATION is ${durationSeconds}; it must be a positive number of seconds.`);
310
+ const resized = await page.evaluate(([w, h]) => {
311
+ const c = document.querySelector("canvas");
312
+ if (c.width === w && c.height === h)
313
+ return false;
314
+ c.width = w;
315
+ c.height = h;
316
+ return true;
317
+ }, [cfg.width, cfg.height]);
318
+ return { page, durationSeconds, width: cfg.width, height: cfg.height, resized, ownDuration, errors };
319
+ }
320
+ catch (err) {
321
+ await page.close().catch(() => undefined);
322
+ throw err;
323
+ }
324
+ }
325
+ /** Seeks to `t` and returns the canvas as PNG bytes. An explainer that did not draw captions gets them from the renderer. */
326
+ async function captureFrame(page, t) {
327
+ const b64 = await page.evaluate(async (time) => {
328
+ const w = window;
329
+ if (w.CAPTIONS)
330
+ w.CAPTIONS.__drawn = false;
331
+ await w.seek(time);
332
+ const canvas = document.querySelector("canvas");
333
+ if (w.CAPTIONS && w.CAPTIONS.chunks.length > 0 && !w.CAPTIONS.__drawn) {
334
+ const ctx = canvas.getContext("2d");
335
+ if (ctx)
336
+ w.CAPTIONS.draw(ctx, time);
337
+ }
338
+ return canvas.toDataURL("image/png").slice("data:image/png;base64,".length);
339
+ }, t);
340
+ return Buffer.from(b64, "base64");
341
+ }
342
+ /** Renders the explainer's score through its sound kit. */
343
+ async function renderScore(page, durationSeconds, sampleRate, voiceover) {
344
+ const out = await page.evaluate(async ([duration, rate, vo]) => {
345
+ const w = window;
346
+ if (!w.SOUND || typeof w.SOUND.renderOffline !== "function") {
347
+ throw new Error("window.SOUND.renderOffline is missing, so the score cannot be rendered. Include the sound kit in the explainer, or render with audio: false.");
348
+ }
349
+ const r = (await w.SOUND.renderOffline(w.scoreSound, duration, rate, { voiceover: vo }));
350
+ let sampleRate = rate;
351
+ let channels = 2;
352
+ let data;
353
+ const any = r;
354
+ if (any && typeof any.getChannelData === "function") {
355
+ channels = any.numberOfChannels ?? 1;
356
+ sampleRate = any.sampleRate ?? sampleRate;
357
+ const chans = Array.from({ length: channels }, (_, c) => any.getChannelData(c));
358
+ data = new Float32Array(chans[0].length * channels);
359
+ for (let i = 0; i < chans[0].length; i++)
360
+ for (let c = 0; c < channels; c++)
361
+ data[i * channels + c] = chans[c][i];
362
+ }
363
+ else if (Array.isArray(r) && r[0] instanceof Float32Array) {
364
+ channels = r.length;
365
+ data = new Float32Array(r[0].length * channels);
366
+ for (let i = 0; i < r[0].length; i++)
367
+ for (let c = 0; c < channels; c++)
368
+ data[i * channels + c] = r[c][i];
369
+ }
370
+ else if (r instanceof Float32Array) {
371
+ data = r;
372
+ }
373
+ else if (any && (any.samples instanceof Float32Array || any.data instanceof Float32Array)) {
374
+ data = (any.samples ?? any.data);
375
+ if (typeof any.channels === "number")
376
+ channels = any.channels;
377
+ if (typeof any.sampleRate === "number")
378
+ sampleRate = any.sampleRate;
379
+ }
380
+ else {
381
+ throw new Error("SOUND.renderOffline returned something that is not audio: expected an AudioBuffer, an array of channel Float32Arrays, an interleaved Float32Array, or { samples, sampleRate, channels }.");
382
+ }
383
+ const bytes = new Uint8Array(data.buffer, data.byteOffset, data.byteLength);
384
+ let bin = "";
385
+ for (let i = 0; i < bytes.length; i += 0x8000)
386
+ bin += String.fromCharCode(...bytes.subarray(i, i + 0x8000));
387
+ return { sampleRate, channels, b64: btoa(bin) };
388
+ }, [durationSeconds, sampleRate, voiceover]);
389
+ const buf = Buffer.from(out.b64, "base64");
390
+ const data = new Float32Array(buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength));
391
+ return { sampleRate: out.sampleRate, channels: out.channels, data };
392
+ }
393
+ /** Pure: `audio` as stereo, so mixing and writing deal with one shape. */
394
+ function toStereo(audio) {
395
+ if (audio.channels === 2)
396
+ return audio;
397
+ const frames = Math.floor(audio.data.length / audio.channels);
398
+ const out = new Float32Array(frames * 2);
399
+ for (let i = 0; i < frames; i++) {
400
+ out[i * 2] = audio.data[i * audio.channels];
401
+ out[i * 2 + 1] = audio.data[i * audio.channels + (audio.channels > 1 ? 1 : 0)];
402
+ }
403
+ return { sampleRate: audio.sampleRate, channels: 2, data: out };
404
+ }
405
+ /** Decodes a clip to interleaved stereo float at `sampleRate`. */
406
+ function decodeClip(file, sampleRate) {
407
+ // ffmpeg's own mono to stereo upmix takes 3 dB off, so a mono narration clip (what a speech engine writes) would
408
+ // sit quieter in the mix than it was recorded. Copy the channel to both sides instead.
409
+ const channels = Number.parseInt((0, node_child_process_1.spawnSync)("ffprobe", ["-v", "error", "-select_streams", "a:0", "-show_entries", "stream=channels", "-of", "default=nw=1:nk=1", file], { encoding: "utf8" }).stdout.trim(), 10);
410
+ const layout = channels === 1 ? ["-af", "pan=stereo|c0=c0|c1=c0"] : ["-ac", "2"];
411
+ const r = (0, node_child_process_1.spawnSync)("ffmpeg", ["-v", "error", "-i", file, ...layout, "-f", "f32le", "-ar", String(sampleRate), "-"], { maxBuffer: 1 << 30 });
412
+ if (r.status !== 0 || !r.stdout)
413
+ throw new Error(`ffmpeg could not decode the narration clip ${file}: ${String(r.stderr ?? "").slice(0, 300)}`);
414
+ return new Float32Array(r.stdout.buffer.slice(r.stdout.byteOffset, r.stdout.byteOffset + r.stdout.byteLength));
415
+ }
416
+ /**
417
+ * Mixes narration clips over a score. Each clip starts at its beat's start (to the sample), and the score is
418
+ * ducked by `duckDb` while any clip plays: eased down over 40 ms and back up over 250 ms, so it does not pump.
419
+ */
420
+ function mixVoice(score, clips, duckDb) {
421
+ const stereo = toStereo(score);
422
+ const rate = stereo.sampleRate;
423
+ const frames = stereo.data.length / 2;
424
+ const voice = new Float32Array(stereo.data.length);
425
+ const spans = [];
426
+ const report = [];
427
+ for (const clip of clips) {
428
+ const pcm = decodeClip(clip.file, rate);
429
+ const startSample = Math.round(clip.start * rate);
430
+ const clipFrames = pcm.length / 2;
431
+ const n = Math.max(0, Math.min(clipFrames, frames - startSample));
432
+ for (let i = 0; i < n; i++) {
433
+ voice[(startSample + i) * 2] += pcm[i * 2];
434
+ voice[(startSample + i) * 2 + 1] += pcm[i * 2 + 1];
435
+ }
436
+ spans.push([startSample, startSample + n]);
437
+ report.push({ beatId: clip.beatId, startSeconds: clip.start, startSample, durationSeconds: clipFrames / rate });
438
+ }
439
+ const target = new Float32Array(frames).fill(1);
440
+ const duck = 10 ** (-duckDb / 20);
441
+ for (const [a, b] of spans)
442
+ target.fill(duck, a, b);
443
+ const attack = Math.exp(-1 / (0.04 * rate));
444
+ const release = Math.exp(-1 / (0.25 * rate));
445
+ const out = new Float32Array(stereo.data.length);
446
+ let gain = 1;
447
+ for (let i = 0; i < frames; i++) {
448
+ const k = target[i] < gain ? attack : release;
449
+ gain = target[i] + (gain - target[i]) * k;
450
+ out[i * 2] = stereo.data[i * 2] * gain + voice[i * 2];
451
+ out[i * 2 + 1] = stereo.data[i * 2 + 1] * gain + voice[i * 2 + 1];
452
+ }
453
+ let peak = 0;
454
+ for (let i = 0; i < out.length; i++)
455
+ peak = Math.max(peak, Math.abs(out[i]));
456
+ if (peak > 0.98)
457
+ for (let i = 0; i < out.length; i++)
458
+ out[i] = (out[i] * 0.98) / peak;
459
+ return { audio: { sampleRate: rate, channels: 2, data: out }, clips: report };
460
+ }
461
+ /** A 32-bit float WAV, which ffmpeg reads directly. */
462
+ function wavBytes(audio) {
463
+ const dataBytes = audio.data.length * 4;
464
+ const header = Buffer.alloc(44);
465
+ header.write("RIFF", 0);
466
+ header.writeUInt32LE(36 + dataBytes, 4);
467
+ header.write("WAVEfmt ", 8);
468
+ header.writeUInt32LE(16, 16);
469
+ header.writeUInt16LE(3, 20);
470
+ header.writeUInt16LE(audio.channels, 22);
471
+ header.writeUInt32LE(audio.sampleRate, 24);
472
+ header.writeUInt32LE(audio.sampleRate * audio.channels * 4, 28);
473
+ header.writeUInt16LE(audio.channels * 4, 32);
474
+ header.writeUInt16LE(32, 34);
475
+ header.write("data", 36);
476
+ header.writeUInt32LE(dataBytes, 40);
477
+ return Buffer.concat([header, Buffer.from(audio.data.buffer, audio.data.byteOffset, dataBytes)]);
478
+ }
479
+ // ---------------------------------------------------------------------------------------------
480
+ // Rendering
481
+ const MATH_RANDOM = /Math\s*\.\s*random\b/;
482
+ /** The warnings that need only the source. */
483
+ function sourceWarnings(html, file) {
484
+ const warnings = [];
485
+ if (MATH_RANDOM.test(html)) {
486
+ warnings.push(`${path.basename(file)} calls Math.random. A frame must be a pure function of t, so a drawing that draws a random number ` +
487
+ `will not look the same twice. Use a seeded generator keyed by t or by an index.`);
488
+ }
489
+ return warnings;
490
+ }
491
+ function resolveCanvasInput(input) {
492
+ const projectRoot = (0, util_1.resolveProjectRoot)(input.projectRoot);
493
+ const htmlPath = path.resolve(projectRoot, input.htmlPath);
494
+ if (!fs.existsSync(htmlPath))
495
+ throw new Error(`No explainer at ${htmlPath}.`);
496
+ if (path.isAbsolute(input.outPath)) {
497
+ if (/[;&|`$<>\n\r%^"]/.test(input.outPath))
498
+ throw new Error(`outPath "${input.outPath}" contains disallowed characters.`);
499
+ }
500
+ else {
501
+ (0, util_1.sanitizeRelativeOutPath)(projectRoot, input.outPath, "outPath");
502
+ }
503
+ const outPath = path.resolve(projectRoot, input.outPath);
504
+ const width = input.width ?? exports.DEFAULT_CANVAS_WIDTH;
505
+ const height = input.height ?? exports.DEFAULT_CANVAS_HEIGHT;
506
+ const fps = input.fps ?? exports.DEFAULT_CANVAS_FPS;
507
+ if (!Number.isInteger(width) || !Number.isInteger(height) || width < 16 || height < 16)
508
+ throw new Error(`width and height must be whole numbers of at least 16, got ${width}x${height}.`);
509
+ if (width % 2 !== 0 || height % 2 !== 0)
510
+ throw new Error(`width and height must be even for H.264, got ${width}x${height}.`);
511
+ if (!(fps > 0) || fps > 120)
512
+ throw new Error(`fps must be between 1 and 120, got ${fps}.`);
513
+ return { projectRoot, htmlPath, outPath, width, height, fps };
514
+ }
515
+ async function encodeFrames(page, r, frames, tmpVideo, onProgress) {
516
+ const ff = (0, node_child_process_1.spawn)("ffmpeg", ["-v", "error", "-y", "-f", "image2pipe", "-framerate", String(r.fps), "-c:v", "png", "-i", "-", "-an", "-c:v", "libx264", "-pix_fmt", "yuv420p", "-preset", "veryfast", "-crf", "18", "-movflags", "+faststart", tmpVideo], { stdio: ["pipe", "ignore", "pipe"] });
517
+ let stderr = "";
518
+ ff.stderr.on("data", (c) => (stderr += c));
519
+ let ffError = null;
520
+ ff.stdin.on("error", (err) => (ffError = err));
521
+ const closed = new Promise((resolve) => ff.on("close", resolve));
522
+ const hashes = {};
523
+ const hash = (b) => crypto.createHash("sha256").update(b).digest("hex");
524
+ const middle = Math.floor((frames - 1) / 2);
525
+ try {
526
+ for (let i = 0; i < frames; i++) {
527
+ const png = await captureFrame(page, i / r.fps);
528
+ if (i === 0)
529
+ hashes.first = hash(png);
530
+ if (i === middle)
531
+ hashes.middle = hash(png);
532
+ if (i === frames - 1)
533
+ hashes.last = hash(png);
534
+ if (ffError)
535
+ break;
536
+ if (!ff.stdin.write(png))
537
+ await (0, node_events_1.once)(ff.stdin, "drain");
538
+ if (i % 5 === 0 || i === frames - 1)
539
+ onProgress?.({ framesRendered: i + 1, totalFrames: frames });
540
+ }
541
+ }
542
+ finally {
543
+ ff.stdin.end();
544
+ }
545
+ const code = await closed;
546
+ if (code !== 0 || ffError)
547
+ throw new Error(`ffmpeg failed encoding the frames (exit ${code}): ${stderr.slice(-400) || String(ffError)}`);
548
+ return { first: hashes.first, middle: hashes.middle, last: hashes.last };
549
+ }
550
+ async function runCanvasExplainer(input, opts = {}) {
551
+ const r = resolveCanvasInput(input);
552
+ const project = input.videoName !== undefined ? readCanvasProject(r.projectRoot, input.videoName) : null;
553
+ const audioOn = input.audio !== false;
554
+ const audioOpts = input.audio === false || input.audio === undefined ? {} : input.audio;
555
+ const withNarration = project !== null && project.narration === "voice";
556
+ const voiceover = audioOpts.voiceover ?? withNarration;
557
+ const sampleRate = audioOpts.sampleRate ?? exports.AUDIO_SAMPLE_RATE;
558
+ const duckDb = audioOpts.duckDb ?? exports.DEFAULT_DUCK_DB;
559
+ if (voiceover && duckDb < 6)
560
+ throw new Error(`duckDb is ${duckDb}; the score has to sit at least 6 dB under the voice.`);
561
+ const captionsOn = (input.captions ?? true) && withNarration && project.chunks.length > 0;
562
+ const renderProject = project && { ...project, chunks: captionsOn ? project.chunks : [] };
563
+ const warnings = sourceWarnings(fs.readFileSync(r.htmlPath, "utf8"), r.htmlPath);
564
+ let findings = [];
565
+ if (input.validate !== false) {
566
+ const { validateCanvasExplainer } = await Promise.resolve().then(() => __importStar(require("./canvasValidate")));
567
+ const verdict = await validateCanvasExplainer({ projectRoot: r.projectRoot, htmlPath: r.htmlPath, width: r.width, height: r.height, fps: r.fps, videoName: input.videoName, audio: audioOn });
568
+ const errors = verdict.findings.filter((f) => f.severity === "error");
569
+ if (errors.length > 0) {
570
+ throw new Error(`Pre-flight refused to render ${path.basename(r.htmlPath)}: ${errors.map((f) => `[${f.check}] ${f.message}`).join(" | ")} ` +
571
+ `Fix these, or pass validate: false to render anyway.`);
572
+ }
573
+ findings = verdict.findings;
574
+ }
575
+ const browser = await (0, capture_1.launchChromium)();
576
+ const scratch = fs.mkdtempSync(path.join(os.tmpdir(), "ovs-canvas-"));
577
+ try {
578
+ const opened = await openExplainer(browser, r.htmlPath, { width: r.width, height: r.height, fps: r.fps, voiceover, project: renderProject, probes: false, requireScore: audioOn });
579
+ if (opened.resized)
580
+ warnings.push(`The canvas was not ${r.width}x${r.height}, so it was resized to that before the first frame. Size the canvas from window.OVS.width and window.OVS.height.`);
581
+ if (project && project.beats.length > 0 && Math.abs(opened.ownDuration - opened.durationSeconds) > 1 / r.fps) {
582
+ warnings.push(`The explainer's own DURATION is ${opened.ownDuration}s but the beats end at ${opened.durationSeconds}s, which is what was rendered. Read window.BEATS and set DURATION from the last beat's end.`);
583
+ }
584
+ const frames = Math.max(1, Math.round(opened.durationSeconds * r.fps));
585
+ opts.onProgress?.({ framesRendered: 0, totalFrames: frames });
586
+ fs.mkdirSync(path.dirname(r.outPath), { recursive: true });
587
+ const tmpVideo = path.join(scratch, "video.mp4");
588
+ const frameHashes = await encodeFrames(opened.page, r, frames, tmpVideo, opts.onProgress);
589
+ let audioInfo = { included: false, sampleRate: null, voiceover: false, voiceClips: [], duckDb: null };
590
+ if (audioOn) {
591
+ const score = await renderScore(opened.page, opened.durationSeconds, sampleRate, voiceover);
592
+ let finalAudio = toStereo(score);
593
+ let clips = [];
594
+ if (voiceover && project && project.clips.length > 0) {
595
+ const mixed = mixVoice(score, project.clips, duckDb);
596
+ finalAudio = mixed.audio;
597
+ clips = mixed.clips;
598
+ }
599
+ const wav = path.join(scratch, "audio.wav");
600
+ fs.writeFileSync(wav, wavBytes(finalAudio));
601
+ const mux = (0, node_child_process_1.spawnSync)("ffmpeg", ["-v", "error", "-y", "-i", tmpVideo, "-i", wav, "-map", "0:v:0", "-map", "1:a:0", "-c:v", "copy", "-c:a", "aac", "-b:a", "192k", "-t", String(frames / r.fps), r.outPath], { encoding: "utf8" });
602
+ if (mux.status !== 0)
603
+ throw new Error(`ffmpeg failed muxing the audio: ${(mux.stderr ?? "").slice(-400)}`);
604
+ audioInfo = { included: true, sampleRate: finalAudio.sampleRate, voiceover, voiceClips: clips, duckDb: clips.length > 0 ? duckDb : null };
605
+ if (voiceover && project && project.clips.length === 0 && withNarration)
606
+ warnings.push("The beats have narration but no clips were found under public/audio/vo/, so the video has the score alone. Run generate_narration first.");
607
+ }
608
+ else {
609
+ fs.copyFileSync(tmpVideo, r.outPath);
610
+ }
611
+ await opened.page.close().catch(() => undefined);
612
+ return {
613
+ success: true,
614
+ outPath: r.outPath,
615
+ width: r.width,
616
+ height: r.height,
617
+ fps: r.fps,
618
+ durationSeconds: opened.durationSeconds,
619
+ frames,
620
+ frameHashes,
621
+ audio: audioInfo,
622
+ captions: { burned: captionsOn, chunks: captionsOn ? project.chunks.length : 0 },
623
+ warnings,
624
+ findings,
625
+ };
626
+ }
627
+ finally {
628
+ await browser.close().catch(() => undefined);
629
+ fs.rmSync(scratch, { recursive: true, force: true });
630
+ }
631
+ }
632
+ // ---------------------------------------------------------------------------------------------
633
+ // Standalone
634
+ function argValue(args, name) {
635
+ const i = args.indexOf(`--${name}`);
636
+ return i >= 0 ? args[i + 1] : undefined;
637
+ }
638
+ if (require.main === module) {
639
+ const args = process.argv.slice(2);
640
+ const html = argValue(args, "html");
641
+ const out = argValue(args, "out");
642
+ if (!html || !out) {
643
+ process.stderr.write("usage: node canvasExplainer.js --html explainer.html --out out.mp4 [--width 1280] [--height 720] [--fps 30] [--video name] [--project dir] [--silent] [--no-validate]\n");
644
+ process.exit(2);
645
+ }
646
+ const num = (n) => (argValue(args, n) !== undefined ? Number(argValue(args, n)) : undefined);
647
+ runCanvasExplainer({
648
+ projectRoot: argValue(args, "project"),
649
+ htmlPath: html,
650
+ outPath: out,
651
+ width: num("width"),
652
+ height: num("height"),
653
+ fps: num("fps"),
654
+ videoName: argValue(args, "video"),
655
+ audio: args.includes("--silent") ? false : undefined,
656
+ validate: !args.includes("--no-validate"),
657
+ }).then((result) => process.stdout.write(`${JSON.stringify(result, null, 2)}\n`), (err) => {
658
+ process.stderr.write(`${err instanceof Error ? err.message : String(err)}\n`);
659
+ process.exit(1);
660
+ });
661
+ }