[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D225TZY3K6C6Q3H03BFCMB":3,"skill-same:01M6D225TZY3K6C6Q3H03BFCMB":67},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":49,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6D225TZY3K6C6Q3H03BFCMB","motion-video",null,"Rendering a finished video file (an MP4) from code, when the user asks for a motion graphic, an explainer, an animated logo or a social clip as a video, not a web animation. Draw every frame with Pillow and NumPy, synthesise the sound from formulas, and pipe both to ffmpeg, using only what is already installed so the user installs and records nothing. Read before reaching for After Effects, a webview recording or a stock audio search.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fmotion-video\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"motion video","Video","motion","read","ffmpeg","stock","numpy","social","pipe","only","clip","web","mp4","explainer","logo","Audio","Animation","file","search","code","2026-11-10 10:12:30",false,"---\nname: motion-video\ndescription: \"Rendering a finished video file (an MP4) from code, when the user asks for a motion graphic, an explainer, an animated logo or a social clip as a video, not a web animation. Draw every frame with Pillow and NumPy, synthesise the sound from formulas, and pipe both to ffmpeg, using only what is already installed so the user installs and records nothing. Read before reaching for After Effects, a webview recording or a stock audio search.\"\n---\n\n# Rendering a video from code\n\nA request for a video as a file (\"make me a 30-second explainer\", \"an animated\nlogo as an MP4\", \"a motion graphic for this feature\") does not need video\nsoftware, a browser to screen-record, or stock footage and sound. A video is a\nrun of still images played fast plus one audio track, and both can be computed.\nDraw each frame, synthesise the sound, and let ffmpeg join them. The user\ninstalls nothing and records nothing.\n\nThis is the default for a video **file**. For animation that lives in a web\npage (scroll reveals, a component's states, a hero demo on a site), use the\n`motion` family instead; this skill is for an exported `.mp4`.\n\n## Decide the approach, then say it in one line\n\nCheck what is on the machine before choosing a tool, and never make the user\ninstall or record anything:\n\n- **Default: Python + ffmpeg.** `ffmpeg` on PATH, Python with Pillow (draw)\n  and NumPy (numbers). This needs nothing else and is the path below. Confirm\n  with `ffmpeg -version`, `python3 -c \"import PIL, numpy\"`.\n- **Remotion** only when the project is already React\u002FNode and the user wants\n  the video defined there; it still needs Node and an install, so it is not the\n  default.\n- **Manim** for mathematical or diagram-heavy explainers, if it is installed.\n\nIf Pillow or NumPy is missing, install only that (`pip install pillow numpy`),\nsay so, and go on. Never answer a video request with \"record it yourself\",\n\"open After Effects\", or \"find a stock track\".\n\n## 1. The schedule is one source of truth\n\nBefore any drawing, write the timeline as numbers in one place that both the\npicture and the sound import: fps (30), the total frames (`seconds * fps`), and\nevery scene's start and duration in seconds. Picture and sound read the same\nschedule, so a sound lands on the exact frame its event is drawn. Never write\none timeline for the video and another for the audio.\n\n## 2. Draw each frame as a function of time (render.py)\n\nOne function `render(i) -> Image` takes a frame number and returns one image:\n\n1. `t = i \u002F FPS`, so frame 450 at 30 fps is second 15.\n2. Paste a background made once and copied into every frame (a dark fill, a\n   vignette, a dot grid).\n3. Pick the active scene from `t` and draw its elements: rounded rectangles,\n   circles, polygons, text.\n4. Draw the caption last, over everything.\n\nMovement is recomputed, not stored. Nothing is a moving object; at each frame a\nposition is derived from the time:\n\n- A progress `p` in `0..1` over a window: `p = clamp((t - start) \u002F dur, 0, 1)`.\n- Easing shapes it: ease-out (slows into the end), ease-out-back (overshoots\n  then settles, the bouncy \"pop\"), a Bezier for a curved path (a packet arcing\n  from one box to another).\n- Fade by blending the element's colour toward the background colour at that\n  spot, which is faster than a real alpha layer and leaves no dark halo.\n\nRender each frame at 2x (for 1080p, draw at 4K) and downscale to the target\nsize, so edges are anti-aliased and smooth.\n\n## 3. Synthesise the sound (audio.py)\n\nGenerate the audio from formulas as sample arrays (44100 per second); download\nnothing. Use an external or open-source file only when the user supplies one or\nasks for it by name, and say what you used.\n\n- **Pop**: a sine whose pitch falls fast (about 950 to 260 Hz) with a decaying\n  envelope.\n- **Key click**: a very short (about 30 ms) burst of noise.\n- **Ding**: a few harmonic sines, bell-like, decaying slowly.\n- **Buzz \u002F miss**: a filtered square wave around 100 Hz.\n- **Whoosh**: white noise through a sweeping filter, volume up then down.\n- **Boom**: a falling bass sine plus a little noise.\n- **Music** (optional): a chord progression at a set tempo as a pad (slightly\n  detuned left and right for stereo), bass, arpeggio, and a kick and hi-hat,\n  faded in at the start and out at the end.\n\n`audio.py` imports the schedule from `render.py`, so every on-screen event has\nits sound at the same instant; one source, so they cannot drift. Place each\neffect on the timeline, pan some left and right, sum with the music, soft-clip\n(`tanh`) so it never distorts, normalise, and write `audio.wav`.\n\n## 4. Render and encode\n\n- Render frames in parallel across CPU cores (`multiprocessing.Pool`).\n- Send each frame's raw pixels straight to ffmpeg over a pipe; do not write\n  thousands of PNGs to disk.\n- ffmpeg encodes H.264 (CRF 18 for high quality), audio to AAC 192k, and\n  muxes them into the final `.mp4`.\n\nA minute at 1080p renders in roughly a minute on a laptop.\n\n## 5. Check it, because you cannot watch or hear it\n\n- **Before the full render**, draw about 8 sample frames into one contact sheet\n  and look at it. The real problems show up here: a dark halo where something\n  faded (fade target did not match the background at that spot), a label hidden\n  by a moving element, a wrong word in a caption.\n- **After the render**: `ffprobe` confirms the duration, size, fps, and that\n  both a video and an audio stream exist; measure loudness (EBU R128, aim near\n  -16 LUFS for online); pull a few frames from the finished MP4 and look again.\n- You cannot hear the result. Measure its level, and ask the user to play it\n  once to confirm the sound, saying that is the one thing you cannot check.\n\n## Why from code\n\n- Precision: a sound and its frame are computed from the same number, so they\n  are always in sync.\n- Changeable: edit a caption or a duration, run again, and the video rebuilds\n  in about a minute.\n- No rights to clear: every asset (the logo, icons, sound, music) is made from\n  scratch, so there is nothing to license and nothing for the user to find.\n\nThis is programmatic motion graphics; Remotion (React) and Manim (Python, used\nby 3Blue1Brown) are the same idea in other tools.\n","# Rendering a video from code\n\nA request for a video as a file (\"make me a 30-second explainer\", \"an animated\nlogo as an MP4\", \"a motion graphic for this feature\") does not need video\nsoftware, a browser to screen-record, or stock footage and sound. A video is a\nrun of still images played fast plus one audio track, and both can be computed.\nDraw each frame, synthesise the sound, and let ffmpeg join them. The user\ninstalls nothing and records nothing.\n\nThis is the default for a video **file**. For animation that lives in a web\npage (scroll reveals, a component's states, a hero demo on a site), use the\n`motion` family instead; this skill is for an exported `.mp4`.\n\n## Decide the approach, then say it in one line\n\nCheck what is on the machine before choosing a tool, and never make the user\ninstall or record anything:\n\n- **Default: Python + ffmpeg.** `ffmpeg` on PATH, Python with Pillow (draw)\n  and NumPy (numbers). This needs nothing else and is the path below. Confirm\n  with `ffmpeg -version`, `python3 -c \"import PIL, numpy\"`.\n- **Remotion** only when the project is already React\u002FNode and the user wants\n  the video defined there; it still needs Node and an install, so it is not the\n  default.\n- **Manim** for mathematical or diagram-heavy explainers, if it is installed.\n\nIf Pillow or NumPy is missing, install only that (`pip install pillow numpy`),\nsay so, and go on. Never answer a video request with \"record it yourself\",\n\"open After Effects\", or \"find a stock track\".\n\n## 1. The schedule is one source of truth\n\nBefore any drawing, write the timeline as numbers in one place that both the\npicture and the sound import: fps (30), the total frames (`seconds * fps`), and\nevery scene's start and duration in seconds. Picture and sound read the same\nschedule, so a sound lands on the exact frame its event is drawn. Never write\none timeline for the video and another for the audio.\n\n## 2. Draw each frame as a function of time (render.py)\n\nOne function `render(i) -> Image` takes a frame number and returns one image:\n\n1. `t = i \u002F FPS`, so frame 450 at 30 fps is second 15.\n2. Paste a background made once and copied into every frame (a dark fill, a\n   vignette, a dot grid).\n3. Pick the active scene from `t` and draw its elements: rounded rectangles,\n   circles, polygons, text.\n4. Draw the caption last, over everything.\n\nMovement is recomputed, not stored. Nothing is a moving object; at each frame a\nposition is derived from the time:\n\n- A progress `p` in `0..1` over a window: `p = clamp((t - start) \u002F dur, 0, 1)`.\n- Easing shapes it: ease-out (slows into the end), ease-out-back (overshoots\n  then settles, the bouncy \"pop\"), a Bezier for a curved path (a packet arcing\n  from one box to another).\n- Fade by blending the element's colour toward the background colour at that\n  spot, which is faster than a real alpha layer and leaves no dark halo.\n\nRender each frame at 2x (for 1080p, draw at 4K) and downscale to the target\nsize, so edges are anti-aliased and smooth.\n\n## 3. Synthesise the sound (audio.py)\n\nGenerate the audio from formulas as sample arrays (44100 per second); download\nnothing. Use an external or open-source file only when the user supplies one or\nasks for it by name, and say what you used.\n\n- **Pop**: a sine whose pitch falls fast (about 950 to 260 Hz) with a decaying\n  envelope.\n- **Key click**: a very short (about 30 ms) burst of noise.\n- **Ding**: a few harmonic sines, bell-like, decaying slowly.\n- **Buzz \u002F miss**: a filtered square wave around 100 Hz.\n- **Whoosh**: white noise through a sweeping filter, volume up then down.\n- **Boom**: a falling bass sine plus a little noise.\n- **Music** (optional): a chord progression at a set tempo as a pad (slightly\n  detuned left and right for stereo), bass, arpeggio, and a kick and hi-hat,\n  faded in at the start and out at the end.\n\n`audio.py` imports the schedule from `render.py`, so every on-screen event has\nits sound at the same instant; one source, so they cannot drift. Place each\neffect on the timeline, pan some left and right, sum with the music, soft-clip\n(`tanh`) so it never distorts, normalise, and write `audio.wav`.\n\n## 4. Render and encode\n\n- Render frames in parallel across CPU cores (`multiprocessing.Pool`).\n- Send each frame's raw pixels straight to ffmpeg over a pipe; do not write\n  thousands of PNGs to disk.\n- ffmpeg encodes H.264 (CRF 18 for high quality), audio to AAC 192k, and\n  muxes them into the final `.mp4`.\n\nA minute at 1080p renders in roughly a minute on a laptop.\n\n## 5. Check it, because you cannot watch or hear it\n\n- **Before the full render**, draw about 8 sample frames into one contact sheet\n  and look at it. The real problems show up here: a dark halo where something\n  faded (fade target did not match the background at that spot), a label hidden\n  by a moving element, a wrong word in a caption.\n- **After the render**: `ffprobe` confirms the duration, size, fps, and that\n  both a video and an audio stream exist; measure loudness (EBU R128, aim near\n  -16 LUFS for online); pull a few frames from the finished MP4 and look again.\n- You cannot hear the result. Measure its level, and ask the user to play it\n  once to confirm the sound, saying that is the one thing you cannot check.\n\n## Why from code\n\n- Precision: a sound and its frame are computed from the same number, so they\n  are always in sync.\n- Changeable: edit a caption or a duration, run again, and the video rebuilds\n  in about a minute.\n- No rights to clear: every asset (the logo, icons, sound, music) is made from\n  scratch, so there is nothing to license and nothing for the user to find.\n\nThis is programmatic motion graphics; Remotion (React) and Manim (Python, used\nby 3Blue1Brown) are the same idea in other tools.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fmotion-video",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add enowdev\u002Fenowxcli --skill motion-video",{"tool":59,"command":60},"bunx","bunx skills add enowdev\u002Fenowxcli --skill motion-video",{"tool":62,"command":63},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill motion-video","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fmotion-video\u002FSKILL.md",true,[],[68,79,96,109,128,147],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":39},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[75,76,77,78,22],"demo skill","demo","tests","project",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":39},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[81,86,87,88,89,90,22,91,92,93,94,95],"text","emails","empty","drop","document","page","voice","notifications","documentation","translate",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":39},"01M6D2HG07YS49NM196Q0R3AZ8","ui","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[98,103,104,105,106,91,107,22,108],"icons","components","SET","responsive","layout","before building",{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":39},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[98,116,117,118,119,120,121,122,123,22,108,124,91,38,125,126,103,127,33],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","Charts","content","screenshots",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":39},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[135,98,136,104,137,138,38,139,140,141,107,119,142,143,144,22,108,91,145,146],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why","how",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[98,154,155,156,157,158,159,160,107,78,161,162,22,163,164,165,166,167,168,169],"vue","stack","ui stack vue","forms","pages","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory","testing"]