dsh-remotion 0.2.0 → 0.3.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 (292) hide show
  1. package/README.en.md +7 -5
  2. package/README.md +3 -3
  3. package/lib/index.d.ts +2 -2
  4. package/lib/index.js +15 -2
  5. package/package.json +1 -1
  6. package/skills/remotion-best-practices/SKILL.md +59 -0
  7. package/skills/remotion-best-practices/agents/openai.yaml +7 -0
  8. package/skills/remotion-best-practices/assets/remotion-icon.png +0 -0
  9. package/skills/remotion-best-practices/remotion-captions/SKILL.md +36 -0
  10. package/skills/remotion-best-practices/remotion-captions/agents/openai.yaml +7 -0
  11. package/skills/remotion-best-practices/remotion-captions/assets/remotion-icon.png +0 -0
  12. package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/display-captions.md +9 -3
  13. package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/import-srt-captions.md +5 -1
  14. package/skills/remotion-best-practices/remotion-create/SKILL.md +68 -0
  15. package/skills/remotion-best-practices/remotion-create/agents/openai.yaml +7 -0
  16. package/skills/remotion-best-practices/remotion-create/assets/remotion-icon.png +0 -0
  17. package/skills/{remotion/rules → remotion-best-practices/remotion-create}/tailwind.md +1 -1
  18. package/skills/remotion-best-practices/remotion-create/video-layout.md +9 -0
  19. package/skills/remotion-best-practices/remotion-docs/SKILL.md +46 -0
  20. package/skills/remotion-best-practices/remotion-docs/agents/openai.yaml +7 -0
  21. package/skills/remotion-best-practices/remotion-docs/assets/remotion-icon.png +0 -0
  22. package/skills/remotion-best-practices/remotion-interactivity/SKILL.md +247 -0
  23. package/skills/remotion-best-practices/remotion-interactivity/agents/openai.yaml +7 -0
  24. package/skills/remotion-best-practices/remotion-interactivity/assets/remotion-icon.png +0 -0
  25. package/skills/remotion-best-practices/remotion-maps/SKILL.md +36 -0
  26. package/skills/remotion-best-practices/remotion-maps/agents/openai.yaml +7 -0
  27. package/skills/remotion-best-practices/remotion-maps/assets/remotion-icon.png +0 -0
  28. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  29. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  30. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  31. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  32. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  33. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  34. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  35. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  36. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  37. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  38. package/skills/remotion-best-practices/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  39. package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  40. package/skills/remotion-best-practices/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  41. package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  42. package/skills/remotion-best-practices/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  43. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  44. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  45. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  46. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  47. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  48. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  49. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  50. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  51. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  52. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  53. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  54. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  55. package/skills/remotion-best-practices/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  56. package/skills/remotion-best-practices/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  57. package/skills/remotion-best-practices/remotion-markup/SKILL.md +365 -0
  58. package/skills/remotion-best-practices/remotion-markup/agents/openai.yaml +7 -0
  59. package/skills/remotion-best-practices/remotion-markup/assets/remotion-icon.png +0 -0
  60. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio.md +4 -2
  61. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/calculate-metadata.md +4 -2
  62. package/skills/remotion-best-practices/remotion-markup/compositions.md +117 -0
  63. package/skills/remotion-best-practices/remotion-markup/cropping.md +34 -0
  64. package/skills/remotion-best-practices/remotion-markup/effects.md +251 -0
  65. package/skills/{remotion/rules/videos.md → remotion-best-practices/remotion-markup/embedding-videos.md} +6 -4
  66. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/ffmpeg.md +5 -1
  67. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/gifs.md +55 -9
  68. package/skills/remotion-best-practices/remotion-markup/google-fonts.md +76 -0
  69. package/skills/remotion-best-practices/remotion-markup/html-in-canvas.md +128 -0
  70. package/skills/remotion-best-practices/remotion-markup/images.md +73 -0
  71. package/skills/remotion-best-practices/remotion-markup/light-leaks.md +106 -0
  72. package/skills/remotion-best-practices/remotion-markup/local-fonts.md +69 -0
  73. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/lottie.md +4 -1
  74. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-dom-nodes.md +5 -1
  75. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/measuring-text.md +8 -2
  76. package/skills/remotion-best-practices/remotion-markup/multi-scene-video.md +81 -0
  77. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/parameters.md +3 -1
  78. package/skills/remotion-best-practices/remotion-markup/remotion-maps/SKILL.md +36 -0
  79. package/skills/remotion-best-practices/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  80. package/skills/remotion-best-practices/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  81. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  82. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  83. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  84. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  85. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  86. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  87. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  88. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  89. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  90. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  91. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  92. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  93. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  94. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  95. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  96. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  97. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  98. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  99. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  100. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  101. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  102. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  103. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  104. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  105. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  106. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  107. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  108. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  109. package/skills/remotion-best-practices/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  110. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/sequencing.md +63 -12
  111. package/skills/remotion-best-practices/remotion-markup/sfx.md +51 -0
  112. package/skills/remotion-best-practices/remotion-markup/text-highlights.md +56 -0
  113. package/skills/remotion-best-practices/remotion-markup/timing.md +111 -0
  114. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/transitions.md +49 -7
  115. package/skills/remotion-best-practices/remotion-markup/video-editing.md +90 -0
  116. package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/voiceover.md +2 -2
  117. package/skills/remotion-best-practices/remotion-multimedia/SKILL.md +20 -0
  118. package/skills/remotion-best-practices/remotion-multimedia/agents/openai.yaml +7 -0
  119. package/skills/remotion-best-practices/remotion-multimedia/assets/remotion-icon.png +0 -0
  120. package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-audio-duration.md +1 -3
  121. package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-dimensions.md +1 -3
  122. package/skills/{remotion/rules → remotion-best-practices/remotion-multimedia}/get-video-duration.md +1 -3
  123. package/skills/remotion-best-practices/remotion-render/SKILL.md +27 -0
  124. package/skills/remotion-best-practices/remotion-render/agents/openai.yaml +7 -0
  125. package/skills/remotion-best-practices/remotion-render/assets/remotion-icon.png +0 -0
  126. package/skills/remotion-best-practices/remotion-saas/SKILL.md +33 -0
  127. package/skills/remotion-best-practices/remotion-saas/agents/openai.yaml +7 -0
  128. package/skills/remotion-best-practices/remotion-saas/assets/remotion-icon.png +0 -0
  129. package/skills/remotion-best-practices/remotion-saas/framework.md +21 -0
  130. package/skills/remotion-best-practices/remotion-saas/player.md +33 -0
  131. package/skills/remotion-best-practices/remotion-saas/rendering.md +69 -0
  132. package/skills/remotion-best-practices/remotion-studio/SKILL.md +24 -0
  133. package/skills/remotion-best-practices/remotion-studio/agents/openai.yaml +7 -0
  134. package/skills/remotion-best-practices/remotion-studio/assets/remotion-icon.png +0 -0
  135. package/skills/remotion-best-practices/remotion-upgrade/SKILL.md +31 -0
  136. package/skills/remotion-best-practices/remotion-upgrade/agents/openai.yaml +7 -0
  137. package/skills/remotion-best-practices/remotion-upgrade/assets/remotion-icon.png +0 -0
  138. package/skills/remotion-captions/SKILL.md +36 -0
  139. package/skills/remotion-captions/agents/openai.yaml +7 -0
  140. package/skills/remotion-captions/assets/remotion-icon.png +0 -0
  141. package/skills/remotion-captions/display-captions.md +190 -0
  142. package/skills/remotion-captions/import-srt-captions.md +73 -0
  143. package/skills/remotion-captions/transcribe-captions.md +70 -0
  144. package/skills/remotion-create/SKILL.md +68 -0
  145. package/skills/remotion-create/agents/openai.yaml +7 -0
  146. package/skills/remotion-create/assets/remotion-icon.png +0 -0
  147. package/skills/remotion-create/tailwind.md +11 -0
  148. package/skills/remotion-create/video-layout.md +9 -0
  149. package/skills/remotion-docs/SKILL.md +46 -0
  150. package/skills/remotion-docs/agents/openai.yaml +7 -0
  151. package/skills/remotion-docs/assets/remotion-icon.png +0 -0
  152. package/skills/remotion-interactivity/SKILL.md +247 -0
  153. package/skills/remotion-interactivity/agents/openai.yaml +7 -0
  154. package/skills/remotion-interactivity/assets/remotion-icon.png +0 -0
  155. package/skills/remotion-maps/SKILL.md +36 -0
  156. package/skills/remotion-maps/agents/openai.yaml +7 -0
  157. package/skills/remotion-maps/assets/remotion-icon.png +0 -0
  158. package/skills/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  159. package/skills/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  160. package/skills/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  161. package/skills/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  162. package/skills/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  163. package/skills/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  164. package/skills/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  165. package/skills/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  166. package/skills/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  167. package/skills/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  168. package/skills/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  169. package/skills/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  170. package/skills/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  171. package/skills/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  172. package/skills/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  173. package/skills/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  174. package/skills/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  175. package/skills/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  176. package/skills/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  177. package/skills/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  178. package/skills/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  179. package/skills/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  180. package/skills/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  181. package/skills/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  182. package/skills/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  183. package/skills/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  184. package/skills/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  185. package/skills/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  186. package/skills/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  187. package/skills/remotion-markup/3d.md +86 -0
  188. package/skills/remotion-markup/SKILL.md +365 -0
  189. package/skills/remotion-markup/agents/openai.yaml +7 -0
  190. package/skills/remotion-markup/assets/remotion-icon.png +0 -0
  191. package/skills/remotion-markup/audio-visualization.md +198 -0
  192. package/skills/remotion-markup/audio.md +171 -0
  193. package/skills/remotion-markup/calculate-metadata.md +136 -0
  194. package/skills/remotion-markup/compositions.md +117 -0
  195. package/skills/remotion-markup/cropping.md +34 -0
  196. package/skills/remotion-markup/effects.md +251 -0
  197. package/skills/remotion-markup/embedding-videos.md +173 -0
  198. package/skills/remotion-markup/ffmpeg.md +38 -0
  199. package/skills/remotion-markup/gifs.md +187 -0
  200. package/skills/remotion-markup/google-fonts.md +76 -0
  201. package/skills/remotion-markup/html-in-canvas.md +128 -0
  202. package/skills/remotion-markup/images.md +73 -0
  203. package/skills/remotion-markup/light-leaks.md +106 -0
  204. package/skills/remotion-markup/local-fonts.md +69 -0
  205. package/skills/remotion-markup/lottie.md +73 -0
  206. package/skills/remotion-markup/measuring-dom-nodes.md +38 -0
  207. package/skills/remotion-markup/measuring-text.md +146 -0
  208. package/skills/remotion-markup/multi-scene-video.md +81 -0
  209. package/skills/remotion-markup/parameters.md +111 -0
  210. package/skills/remotion-markup/remotion-maps/SKILL.md +36 -0
  211. package/skills/remotion-markup/remotion-maps/agents/openai.yaml +7 -0
  212. package/skills/remotion-markup/remotion-maps/assets/remotion-icon.png +0 -0
  213. package/skills/remotion-markup/remotion-maps/techniques/cesium/TECHNIQUE.md +89 -0
  214. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/CesiumFlythrough.tsx +284 -0
  215. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/cesium-path.json +299 -0
  216. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/city-path.json +12 -0
  217. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/example-Root.tsx +39 -0
  218. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/flight-path.ts +35 -0
  219. package/skills/remotion-markup/remotion-maps/techniques/cesium/assets/sample-river.geojson +215 -0
  220. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-data-sources.md +43 -0
  221. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-flyover-architecture.md +128 -0
  222. package/skills/remotion-markup/remotion-maps/techniques/cesium/references/3d-troubleshooting.md +57 -0
  223. package/skills/remotion-markup/remotion-maps/techniques/cesium/scripts/prep-cesium-path.mjs +161 -0
  224. package/skills/remotion-markup/remotion-maps/techniques/mapbox/TECHNIQUE.md +449 -0
  225. package/skills/remotion-markup/remotion-maps/techniques/mapbox/references/render-stability.md +64 -0
  226. package/skills/remotion-markup/remotion-maps/techniques/maplibre/TECHNIQUE.md +465 -0
  227. package/skills/remotion-markup/remotion-maps/techniques/maplibre/references/render-stability.md +64 -0
  228. package/skills/remotion-markup/remotion-maps/techniques/maptiler/TECHNIQUE.md +80 -0
  229. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/CountryLabel.tsx +70 -0
  230. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/MapTilerVectorElement.ts +80 -0
  231. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/RiverReveal.tsx +363 -0
  232. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/example-Root.tsx +22 -0
  233. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/country-meta.json +7535 -0
  234. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/sample-data/yarlung-flow.json +605 -0
  235. package/skills/remotion-markup/remotion-maps/techniques/maptiler/assets/tokens.ts +34 -0
  236. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-data-sources.md +91 -0
  237. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-explainer-architecture.md +129 -0
  238. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/map-geo-prep.md +85 -0
  239. package/skills/remotion-markup/remotion-maps/techniques/maptiler/references/render-stability.md +64 -0
  240. package/skills/remotion-markup/remotion-maps/techniques/maptiler/scripts/prep-geo.mjs +202 -0
  241. package/skills/remotion-markup/remotion-maps/techniques/static-map/TECHNIQUE.md +37 -0
  242. package/skills/remotion-markup/sequencing.md +169 -0
  243. package/skills/remotion-markup/sfx.md +51 -0
  244. package/skills/remotion-markup/silence-detection.md +71 -0
  245. package/skills/remotion-markup/text-highlights.md +56 -0
  246. package/skills/remotion-markup/timing.md +111 -0
  247. package/skills/remotion-markup/transitions.md +239 -0
  248. package/skills/remotion-markup/video-editing.md +90 -0
  249. package/skills/remotion-markup/voiceover.md +99 -0
  250. package/skills/remotion-multimedia/SKILL.md +20 -0
  251. package/skills/remotion-multimedia/agents/openai.yaml +7 -0
  252. package/skills/remotion-multimedia/assets/remotion-icon.png +0 -0
  253. package/skills/remotion-multimedia/get-audio-duration.md +56 -0
  254. package/skills/remotion-multimedia/get-video-dimensions.md +66 -0
  255. package/skills/remotion-multimedia/get-video-duration.md +58 -0
  256. package/skills/remotion-render/SKILL.md +27 -0
  257. package/skills/remotion-render/agents/openai.yaml +7 -0
  258. package/skills/remotion-render/assets/remotion-icon.png +0 -0
  259. package/skills/remotion-render/transparent-videos.md +106 -0
  260. package/skills/remotion-saas/SKILL.md +33 -0
  261. package/skills/remotion-saas/agents/openai.yaml +7 -0
  262. package/skills/remotion-saas/assets/remotion-icon.png +0 -0
  263. package/skills/remotion-saas/framework.md +21 -0
  264. package/skills/remotion-saas/player.md +33 -0
  265. package/skills/remotion-saas/rendering.md +69 -0
  266. package/skills/remotion-studio/SKILL.md +24 -0
  267. package/skills/remotion-studio/agents/openai.yaml +7 -0
  268. package/skills/remotion-studio/assets/remotion-icon.png +0 -0
  269. package/skills/remotion-upgrade/SKILL.md +31 -0
  270. package/skills/remotion-upgrade/agents/openai.yaml +7 -0
  271. package/skills/remotion-upgrade/assets/remotion-icon.png +0 -0
  272. package/skills/remotion/SKILL.md +0 -95
  273. package/skills/remotion/rules/animations.md +0 -31
  274. package/skills/remotion/rules/assets.md +0 -78
  275. package/skills/remotion/rules/can-decode.md +0 -81
  276. package/skills/remotion/rules/charts.md +0 -120
  277. package/skills/remotion/rules/compositions.md +0 -154
  278. package/skills/remotion/rules/extract-frames.md +0 -229
  279. package/skills/remotion/rules/fonts.md +0 -152
  280. package/skills/remotion/rules/images.md +0 -134
  281. package/skills/remotion/rules/light-leaks.md +0 -73
  282. package/skills/remotion/rules/maps.md +0 -412
  283. package/skills/remotion/rules/sfx.md +0 -30
  284. package/skills/remotion/rules/subtitles.md +0 -36
  285. package/skills/remotion/rules/text-animations.md +0 -20
  286. package/skills/remotion/rules/timing.md +0 -136
  287. package/skills/remotion/rules/trimming.md +0 -51
  288. /package/skills/{remotion/rules → remotion-best-practices/remotion-captions}/transcribe-captions.md +0 -0
  289. /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/3d.md +0 -0
  290. /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/audio-visualization.md +0 -0
  291. /package/skills/{remotion/rules → remotion-best-practices/remotion-markup}/silence-detection.md +0 -0
  292. /package/skills/{remotion/rules → remotion-best-practices/remotion-render}/transparent-videos.md +0 -0
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: remotion-upgrade
3
+ description: Upgrade Remotion, and related packages
4
+ version: 4.0.519
5
+ ---
6
+
7
+ # Upgrade Remotion
8
+
9
+ 1. Inspect the project manifests and lockfile to identify the package manager and workspaces. Preserve unrelated changes.
10
+ 2. Determine whether `@remotion/cli` is locally available. If it is, run:
11
+
12
+ ```bash
13
+ npx remotion upgrade
14
+ ```
15
+
16
+ This also updates project-local Remotion skills. Skip the manual upgrade below.
17
+
18
+ 3. If `@remotion/cli` is not available, upgrade manually:
19
+ - Get the latest stable Remotion version with `npm view remotion version`.
20
+ - Find every installed `remotion` and `@remotion/*` dependency across the project and upgrade them all to that exact version. Preserve their dependency sections and the project's workspace or catalog conventions.
21
+ - Read the current [Mediabunny compatibility page](https://www.remotion.dev/docs/mediabunny/version) and determine the Mediabunny version compatible with the target Remotion version. Upgrade every installed `mediabunny` and `@mediabunny/*` package to the documented compatible version.
22
+ - Run the project's package manager to update its lockfile.
23
+ 4. If `@remotion/cli` is not available, update the installed Remotion skills:
24
+
25
+ ```bash
26
+ npx skills update remotion-best-practices remotion-captions remotion-create remotion-docs remotion-interactivity remotion-maps remotion-markup remotion-multimedia remotion-render remotion-saas remotion-studio remotion-upgrade --yes
27
+ ```
28
+
29
+ 5. Review the manifest and lockfile diff. Ensure all Remotion packages use one version and all installed Mediabunny packages use the compatible version. If the CLI is available, run `npx remotion versions` as an additional check.
30
+
31
+ The [Remotion releases](https://github.com/remotion-dev/remotion/releases) contain the changelog and may be useful for summarizing relevant changes after the upgrade.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: '/remotion-upgrade'
3
+ short_description: 'Upgrade Remotion and related dependencies'
4
+ icon_small: './assets/remotion-icon.png'
5
+ icon_large: './assets/remotion-icon.png'
6
+ brand_color: '#0B84F3'
7
+ default_prompt: '$remotion-upgrade: Upgrade my project.'
@@ -0,0 +1,36 @@
1
+ ---
2
+ name: remotion-captions
3
+ description: Transcribing, displaying and animating captions
4
+ version: 4.0.519
5
+ ---
6
+
7
+ All captions must be processed in JSON. The captions must use the [`Caption`](https://www.remotion.dev/docs/captions/caption.md) type which is the following:
8
+
9
+ ```ts
10
+ import type { Caption } from "@remotion/captions";
11
+ ```
12
+
13
+ This is the definition:
14
+
15
+ ```ts
16
+ type Caption = {
17
+ text: string;
18
+ startMs: number;
19
+ endMs: number;
20
+ timestampMs: number | null;
21
+ confidence: number | null;
22
+ pageBreakAfter?: boolean;
23
+ };
24
+ ```
25
+
26
+ ## Generating captions
27
+
28
+ To transcribe video and audio files to generate captions, load the [transcribe-captions.md](transcribe-captions.md) file for more instructions.
29
+
30
+ ## Displaying captions
31
+
32
+ To display captions in your video, load the [display-captions.md](display-captions.md) file for more instructions.
33
+
34
+ ## Importing captions
35
+
36
+ To import captions from a .srt file, load the [import-srt-captions.md](import-srt-captions.md) file for more instructions.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: '/remotion-captions'
3
+ short_description: 'Transcribe, display, and animate captions'
4
+ icon_small: './assets/remotion-icon.png'
5
+ icon_large: './assets/remotion-icon.png'
6
+ brand_color: '#0B84F3'
7
+ default_prompt: '$remotion-captions: Transcribe my video and display captions'
@@ -0,0 +1,190 @@
1
+ ---
2
+ name: display-captions
3
+ description: Displaying captions in Remotion with TikTok-style pages and word highlighting
4
+ metadata:
5
+ tags: captions, subtitles, display, tiktok, highlight
6
+ ---
7
+
8
+ # Displaying captions in Remotion
9
+
10
+ This guide explains how to display captions in Remotion, assuming you already have captions in the [`Caption`](https://www.remotion.dev/docs/captions/caption) format.
11
+
12
+ ## Prerequisites
13
+
14
+ Read [Transcribing audio](transcribe-captions.md) for how to generate captions.
15
+
16
+ First, the [`@remotion/captions`](https://www.remotion.dev/docs/captions) package needs to be installed.
17
+ If it is not installed, use the following command:
18
+
19
+ ```bash
20
+ npx remotion add @remotion/captions
21
+ ```
22
+
23
+ ## Fetching captions
24
+
25
+ First, fetch your captions JSON file. Use [`useDelayRender()`](https://www.remotion.dev/docs/use-delay-render) to hold the render until the captions are loaded:
26
+
27
+ ```tsx
28
+ import { useState, useEffect, useCallback } from "react";
29
+ import { AbsoluteFill, staticFile, useDelayRender } from "remotion";
30
+ import type { Caption } from "@remotion/captions";
31
+
32
+ export const MyComponent: React.FC = () => {
33
+ const [captions, setCaptions] = useState<Caption[] | null>(null);
34
+ const { delayRender, continueRender, cancelRender } = useDelayRender();
35
+ const [handle] = useState(() => delayRender());
36
+
37
+ const fetchCaptions = useCallback(async () => {
38
+ try {
39
+ // Assuming captions.json is in the public/ folder.
40
+ const response = await fetch(staticFile("captions123.json"));
41
+ const data = await response.json();
42
+ setCaptions(data);
43
+ continueRender(handle);
44
+ } catch (e) {
45
+ cancelRender(e);
46
+ }
47
+ }, [continueRender, cancelRender, handle]);
48
+
49
+ useEffect(() => {
50
+ fetchCaptions();
51
+ }, [fetchCaptions]);
52
+
53
+ if (!captions) {
54
+ return null;
55
+ }
56
+
57
+ return (
58
+ <AbsoluteFill>
59
+ {/* Render captions here */}
60
+ </AbsoluteFill>
61
+ );
62
+ };
63
+ ```
64
+
65
+ ## Creating pages
66
+
67
+ Use `createTikTokStyleCaptions()` to group captions into pages. The `combineTokensWithinMilliseconds` option controls how many words appear at once:
68
+
69
+ ```tsx
70
+ import { useMemo } from "react";
71
+ import { createTikTokStyleCaptions } from "@remotion/captions";
72
+ import type { Caption } from "@remotion/captions";
73
+
74
+ // How often captions should switch (in milliseconds)
75
+ // Higher values = more words per page
76
+ // Lower values = fewer words (more word-by-word)
77
+ const SWITCH_CAPTIONS_EVERY_MS = 1200;
78
+
79
+ const { pages } = useMemo(() => {
80
+ return createTikTokStyleCaptions({
81
+ captions,
82
+ combineTokensWithinMilliseconds: SWITCH_CAPTIONS_EVERY_MS,
83
+ });
84
+ }, [captions]);
85
+ ```
86
+
87
+ If a caption has `pageBreakAfter: true`, the current page ends after that caption and the next caption starts a new page.
88
+
89
+ ## Rendering with Sequences
90
+
91
+ Map over the pages and render each one in a `<Sequence>`. Calculate the start frame and duration from the page timing:
92
+
93
+ ```tsx
94
+ import { Sequence, useVideoConfig, AbsoluteFill } from "remotion";
95
+ import type { TikTokPage } from "@remotion/captions";
96
+
97
+ const CaptionedContent: React.FC = () => {
98
+ const { fps } = useVideoConfig();
99
+
100
+ return (
101
+ <AbsoluteFill>
102
+ {pages.map((page, index) => {
103
+ const nextPage = pages[index + 1] ?? null;
104
+ const startFrame = (page.startMs / 1000) * fps;
105
+ const endFrame = Math.min(
106
+ nextPage ? (nextPage.startMs / 1000) * fps : Infinity,
107
+ startFrame + (SWITCH_CAPTIONS_EVERY_MS / 1000) * fps,
108
+ );
109
+ const durationInFrames = endFrame - startFrame;
110
+
111
+ if (durationInFrames <= 0) {
112
+ return null;
113
+ }
114
+
115
+ return (
116
+ <Sequence
117
+ key={index}
118
+ from={startFrame}
119
+ durationInFrames={durationInFrames}
120
+ >
121
+ <CaptionPage page={page} />
122
+ </Sequence>
123
+ );
124
+ })}
125
+ </AbsoluteFill>
126
+ );
127
+ };
128
+ ```
129
+
130
+ ## White-space preservation
131
+
132
+ The captions are whitespace sensitive. You should include spaces in the `text` field before each word. Use `whiteSpace: "pre"` to preserve the whitespace in the captions.
133
+
134
+ ## Separate component for captions
135
+
136
+ Put captioning logic in a separate component.
137
+ Make a new file for it.
138
+
139
+ ## Word highlighting
140
+
141
+ A caption page contains `tokens` which you can use to highlight the currently spoken word:
142
+
143
+ ```tsx
144
+ import { AbsoluteFill, useCurrentFrame, useVideoConfig } from "remotion";
145
+ import type { TikTokPage } from "@remotion/captions";
146
+
147
+ const HIGHLIGHT_COLOR = "#39E508";
148
+
149
+ const CaptionPage: React.FC<{ page: TikTokPage }> = ({ page }) => {
150
+ const frame = useCurrentFrame();
151
+ const { fps } = useVideoConfig();
152
+
153
+ // Current time relative to the start of the sequence
154
+ const currentTimeMs = (frame / fps) * 1000;
155
+ // Convert to absolute time by adding the page start
156
+ const absoluteTimeMs = page.startMs + currentTimeMs;
157
+
158
+ return (
159
+ <AbsoluteFill style={{ justifyContent: "center", alignItems: "center" }}>
160
+ <div style={{ fontSize: 80, fontWeight: "bold", whiteSpace: "pre" }}>
161
+ {page.tokens.map((token, tokenIndex) => {
162
+ const isActive =
163
+ token.fromMs <= absoluteTimeMs && token.toMs > absoluteTimeMs;
164
+
165
+ return (
166
+ <span
167
+ key={`${token.fromMs}-${tokenIndex}`}
168
+ style={{ color: isActive ? HIGHLIGHT_COLOR : "white" }}
169
+ >
170
+ {token.text}
171
+ </span>
172
+ );
173
+ })}
174
+ </div>
175
+ </AbsoluteFill>
176
+ );
177
+ };
178
+ ```
179
+
180
+ ## Display captions alongside video content
181
+
182
+ By default, put the captions alongside the video content, so the captions are in sync.
183
+ For each video, make a new captions JSON file.
184
+
185
+ ```tsx
186
+ <AbsoluteFill>
187
+ <Video src={staticFile("video.mp4")} />
188
+ <CaptionPage page={page} />
189
+ </AbsoluteFill>
190
+ ```
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: import-srt-captions
3
+ description: Importing .srt subtitle files into Remotion using @remotion/captions
4
+ metadata:
5
+ tags: captions, subtitles, srt, import, parse
6
+ ---
7
+
8
+ # Importing .srt subtitles into Remotion
9
+
10
+ If you have an existing `.srt` subtitle file, you can import it into Remotion using `parseSrt()` from `@remotion/captions`.
11
+
12
+ If you don't have a .srt file, read [Transcribing audio](transcribe-captions.md) for how to generate captions instead.
13
+
14
+ ## Prerequisites
15
+
16
+ First, the @remotion/captions package needs to be installed.
17
+ If it is not installed, use the following command:
18
+
19
+ ```bash
20
+ npx remotion add @remotion/captions # If project uses npm
21
+ bunx remotion add @remotion/captions # If project uses bun
22
+ yarn remotion add @remotion/captions # If project uses yarn
23
+ pnpm exec remotion add @remotion/captions # If project uses pnpm
24
+ ```
25
+
26
+ ## Reading an .srt file
27
+
28
+ Use `staticFile()` to reference an `.srt` file in your `public` folder, then fetch and parse it:
29
+
30
+ ```tsx
31
+ import { useState, useEffect, useCallback } from "react";
32
+ import { AbsoluteFill, staticFile, useDelayRender } from "remotion";
33
+ import { parseSrt } from "@remotion/captions";
34
+ import type { Caption } from "@remotion/captions";
35
+
36
+ export const MyComponent: React.FC = () => {
37
+ const [captions, setCaptions] = useState<Caption[] | null>(null);
38
+ const { delayRender, continueRender, cancelRender } = useDelayRender();
39
+ const [handle] = useState(() => delayRender());
40
+
41
+ const fetchCaptions = useCallback(async () => {
42
+ try {
43
+ const response = await fetch(staticFile("subtitles.srt"));
44
+ const text = await response.text();
45
+ const { captions: parsed } = parseSrt({ input: text });
46
+ setCaptions(parsed);
47
+ continueRender(handle);
48
+ } catch (e) {
49
+ cancelRender(e);
50
+ }
51
+ }, [continueRender, cancelRender, handle]);
52
+
53
+ useEffect(() => {
54
+ fetchCaptions();
55
+ }, [fetchCaptions]);
56
+
57
+ if (!captions) {
58
+ return null;
59
+ }
60
+
61
+ return (
62
+ <AbsoluteFill>
63
+ {/* Use captions here */}
64
+ </AbsoluteFill>
65
+ );
66
+ };
67
+ ```
68
+
69
+ Remote URLs are also supported - you can `fetch()` a remote file via URL instead of using `staticFile()`.
70
+
71
+ ## Using imported captions
72
+
73
+ Once parsed, the captions are in the `Caption` format and can be used with all `@remotion/captions` utilities.
@@ -0,0 +1,70 @@
1
+ ---
2
+ name: transcribe-captions
3
+ description: Transcribing audio to generate captions in Remotion
4
+ metadata:
5
+ tags: captions, transcribe, whisper, audio, speech-to-text
6
+ ---
7
+
8
+ # Transcribing audio
9
+
10
+ To transcribe audio to generate captions in Remotion, you can use the [`transcribe()`](https://www.remotion.dev/docs/install-whisper-cpp/transcribe) function from the [`@remotion/install-whisper-cpp`](https://www.remotion.dev/docs/install-whisper-cpp) package.
11
+
12
+ ## Prerequisites
13
+
14
+ First, the @remotion/install-whisper-cpp package needs to be installed.
15
+ If it is not installed, use the following command:
16
+
17
+ ```bash
18
+ npx remotion add @remotion/install-whisper-cpp
19
+ ```
20
+
21
+ ## Transcribing
22
+
23
+ Make a Node.js script to download Whisper.cpp and a model, and transcribe the audio.
24
+
25
+ ```ts
26
+ import path from "path";
27
+ import {
28
+ downloadWhisperModel,
29
+ installWhisperCpp,
30
+ transcribe,
31
+ toCaptions,
32
+ } from "@remotion/install-whisper-cpp";
33
+ import fs from "fs";
34
+
35
+ const to = path.join(process.cwd(), "whisper.cpp");
36
+
37
+ await installWhisperCpp({
38
+ to,
39
+ version: "1.5.5",
40
+ });
41
+
42
+ await downloadWhisperModel({
43
+ model: "medium.en",
44
+ folder: to,
45
+ });
46
+
47
+ // Convert the audio to a 16KHz wav file first if needed:
48
+ // import {execSync} from 'child_process';
49
+ // execSync('ffmpeg -i /path/to/audio.mp4 -ar 16000 /path/to/audio.wav -y');
50
+
51
+ const whisperCppOutput = await transcribe({
52
+ model: "medium.en",
53
+ whisperPath: to,
54
+ whisperCppVersion: "1.5.5",
55
+ inputPath: "/path/to/audio123.wav",
56
+ tokenLevelTimestamps: true,
57
+ });
58
+
59
+ // Optional: Apply our recommended postprocessing
60
+ const { captions } = toCaptions({
61
+ whisperCppOutput,
62
+ });
63
+
64
+ // Write it to the public/ folder so it can be fetched from Remotion
65
+ fs.writeFileSync("captions123.json", JSON.stringify(captions, null, 2));
66
+ ```
67
+
68
+ Transcribe each clip individually and create multiple JSON files.
69
+
70
+ See [Displaying captions](display-captions.md) for how to display the captions in Remotion.
@@ -0,0 +1,68 @@
1
+ ---
2
+ name: remotion-create
3
+ description: Create a new Remotion video
4
+ version: 4.0.519
5
+ ---
6
+
7
+ These are instructions for making a new Remotion project and composition.
8
+ If this is not the next task, see [Remotion Best Practices](../remotion-best-practices/SKILL.md)
9
+
10
+ ## Scaffold a project
11
+
12
+ If a project already exists, skip this.
13
+ Ensure Node.js and Git is installed, and the current folder is appropriate for starting a new project.
14
+
15
+ Scaffold one using:
16
+
17
+ ```bash
18
+ npx create-video@latest --yes --blank --no-tailwind my-video
19
+ cd my-video
20
+ npm i
21
+ ```
22
+
23
+ Replace `my-video` with a suitable project name.
24
+
25
+ ## Designing a video
26
+
27
+ Keep the scaffold and add React Markup.
28
+ Follow [Remotion React Markup Best Practices](../remotion-markup/SKILL.md) and [Video Layout Rules](video-layout.md) for video-first layout and text sizing guidance.
29
+
30
+ ## Is this a multi-scene video?
31
+
32
+ If this is a video with multiple subsequence videos, follow guidance at [Multi-scene videos](../remotion-markup/multi-scene-video.md).
33
+
34
+ ## Interactivity Best Practices
35
+
36
+ By structuring the React Markup following [Remotion Interactivity Best Practices](../remotion-interactivity/SKILL.md), you allow the user to make edits in the Studio which write back to code.
37
+
38
+ ## TailwindCSS
39
+
40
+ If Tailwind is requested, see [tailwind.md](tailwind.md) for using TailwindCSS in Remotion.
41
+
42
+ ## Open the preview
43
+
44
+ Start the preview server after building the composition:
45
+
46
+ ```bash
47
+ npx remotion studio --no-open
48
+ ```
49
+
50
+ This will start a long-running process and print the server URL for the preview.
51
+ If the server is already started, it will print the URL.
52
+ If an in-harness browser is available, open it there.
53
+ You can visit a specific composition by navigating to `/[composition-id]`, for example `http://localhost:3000/MapAnimation`.
54
+
55
+ ## Render the video
56
+
57
+ Only render if the user explicitly asks for it.
58
+
59
+ ```
60
+ npx remotion render
61
+ ```
62
+
63
+ For more options, see [Rendering](../remotion-render/SKILL.md).
64
+
65
+ ## Follow-up
66
+
67
+ The video creation process has finished.
68
+ For follow-up prompts, use [Remotion Best Practices](../remotion-best-practices/SKILL.md)
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: '/remotion-create'
3
+ short_description: 'Create a new Remotion video project'
4
+ icon_small: './assets/remotion-icon.png'
5
+ icon_large: './assets/remotion-icon.png'
6
+ brand_color: '#0B84F3'
7
+ default_prompt: '$remotion-create: Create a Remotion video and make a promo for my product'
@@ -0,0 +1,11 @@
1
+ ---
2
+ name: tailwind
3
+ description: Using TailwindCSS in Remotion.
4
+ metadata:
5
+ ---
6
+
7
+ You can and should use TailwindCSS in Remotion, if TailwindCSS is installed in the project.
8
+
9
+ Don't use `transition-*` or `animate-*` classes - always animate using the `useCurrentFrame()` hook.
10
+
11
+ Tailwind must be installed and enabled first in a Remotion project - see https://www.remotion.dev/docs/tailwind.
@@ -0,0 +1,9 @@
1
+ You are designing a video, not a webpage.
2
+
3
+ - Decide what the viewer should notice first in each scene. Build the frame around that one thing.
4
+ - Keep important content inside a generous safe area. For 1080px-wide videos, keep key text at least 80px from the sides and 100px from the top and bottom.
5
+ - Do not add redundant elements.
6
+ - For 1080px-wide compositions, use these rough minimums:
7
+ - Main headline: 84px
8
+ - Important supporting text: 44px
9
+ - Scale those values with the composition width.
@@ -0,0 +1,46 @@
1
+ ---
2
+ name: remotion-docs
3
+ description: Search Remotion documentation
4
+ version: 4.0.519
5
+ ---
6
+
7
+ This skill teaches you how to discover and read current Remotion documentation.
8
+ If this is not relevant, load [Remotion Best Practices](../remotion-best-practices/SKILL.md) instead.
9
+
10
+ ## Searching the docs
11
+
12
+ Use the Algolia search API to find relevant documentation pages:
13
+
14
+ ```
15
+ POST https://plsduol1ca-dsn.algolia.net/1/indexes/*/queries?x-algolia-api-key=3e42dbd4f895fe93ff5cf40d860c4a85&x-algolia-application-id=PLSDUOL1CA
16
+ Content-Type: application/x-www-form-urlencoded
17
+
18
+ {
19
+ "requests": [
20
+ {
21
+ "query": "<your search query>",
22
+ "indexName": "remotion",
23
+ "params": "attributesToRetrieve=[\"hierarchy.lvl0\",\"hierarchy.lvl1\",\"hierarchy.lvl2\",\"url\"]&hitsPerPage=10"
24
+ }
25
+ ]
26
+ }
27
+ ```
28
+
29
+ Each hit contains a `url` field pointing to the documentation page.
30
+
31
+ ## Fetching a page as Markdown
32
+
33
+ Append `.md` to any Remotion docs URL to retrieve its Markdown source (saves tokens):
34
+
35
+ ```
36
+ https://www.remotion.dev/docs/use-video-config.md
37
+ https://www.remotion.dev/docs/sequence.md
38
+ https://www.remotion.dev/docs/lambda/rendermediaonlambda.md
39
+ ```
40
+
41
+ ## Workflow
42
+
43
+ 1. Search Algolia for the concept or API you need.
44
+ 2. Pick the most relevant URL(s) from the results.
45
+ 3. Fetch each URL with the `.md` suffix.
46
+ 4. Implement using the current documentation rather than memorized API knowledge.
@@ -0,0 +1,7 @@
1
+ interface:
2
+ display_name: '/remotion-docs'
3
+ short_description: 'Search current Remotion documentation'
4
+ icon_small: './assets/remotion-icon.png'
5
+ icon_large: './assets/remotion-icon.png'
6
+ brand_color: '#0B84F3'
7
+ default_prompt: '$remotion-docs: What server-side rendering options does Remotion have?'