@autoaiai/aicut 0.1.11 → 0.1.13
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.
- package/MANUAL.md +94 -94
- package/package.json +1 -1
- package/skills/aicut-motion/SKILL.md +69 -3
- package/skills/aicut-motion/THIRD_PARTY_NOTICES.md +14 -0
- package/skills/aicut-motion/assets/atlas/lib/harness.js +116 -0
- package/skills/aicut-motion/assets/atlas/lib/sound.js +274 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/code.js +937 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/001-flat-vector-science/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/code.js +909 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/002-watercolor-wash/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/code.js +881 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/003-shadow-puppet-theatre/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/code.js +897 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/004-whiteboard-explainer/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/code.js +814 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/005-psychedelic-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/code.js +990 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/006-tech-glow-explainer/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/code.js +994 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/007-papercraft-models/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/code.js +792 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/008-1940s-film-noir/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/code.js +840 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/009-manim-style-math/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/code.js +1126 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/010-illuminated-manuscript/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/code.js +854 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/011-editorial-essay-collage/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/code.js +1124 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/012-bioluminescent-deep-sea/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/code.js +728 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/013-product-launch-reveal/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/code.js +664 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/014-halftone-pop-panel/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/code.js +991 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/015-isometric-pastel/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/code.js +801 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/016-oscilloscope-vector-art/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/code.js +692 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/017-risograph-zine/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/code.js +756 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/018-claymation-set/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/code.js +922 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/019-neon-sign-at-night/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/code.js +852 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/020-kawaii-anime/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/code.js +724 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/021-ukiyo-e-woodblock/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/code.js +793 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/022-16-bit-pixel-odyssey/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/code.js +846 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/023-chalkboard-lesson/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/code.js +1008 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/024-cut-paper-diorama/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/code.js +680 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/025-cathedral-glass/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/code.js +633 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/026-editorial-chart/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/code.js +757 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/027-synthwave-outrun/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/code.js +828 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/028-origami-studio/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/code.js +697 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/029-linocut-relief-print/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/code.js +687 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/030-holographic-foil-card/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/code.js +727 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/031-voxel-diorama/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/code.js +903 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/032-sumi-e-ink-wash/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/code.js +662 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/033-etch-a-sketch-toy/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/code.js +951 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/034-cosmic-star-chart/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/code.js +759 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/035-punk-zine-collage/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/code.js +738 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/036-thermal-camera/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/code.js +793 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/037-engineering-blueprint/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/code.js +673 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/038-impasto-night/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/code.js +907 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/039-win95-desktop/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/code.js +833 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/040-low-poly-faceted/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/code.js +845 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/041-manga-page/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/code.js +496 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/042-wood-type-letterpress/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/code.js +635 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/043-light-painting/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/code.js +799 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/044-felt-patchwork/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/code.js +547 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/045-phosphor-terminal/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/code.js +592 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/046-glassmorphism-ui/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/code.js +768 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/047-tarot-card/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/code.js +666 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/048-transit-map/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/code.js +559 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/049-gouache-travel-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/code.js +943 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/050-napkin-sketch/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/code.js +606 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/051-art-deco-foil/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/code.js +730 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/052-radiograph-on-lightbox/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/code.js +782 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/053-vaporwave/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/code.js +504 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/054-ebru-paper-marbling/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/code.js +517 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/055-isotype-pictograms/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/code.js +713 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/056-soft-3d-clay/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/code.js +717 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/057-cross-stitch-sampler/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/code.js +540 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/058-constructivist-propaganda/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/code.js +524 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/059-pocket-monochrome/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/code.js +934 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/060-botanical-plate/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/code.js +690 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/061-kinetic-type/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/code.js +612 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/062-byzantine-mosaic/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/code.js +666 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/063-y2k-liquid-chrome/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/code.js +651 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/064-sticky-note-wall/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/code.js +656 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/065-vintage-newsprint/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/code.js +672 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/066-hidden-line-wireframe/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/code.js +548 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/067-memphis-group/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/code.js +989 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/068-ballpoint-notebook/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/code.js +440 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/069-op-art-sphere/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/code.js +895 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/070-topographic-survey/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/code.js +563 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/071-pointillist-afternoon/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/code.js +627 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/072-vector-arcade-1980/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/code.js +1096 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/073-patent-drawing/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/code.js +595 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/074-bauhaus-poster/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/code.js +665 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/075-bitmap-paint-doodle/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/code.js +645 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/076-nail-thread-string-art/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/code.js +436 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/077-ridgeline/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/code.js +1237 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/078-sketchbook-graphite/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/code.js +622 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/079-teletext-page/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/code.js +524 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/080-silkscreen-grid/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/code.js +689 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/081-guilloch-security-print/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/code.js +574 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/082-ascii-demoscene/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/code.js +469 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/083-international-typographic-style/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/code.js +531 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/084-flow-field/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/code.js +675 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/085-macpaint-1984/style.json +13 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/code.js +609 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/poster.jpg +0 -0
- package/skills/aicut-motion/assets/atlas/styles/086-multi-scale-truchet/style.json +13 -0
- package/skills/aicut-motion/references/motion-delivery.md +55 -0
- package/skills/aicut-motion/references/style-index.json +690 -0
- package/skills/aicut-motion/references/style-research.md +73 -0
- package/skills/aicut-motion/references/style-selection.md +71 -0
- package/skills/aicut-motion/scripts/atlas-viewer.html +195 -0
- package/skills/aicut-motion/scripts/atlas.mjs +109 -0
- package/studio/server/fetch-github.mjs +14 -3
- package/studio/server/server.mjs +40 -3
- package/studio/server/skill-summaries.mjs +60 -0
- package/studio/server/skills.mjs +121 -7
- package/studio/server/styles-store.mjs +235 -0
- package/studio/server/template-posters.mjs +2 -2
- package/studio/server/templates-page.mjs +93 -93
- package/studio/server/templates.mjs +32 -7
- package/studio/ui/dist/assets/ExportCenter-DasulhAv.js +1 -0
- package/studio/ui/dist/assets/SettingsModal-BZw0Hz2_.js +2 -0
- package/studio/ui/dist/assets/es-C8XPZARI.js +1 -0
- package/studio/ui/dist/assets/index-BjJVmBzB.js +1623 -0
- package/studio/ui/dist/assets/index-C3BfKZFO.css +1 -0
- package/studio/ui/dist/assets/ja-BeNkdaEj.js +1 -0
- package/studio/ui/dist/assets/ko-DcTVhdzK.js +1 -0
- package/studio/ui/dist/assets/zh-CN-Cg51ctbL.js +1 -0
- package/studio/ui/dist/index.html +2 -2
- package/skills/30x-web-to-video/SKILL.md +0 -421
- package/skills/30x-web-to-video/examples/INDEX.md +0 -26
- package/skills/30x-web-to-video/references/animations.md +0 -539
- package/skills/30x-web-to-video/references/audio.md +0 -256
- package/skills/30x-web-to-video/references/components.md +0 -340
- package/skills/30x-web-to-video/references/lottie.md +0 -174
- package/skills/30x-web-to-video/references/visual-effects.md +0 -157
- package/skills/30x-web-to-video/remotion-best-practices/rules/audio.md +0 -169
- package/skills/30x-web-to-video/remotion-best-practices/rules/calculate-metadata.md +0 -134
- package/skills/30x-web-to-video/remotion-best-practices/rules/charts.md +0 -120
- package/skills/30x-web-to-video/remotion-best-practices/rules/compositions.md +0 -154
- package/skills/30x-web-to-video/remotion-best-practices/rules/ffmpeg.md +0 -38
- package/skills/30x-web-to-video/remotion-best-practices/rules/fonts.md +0 -152
- package/skills/3d-asset-generation/SKILL.md +0 -142
- package/skills/action-fight-prompt/SKILL.md +0 -136
- package/skills/action-fight-prompt/references/camera-and-impact.md +0 -64
- package/skills/action-fight-prompt/references/example-15s-duel.md +0 -59
- package/skills/action-fight-prompt/references/scene-patterns.md +0 -80
- package/skills/ad-creative-video/SKILL.md +0 -205
- package/skills/ad-creative-video/references/batch-ad-pipeline.md +0 -289
- package/skills/ad-creative-video/references/platform-specs.md +0 -72
- package/skills/after-effects/SKILL.md +0 -123
- package/skills/after-effects/references/export-recipes.md +0 -168
- package/skills/after-effects/references/expression-library.md +0 -184
- package/skills/after-effects/references/expressions.md +0 -134
- package/skills/after-effects/references/performance-triage.md +0 -138
- package/skills/after-effects/references/project-hygiene.md +0 -188
- package/skills/ai-media-quality-review/SKILL.md +0 -72
- package/skills/ai-product-video/SKILL.md +0 -296
- package/skills/ai-product-video/references/aesthetic-rules.md +0 -177
- package/skills/ai-product-video/references/final-review.md +0 -110
- package/skills/ai-product-video/references/guided-free-creation.md +0 -194
- package/skills/ai-product-video/references/music-beat-sync.md +0 -219
- package/skills/ai-product-video/references/pipeline.md +0 -392
- package/skills/ai-product-video/references/sequences/promo-energy-arc.md +0 -50
- package/skills/ai-product-video/references/shots/ATTRIBUTION.md +0 -65
- package/skills/ai-product-video/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/ai-product-video/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/ai-product-video/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/ai-product-video/references/shots/camera/depth-layer-moves.md +0 -40
- package/skills/ai-product-video/references/shots/camera/graze-face-tour.md +0 -57
- package/skills/anidoodle/SKILL.md +0 -185
- package/skills/anidoodle/references/anatomy.md +0 -91
- package/skills/anidoodle/references/backends-and-adapters.md +0 -82
- package/skills/anidoodle/references/camera.md +0 -148
- package/skills/anidoodle/references/craft-bar.md +0 -72
- package/skills/anidoodle/references/determinism-and-contract.md +0 -46
- package/skills/anidoodle/references/formats.md +0 -121
- package/skills/anidoodle/references/motion-grammar.md +0 -234
- package/skills/anidoodle/references/music/compose.md +0 -388
- package/skills/anidoodle/references/music/sound-design.md +0 -245
- package/skills/anidoodle/references/music/sounds-licenses.md +0 -69
- package/skills/anidoodle/references/music/styles/lofi-electronic.md +0 -112
- package/skills/anidoodle/references/music/styles/music-box.md +0 -57
- package/skills/animated-component-libraries/SKILL.md +0 -820
- package/skills/animated-component-libraries/references/customization_guide.md +0 -699
- package/skills/animated-component-libraries/references/magic_ui_components.md +0 -422
- package/skills/animated-component-libraries/references/react_bits_components.md +0 -587
- package/skills/animated-infographic/SKILL.md +0 -211
- package/skills/animated-infographic/references/sequenced-infographic.md +0 -286
- package/skills/appshot-core/SKILL.md +0 -872
- package/skills/article-highlights/SKILL.md +0 -151
- package/skills/avatar-mix/SKILL.md +0 -301
- package/skills/bang-motion/SKILL.md +0 -583
- package/skills/bang-motion/references/ae-bridge-higgsfield.md +0 -160
- package/skills/bang-motion/references/anti-ppt.md +0 -110
- package/skills/bang-motion/references/architecture.md +0 -188
- package/skills/bang-motion/references/explainer.md +0 -579
- package/skills/bang-motion/references/kartun-panggung.md +0 -221
- package/skills/bang-motion/references/opener-konsep.md +0 -817
- package/skills/bang-motion/references/roadmap.md +0 -85
- package/skills/bang-motion/references/techniques.md +0 -690
- package/skills/beat-sync-edit/SKILL.md +0 -148
- package/skills/book-video-factory/SKILL.md +0 -139
- package/skills/book-video-factory/references/first-run.md +0 -50
- package/skills/book-video-factory/references/paper-collage-explainer.md +0 -127
- package/skills/book-video-factory/references/quality-gates.md +0 -87
- package/skills/book-video-production/SKILL.md +0 -211
- package/skills/brag/SKILL.md +0 -195
- package/skills/brag/references/audio.md +0 -312
- package/skills/brag/references/step-1-inspect.md +0 -125
- package/skills/brag/references/step-2-plan.md +0 -234
- package/skills/brag/references/step-3-compose.md +0 -199
- package/skills/brag/references/step-4-deliver.md +0 -141
- package/skills/brag/references/tones.md +0 -231
- package/skills/brand-setup/SKILL.md +0 -228
- package/skills/brewreel/SKILL.md +0 -491
- package/skills/brewreel/docs/broll.en.md +0 -252
- package/skills/brewreel/docs/broll.md +0 -252
- package/skills/brewreel/docs/custom-shot.en.md +0 -66
- package/skills/brewreel/docs/custom-shot.md +0 -103
- package/skills/brewreel/docs/faq.en.md +0 -90
- package/skills/brewreel/docs/faq.md +0 -90
- package/skills/brewreel/docs/features.en.md +0 -157
- package/skills/brewreel/docs/features.md +0 -157
- package/skills/brewreel/docs/gallery.en.md +0 -44
- package/skills/brewreel/docs/gallery.md +0 -44
- package/skills/brewreel/docs/how-it-works.en.md +0 -64
- package/skills/brewreel/docs/how-it-works.md +0 -64
- package/skills/caption-animation/SKILL.md +0 -216
- package/skills/caption-animation/references/word-timed-captions.md +0 -254
- package/skills/cartcut-editing/SKILL.md +0 -615
- package/skills/cartcut-editing/references/html-typography.md +0 -277
- package/skills/cassette-video-edit/SKILL.md +0 -129
- package/skills/ccvideo/SKILL.md +0 -264
- package/skills/chekhov-dramaturgy/SKILL.md +0 -367
- package/skills/chekhov-dramaturgy/reference.md +0 -375
- package/skills/chengfeng-check-updates/SKILL.md +0 -283
- package/skills/cinematic-product-promo-skill/SKILL.md +0 -295
- package/skills/cinematic-product-promo-skill/references/aesthetic-rules.md +0 -187
- package/skills/cinematic-product-promo-skill/references/final-review.md +0 -116
- package/skills/cinematic-product-promo-skill/references/guided-free-creation.md +0 -199
- package/skills/cinematic-product-promo-skill/references/jianying-export.md +0 -183
- package/skills/cinematic-product-promo-skill/references/music-beat-sync.md +0 -257
- package/skills/cinematic-product-promo-skill/references/pipeline.md +0 -393
- package/skills/cinematic-product-promo-skill/references/sequences/promo-energy-arc.md +0 -50
- package/skills/cinematic-product-promo-skill/references/shots/ATTRIBUTION.md +0 -65
- package/skills/cinematic-product-promo-skill/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/cinematic-product-promo-skill/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/cinematic-product-promo-skill/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/cinematic-product-promo-skill/references/shots/camera/depth-layer-moves.md +0 -40
- package/skills/claude-gif/SKILL.md +0 -211
- package/skills/claude-gif/references/gif-optimization.md +0 -209
- package/skills/claude-gif/references/perfect-loops.md +0 -295
- package/skills/claude-gif/references/platform-specs.md +0 -138
- package/skills/claude-gif/references/prompt-engineering.md +0 -211
- package/skills/claude-gif/references/remotion-gif.md +0 -560
- package/skills/codex-video-pipeline/SKILL.md +0 -213
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/INPUT.md +0 -10
- package/skills/codex-video-pipeline/examples/ai-meeting-notes/expected/action-list.md +0 -22
- package/skills/codex-video-pipeline/references/captions.md +0 -39
- package/skills/codex-video-pipeline/references/cover-system.md +0 -72
- package/skills/codex-video-pipeline/references/cross-platform.md +0 -77
- package/skills/codex-video-pipeline/references/example-run.md +0 -54
- package/skills/codex-video-pipeline/references/first-run.md +0 -130
- package/skills/codex-video-pipeline/references/project-contract.md +0 -54
- package/skills/codex-video-pipeline/references/quality-gates.md +0 -44
- package/skills/codex-video-pipeline/references/research-and-script.md +0 -50
- package/skills/collage-broll-explainers/SKILL.md +0 -429
- package/skills/create-onboarding-video/SKILL.md +0 -233
- package/skills/cs-shotcraft-skill/SKILL.md +0 -218
- package/skills/cs-shotcraft-skill/references/aesthetic-rules.md +0 -207
- package/skills/cs-shotcraft-skill/references/camera-table.md +0 -88
- package/skills/cs-shotcraft-skill/references/engineering.md +0 -132
- package/skills/cs-shotcraft-skill/references/final-review.md +0 -118
- package/skills/cs-shotcraft-skill/references/guided-free-creation.md +0 -199
- package/skills/cs-shotcraft-skill/references/jianying-export.md +0 -183
- package/skills/cs-shotcraft-skill/references/music-beat-sync.md +0 -257
- package/skills/cs-shotcraft-skill/references/pipeline.md +0 -408
- package/skills/cs-shotcraft-skill/references/product-machine.md +0 -56
- package/skills/cs-shotcraft-skill/references/sequences/promo-energy-arc.md +0 -50
- package/skills/cs-shotcraft-skill/references/shots/ATTRIBUTION.md +0 -65
- package/skills/cs-shotcraft-skill/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/cut-video/SKILL.md +0 -387
- package/skills/cyxj-hyperframes-overlay/SKILL.md +0 -75
- package/skills/cyxj-remotion-evolve/SKILL.md +0 -123
- package/skills/cyxj-remotion-evolve-vibe-motion/SKILL.md +0 -123
- package/skills/demo-video-creation-skill/SKILL.md +0 -152
- package/skills/demo-video-creation-skill/references/capture-workflow.md +0 -74
- package/skills/demo-video-creation-skill/references/qc-checklist.md +0 -61
- package/skills/demo-video-creation-skill/references/remotion-ffmpeg.md +0 -94
- package/skills/demo-video-creation-skill/references/storytelling.md +0 -86
- package/skills/demo-video-creation-skill/references/visual-system.md +0 -83
- package/skills/demoday/SKILL.md +0 -148
- package/skills/develop-premiere-pro-mcp/SKILL.md +0 -131
- package/skills/diagram-animation/SKILL.md +0 -200
- package/skills/diagram-animation/references/diagram-and-chart-recipes.md +0 -218
- package/skills/diagram-tour/SKILL.md +0 -287
- package/skills/diagram-tour/examples/agent-architecture/agent-architecture-tour.md +0 -78
- package/skills/docvideoer/SKILL.md +0 -139
- package/skills/draftcut/SKILL.md +0 -104
- package/skills/draftcut/docs/agent-bootstrap.md +0 -64
- package/skills/draftcut/docs/approvals.md +0 -45
- package/skills/draftcut/docs/audio-first-migration.md +0 -35
- package/skills/draftcut/docs/configuration.md +0 -54
- package/skills/draftcut/docs/getting-started.md +0 -63
- package/skills/draftcut/docs/harness-case-study.en.md +0 -23
- package/skills/draftcut/docs/harness-case-study.md +0 -47
- package/skills/draftcut/references/01-plan.md +0 -30
- package/skills/draftcut/references/03-deliver.md +0 -26
- package/skills/draftcut/references/04-reference-theme-prompt.md +0 -7
- package/skills/draftcut/references/05-social-loudness.md +0 -58
- package/skills/draftcut/references/06-modern-components.md +0 -72
- package/skills/easyedit/SKILL.md +0 -66
- package/skills/erduo-broll-loop-engineering/SKILL.md +0 -136
- package/skills/erduo-broll-loop-engineering/references/animation-craft.md +0 -208
- package/skills/erduo-broll-loop-engineering/references/first-run-onboarding.md +0 -107
- package/skills/erduo-broll-loop-engineering/references/handoff-template.md +0 -70
- package/skills/erduo-broll-loop-engineering/references/motion-layout-lint.md +0 -122
- package/skills/erduo-broll-loop-engineering/references/parent-review-checklist.md +0 -171
- package/skills/erduo-broll-loop-engineering/references/prompt-first-workflow.md +0 -322
- package/skills/erduo-broll-loop-engineering/references/remotion-backend.md +0 -334
- package/skills/erduo-broll-loop-engineering/references/runtime/remotion-hyperframes-map.md +0 -76
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-contract.md +0 -174
- package/skills/erduo-broll-loop-engineering/references/runtime/runtime-selection.md +0 -135
- package/skills/erduo-broll-loop-engineering/references/shotcraft/remotion-sources/SOURCE.md +0 -7
- package/skills/erduo-broll-loop-engineering/references/shotcraft/upstream-attribution.md +0 -65
- package/skills/explainer-assets/SKILL.md +0 -98
- package/skills/explainer-video/SKILL.md +0 -146
- package/skills/framewright/SKILL.md +0 -324
- package/skills/framewright/references/audio.md +0 -230
- package/skills/framewright/references/guide.md +0 -276
- package/skills/framewright/references/painting.md +0 -425
- package/skills/framewright/references/photo.md +0 -75
- package/skills/framewright/references/questionnaire.md +0 -115
- package/skills/framewright/references/styles.md +0 -388
- package/skills/framewright/references/troubleshooting.md +0 -119
- package/skills/framewright/references/world.md +0 -215
- package/skills/gbro-collage-broll/SKILL.md +0 -435
- package/skills/gbro-collage-info/SKILL.md +0 -135
- package/skills/gbro-collage-info/references/motion-grammar.md +0 -66
- package/skills/gbro-collage-info/references/production.md +0 -67
- package/skills/gbro-collage-info/references/style-system.md +0 -38
- package/skills/gemini-tts/SKILL.md +0 -208
- package/skills/gemini-tts/references/prompting-guide.md +0 -169
- package/skills/gen/SKILL.md +0 -282
- package/skills/ghost-editor/SKILL.md +0 -437
- package/skills/ghost-editor/docs/HOW-IT-WORKS.md +0 -82
- package/skills/ghost-editor/docs/PLAYBOOK.md +0 -139
- package/skills/ghost-editor/docs/THIRD_PARTY/audio.md +0 -17
- package/skills/ghost-editor/docs/THIRD_PARTY/audioqa.md +0 -13
- package/skills/ghost-editor/docs/THIRD_PARTY/captions.md +0 -20
- package/skills/ghost-editor/docs/THIRD_PARTY/fonts.md +0 -17
- package/skills/ghost-editor/docs/THIRD_PARTY/kinetic.md +0 -22
- package/skills/ghost-editor/docs/THIRD_PARTY/looks.md +0 -22
- package/skills/ghost-editor/docs/THIRD_PARTY/matte.md +0 -20
- package/skills/ghost-editor/docs/THIRD_PARTY/models.md +0 -11
- package/skills/ghost-editor/docs/THIRD_PARTY/runtime.md +0 -13
- package/skills/ghost-editor/docs/THIRD_PARTY/shaders.md +0 -15
- package/skills/git-story-film/SKILL.md +0 -220
- package/skills/git-story-film/examples/raven-story/FONTS.md +0 -8
- package/skills/git-story-film/examples/raven-story/OUTLINE.md +0 -93
- package/skills/git-story-film/references/craft.md +0 -148
- package/skills/git-story-film/references/directing.md +0 -185
- package/skills/git-story-film/references/forms.md +0 -150
- package/skills/git-story-film/references/production.md +0 -150
- package/skills/git-story-film/references/story.md +0 -137
- package/skills/git-story-film/references/text-and-fonts.md +0 -90
- package/skills/guizang-product-video-skill/SKILL.md +0 -96
- package/skills/guizang-product-video-skill/references/audio-and-qa.md +0 -113
- package/skills/guizang-product-video-skill/references/audio-sourcing.md +0 -80
- package/skills/guizang-product-video-skill/references/case-study.md +0 -63
- package/skills/guizang-product-video-skill/references/component-pipeline.md +0 -86
- package/skills/guizang-product-video-skill/references/cover.md +0 -43
- package/skills/guizang-product-video-skill/references/direction.md +0 -91
- package/skills/guizang-product-video-skill/references/onboarding.md +0 -98
- package/skills/guizang-product-video-skill/references/repo-and-style.md +0 -44
- package/skills/guizang-product-video-skill/references/review.md +0 -38
- package/skills/guizang-product-video-skill/references/starter.md +0 -168
- package/skills/guizang-product-video-skill/references/story-and-copy.md +0 -88
- package/skills/guizang-product-video-skill/references/visual-vocabulary.md +0 -78
- package/skills/guofeng-paper-video/SKILL.md +0 -159
- package/skills/guofeng-paper-video/style/design.md +0 -43
- package/skills/guofeng-paper-video/style/palette.md +0 -21
- package/skills/guofeng-paper-video/style/prompts/01-/345/210/206/351/225/234/350/241/250.md +0 -19
- package/skills/guofeng-paper-video/style/prompts/02-/347/224/237/346/210/220/347/272/270/347/211/207.md +0 -37
- package/skills/guofeng-paper-video/style/prompts/03-/351/205/215/351/237/263/350/204/232/346/234/254.md +0 -27
- package/skills/guofeng-paper-video/style//345/210/206/351/225/234/344/270/216/345/233/276/345/261/202/350/247/204/350/214/203.md +0 -67
- package/skills/guofeng-paper-video/style//347/272/270/347/211/207/347/264/240/346/235/220/350/247/204/350/214/203.md +0 -29
- package/skills/hand-drawn-explainer-video-nikola/SKILL.md +0 -113
- package/skills/hand-drawn-explainer-video-nikola/docs/ARCHITECTURE.md +0 -18
- package/skills/hand-drawn-explainer-video-nikola/docs/CONFIGURATION.md +0 -22
- package/skills/hand-drawn-explainer-video-nikola/docs/STYLES.md +0 -28
- package/skills/hand-drawn-explainer-video-nikola/docs/TROUBLESHOOTING.md +0 -35
- package/skills/hand-drawn-explainer-video-nikola/examples/program-animation/skill-demo/DESIGN.md +0 -24
- package/skills/hand-drawn-explainer-video-nikola/references/automation-workflow.md +0 -67
- package/skills/hand-drawn-explainer-video-nikola/references/output-example.md +0 -79
- package/skills/hand-drawn-explainer-video-nikola/references/preflight-and-recovery.md +0 -49
- package/skills/hand-drawn-explainer-video-nikola/references/style-guide.md +0 -82
- package/skills/hand-drawn-explainer-video-nikola/references/style-selection-and-updates.md +0 -39
- package/skills/hand-drawn-explainer-video-nikola/references/upstream-whiteboard-review.md +0 -30
- package/skills/hand-drawn-explainer-video-nikola/references/voiceover.md +0 -37
- package/skills/hbg-life-simulation/SKILL.md +0 -285
- package/skills/hbg-life-simulation/references/image-generation.md +0 -53
- package/skills/hbg-life-simulation/references/local-account-api.md +0 -112
- package/skills/hbg-life-simulation/references/opening-system.md +0 -45
- package/skills/hbg-life-simulation/references/project-spec.md +0 -62
- package/skills/hbg-life-simulation/references/render-and-qa.md +0 -107
- package/skills/hbg-life-simulation/references/storyboarding.md +0 -69
- package/skills/hbg-life-simulation/references/style-system.md +0 -80
- package/skills/hbg-life-simulation/references/visual-system.md +0 -44
- package/skills/heygen-avatar/SKILL.md +0 -489
- package/skills/heygen-avatar/references/asset-routing.md +0 -86
- package/skills/heygen-avatar/references/avatar-creation.md +0 -181
- package/skills/heygen-avatar/references/troubleshooting.md +0 -137
- package/skills/heytea-doodle-poster/SKILL.md +0 -132
- package/skills/heytea-doodle-poster/references/desktop-pet-character-modes.md +0 -103
- package/skills/heytea-doodle-poster/references/desktop-pet-environment.md +0 -122
- package/skills/heytea-doodle-poster/references/desktop-pet-pack.md +0 -106
- package/skills/heytea-doodle-poster/references/desktop-pet-workflow.md +0 -264
- package/skills/heytea-doodle-poster/references/evaluation.md +0 -246
- package/skills/heytea-doodle-poster/references/lettering-guide.md +0 -213
- package/skills/heytea-doodle-poster/references/mixed-media-style-guide.md +0 -101
- package/skills/heytea-doodle-poster/references/monster-poster-workflow.md +0 -56
- package/skills/heytea-doodle-poster/references/style-guide.md +0 -412
- package/skills/heytea-doodle-poster-hosted/SKILL.md +0 -132
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-character-modes.md +0 -103
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-environment.md +0 -122
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-pack.md +0 -106
- package/skills/heytea-doodle-poster-hosted/references/desktop-pet-workflow.md +0 -264
- package/skills/heytea-doodle-poster-hosted/references/evaluation.md +0 -246
- package/skills/heytea-doodle-poster-hosted/references/lettering-guide.md +0 -213
- package/skills/heytea-doodle-poster-hosted/references/mixed-media-style-guide.md +0 -101
- package/skills/heytea-doodle-poster-hosted/references/monster-poster-workflow.md +0 -56
- package/skills/heytea-doodle-poster-hosted/references/style-guide.md +0 -412
- package/skills/html2video/SKILL.md +0 -290
- package/skills/html2video/references/cjk-type.md +0 -173
- package/skills/html2video/references/editorial.md +0 -145
- package/skills/html2video/references/narration.md +0 -111
- package/skills/html2video/references/pitfalls.md +0 -238
- package/skills/html2video/references/shots.md +0 -198
- package/skills/html2video/references/storyboard.md +0 -323
- package/skills/hyperdirector/SKILL.md +0 -202
- package/skills/hyperdirector/docs/audio-workflow.md +0 -160
- package/skills/hyperdirector/docs/audio-workflow.zh-CN.md +0 -244
- package/skills/hyperdirector/docs/brand-kit-setup.md +0 -322
- package/skills/hyperdirector/docs/brand-kit-setup.zh-CN.md +0 -277
- package/skills/hyperdirector/docs/cursor-development-notes.md +0 -474
- package/skills/hyperdirector/docs/faq.md +0 -285
- package/skills/hyperdirector/docs/faq.zh-CN.md +0 -198
- package/skills/hyperdirector/docs/first-video.md +0 -320
- package/skills/hyperdirector/docs/first-video.zh-CN.md +0 -265
- package/skills/hyperdirector/docs/installation.md +0 -254
- package/skills/hyperdirector/docs/installation.zh-CN.md +0 -222
- package/skills/hyperdirector/docs/quickstart.md +0 -203
- package/skills/hyperframes/SKILL.md +0 -117
- package/skills/hyperframes/references/captions.md +0 -46
- package/skills/hyperframes/references/film.md +0 -48
- package/skills/hyperframes/references/format.md +0 -158
- package/skills/hyperframes/references/look.md +0 -69
- package/skills/hyperframes/references/motion.md +0 -95
- package/skills/hyperframes/references/overlays.md +0 -39
- package/skills/hyperframes/references/review.md +0 -51
- package/skills/hyperframes/references/runtimes.md +0 -69
- package/skills/hyperframes/references/skill-lifecycle.md +0 -49
- package/skills/hyperframes/references/sound.md +0 -43
- package/skills/hyperframes/references/spec.md +0 -76
- package/skills/hyperframes/references/story.md +0 -103
- package/skills/hyperframes-motion-director/SKILL.md +0 -920
- package/skills/hyperframes-motion-director/references/asset-choreography-and-render-qa.md +0 -185
- package/skills/hyperframes-motion-director/references/audio-sync.md +0 -83
- package/skills/hyperframes-motion-director/references/design-engineering.md +0 -156
- package/skills/hyperframes-motion-director/references/gsap-choreography.md +0 -202
- package/skills/hyperframes-motion-director/references/hyperframes-stability.md +0 -99
- package/skills/hyperframes-motion-director/references/imagegen-asset-pipeline.md +0 -227
- package/skills/hyperframes-motion-director/references/motion-background-system.md +0 -165
- package/skills/hyperframes-motion-director/references/motion-craft.md +0 -182
- package/skills/hyperframes-motion-director/references/premium-product-promo.md +0 -287
- package/skills/hyperframes-motion-director/references/text-over-background-layout.md +0 -221
- package/skills/hyperframes-motion-director/references/visual-standard.md +0 -174
- package/skills/hyperframes-motion-director/references/workflow.md +0 -320
- package/skills/hypit/SKILL.md +0 -367
- package/skills/hypit/references/creation/brief.md +0 -93
- package/skills/hypit/references/creation/script-and-time.md +0 -259
- package/skills/hypit/references/creation/transformations.md +0 -143
- package/skills/hypit/references/playbooks/craft/b-roll.md +0 -94
- package/skills/hypit/references/playbooks/craft/caption-tracking.md +0 -126
- package/skills/hypit/references/playbooks/craft/captions.md +0 -253
- package/skills/hypit/references/playbooks/craft/generated-dependencies.md +0 -38
- package/skills/hypit/references/playbooks/craft/graphic-compositions.md +0 -85
- package/skills/hypit/references/playbooks/craft/motion-graphics.md +0 -68
- package/skills/hypit/references/playbooks/craft/screen-demonstrations.md +0 -51
- package/skills/hypit/references/playbooks/craft/sound-mix.md +0 -70
- package/skills/hypit/references/playbooks/formats/narration-led-demo.md +0 -87
- package/skills/image/SKILL.md +0 -153
- package/skills/image/references/characters.md +0 -86
- package/skills/image/references/creative-direction.md +0 -137
- package/skills/image/references/de-slop.md +0 -95
- package/skills/image/references/dimensional.md +0 -88
- package/skills/image/references/editing.md +0 -112
- package/skills/image/references/golden-rules.md +0 -198
- package/skills/image/references/gpt-image.md +0 -228
- package/skills/image/references/models.md +0 -78
- package/skills/image/references/multi-panel.md +0 -354
- package/skills/image/references/nano-banana.md +0 -150
- package/skills/image/references/patterns/character-design.md +0 -150
- package/skills/image/references/patterns/ecommerce.md +0 -124
- package/skills/image-smixs/SKILL.md +0 -153
- package/skills/image-smixs/references/characters.md +0 -86
- package/skills/image-smixs/references/creative-direction.md +0 -137
- package/skills/image-smixs/references/de-slop.md +0 -95
- package/skills/image-smixs/references/dimensional.md +0 -88
- package/skills/image-smixs/references/editing.md +0 -112
- package/skills/image-smixs/references/golden-rules.md +0 -198
- package/skills/image-smixs/references/gpt-image.md +0 -228
- package/skills/image-smixs/references/models.md +0 -78
- package/skills/image-smixs/references/multi-panel.md +0 -354
- package/skills/image-smixs/references/nano-banana.md +0 -150
- package/skills/image-smixs/references/patterns/character-design.md +0 -150
- package/skills/image-smixs/references/patterns/ecommerce.md +0 -124
- package/skills/image-story-video-wizard/SKILL.md +0 -148
- package/skills/image-story-video-wizard/docs/ARTICLE_ALIGNMENT.md +0 -29
- package/skills/image-story-video-wizard/references/host-routing.md +0 -44
- package/skills/image-story-video-wizard/references/state-schema.md +0 -79
- package/skills/image-story-video-wizard/references/workflow.md +0 -203
- package/skills/image-story-video-wizard/references/writing-and-review.md +0 -60
- package/skills/ip-as-logo/SKILL.md +0 -151
- package/skills/ip-as-logo-s1dashu/SKILL.md +0 -151
- package/skills/jtxvideo-skill/SKILL.md +0 -337
- package/skills/kinetic-reel/SKILL.md +0 -140
- package/skills/kinetic-reel/examples/work-reel-26/STORYBOARD.md +0 -51
- package/skills/kinetic-reel/references/sound.md +0 -40
- package/skills/kinetic-reel/references/style-guide.md +0 -79
- package/skills/knowledge-explainer-skill/SKILL.md +0 -149
- package/skills/knowledge-explainer-skill/examples/ai_video_3steps.md +0 -61
- package/skills/knowledge-explainer-skill/examples/algorithm_bubble.md +0 -20
- package/skills/knowledge-explainer-skill/examples/before_after_demo.md +0 -38
- package/skills/knowledge-explainer-skill/examples/cta_outro.md +0 -11
- package/skills/knowledge-explainer-skill/examples/double_pendulum.md +0 -20
- package/skills/knowledge-explainer-skill/examples/paper_fold.md +0 -20
- package/skills/knowledge-explainer-skill/examples/script.md +0 -40
- package/skills/lanshu-create-ai-presenter-video/SKILL.md +0 -253
- package/skills/lanshu-create-ai-presenter-video/references/editing.md +0 -67
- package/skills/lanshu-create-ai-presenter-video/references/generation.md +0 -94
- package/skills/lanshu-create-ai-presenter-video/references/qa-recovery.md +0 -83
- package/skills/lanshu-create-ai-presenter-video/references/styled-explainer.md +0 -189
- package/skills/laoxu-video-script/SKILL.md +0 -117
- package/skills/laoxu-video-script/references/cases.md +0 -305
- package/skills/laoxu-video-script/references/de-ai.md +0 -32
- package/skills/laoxu-video-script/references/diagnostics.md +0 -67
- package/skills/laoxu-video-script/references/format.md +0 -62
- package/skills/laoxu-video-script/references/formulas.md +0 -43
- package/skills/laoxu-video-script/references/method.md +0 -115
- package/skills/laoxu-video-script/references/motifs-and-lines.md +0 -829
- package/skills/laoxu-video-script/references/persona.md +0 -38
- package/skills/laoxu-video-script/references/qihao-path.md +0 -35
- package/skills/laoxu-video-script/references/qihao-xinfa.md +0 -39
- package/skills/laoxu-video-script/references/redlines.md +0 -26
- package/skills/lemo-opuscar/SKILL.md +0 -67
- package/skills/lipnardo/SKILL.md +0 -308
- package/skills/lipnardo/examples/batch-personalized.md +0 -44
- package/skills/lipnardo/examples/photo-to-avatar-pipeline.md +0 -56
- package/skills/lipnardo/examples/single-video.md +0 -44
- package/skills/lipnardo/references/avatar-types.md +0 -42
- package/skills/lipnardo/references/credit-costs.md +0 -39
- package/skills/lipnardo/references/error-codes.md +0 -66
- package/skills/lipnardo/references/heygen-api-reference.md +0 -416
- package/skills/ll-video-decomposer/SKILL.md +0 -105
- package/skills/ll-video-decomposer/references/audiovisual-analysis-guide.md +0 -44
- package/skills/ll-video-decomposer/references/evidence-and-confidence-rules.md +0 -41
- package/skills/ll-video-decomposer/references/multi-video-comparison-template.md +0 -48
- package/skills/ll-video-decomposer/references/single-video-report-template.md +0 -47
- package/skills/ll-video-decomposer/references/tool-discovery-workflow.md +0 -30
- package/skills/ll-video-decomposer/references/transcription-routing.md +0 -65
- package/skills/ll-video-decomposer/references/video-acquisition-workflow.md +0 -30
- package/skills/ltx2-video/SKILL.md +0 -193
- package/skills/ltx2-video/references/mode_ux.md +0 -293
- package/skills/make-ai-short/SKILL.md +0 -130
- package/skills/make-blender-education-video/SKILL.md +0 -247
- package/skills/make-blender-education-video/references/evidence-and-explanation.md +0 -62
- package/skills/make-blender-education-video/references/github-workflow-discovery.md +0 -55
- package/skills/make-blender-education-video/references/production-workflow.md +0 -62
- package/skills/make-blender-education-video/references/story-patterns.md +0 -65
- package/skills/make-blender-education-video/references/visual-quality.md +0 -82
- package/skills/manage-storyboard-projects/SKILL.md +0 -128
- package/skills/manim-composer/SKILL.md +0 -176
- package/skills/manim-composer/references/narrative-patterns.md +0 -125
- package/skills/manim-composer/references/scene-examples.md +0 -216
- package/skills/manim-composer/references/visual-techniques.md +0 -223
- package/skills/manim-composer/templates/scenes-template.md +0 -147
- package/skills/monet-ai-editor-monet/SKILL.md +0 -367
- package/skills/motion-graphics/SKILL.md +0 -206
- package/skills/motion-graphics/references/craft.md +0 -136
- package/skills/motion-graphics/references/engine.md +0 -130
- package/skills/motion-graphics/references/export.md +0 -67
- package/skills/motion-graphics/references/physics.md +0 -100
- package/skills/motion-graphics/references/verify.md +0 -124
- package/skills/motion-video/SKILL.md +0 -133
- package/skills/motion-video/references/audio-and-beat-sync.md +0 -109
- package/skills/motion-video/references/composition-contract.md +0 -107
- package/skills/motion-video/references/production-pipeline.md +0 -147
- package/skills/motion-video/references/style-comic-spiderverse.md +0 -87
- package/skills/motion-video/references/style-glass-keynote.md +0 -69
- package/skills/motion-video-maker/SKILL.md +0 -1452
- package/skills/motion-video-maker/reference/components.md +0 -451
- package/skills/motion-video-maker/reference/workflow.md +0 -190
- package/skills/motioncraft/SKILL.md +0 -221
- package/skills/motioncraft/references/animation-system.md +0 -57
- package/skills/motioncraft/references/assets-and-licensing.md +0 -21
- package/skills/motioncraft/references/customization.md +0 -52
- package/skills/motioncraft/references/gpu-cloud-render.md +0 -15
- package/skills/motioncraft/references/music.md +0 -43
- package/skills/motioncraft/references/phase1-planning-and-preview.md +0 -74
- package/skills/motioncraft/references/phase2-timeline-audio.md +0 -33
- package/skills/motioncraft/references/phase3-pixel-review.md +0 -13
- package/skills/motioncraft/references/phase4-templates.md +0 -30
- package/skills/motioncraft/references/preflight.md +0 -27
- package/skills/motioncraft/references/qa.md +0 -53
- package/skills/motioncraft/references/reference-analysis.md +0 -37
- package/skills/narrator-ai-cli/SKILL.md +0 -256
- package/skills/narrator-ai-cli/references/magic-video.md +0 -205
- package/skills/narrator-ai-cli/references/operations.md +0 -230
- package/skills/narrator-ai-cli/references/resources.md +0 -126
- package/skills/narrator-ai-cli/references/workflows.md +0 -332
- package/skills/newcut-video-clipping/SKILL.md +0 -194
- package/skills/newcut-video-clipping/references/examples.md +0 -59
- package/skills/newcut-video-clipping/references/provider-config.md +0 -110
- package/skills/newcut-video-clipping/references/quality-check.md +0 -35
- package/skills/newcut-video-clipping/references/semantic-plan.md +0 -65
- package/skills/notes-to-video/SKILL.md +0 -476
- package/skills/openchatcut/SKILL.md +0 -100
- package/skills/openchatcut/references/editing-workflow.md +0 -54
- package/skills/openchatcut/references/getting-started.md +0 -106
- package/skills/openchatcut/references/known-errors.md +0 -62
- package/skills/openstoryline-install/SKILL.md +0 -228
- package/skills/orca-motion/SKILL.md +0 -100
- package/skills/orca-motion/references/api.md +0 -100
- package/skills/orca-motion/references/integration.md +0 -59
- package/skills/orca-motion/references/kinetic-type.md +0 -59
- package/skills/orca-motion/references/principles.md +0 -76
- package/skills/package-talking-head-video/SKILL.md +0 -90
- package/skills/package-talking-head-video/docs/EXAMPLES.md +0 -18
- package/skills/package-talking-head-video/docs/TROUBLESHOOTING.md +0 -29
- package/skills/package-talking-head-video/docs/USAGE.md +0 -83
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-multicolor-center-speaker.md +0 -144
- package/skills/package-talking-head-video/docs/superpowers/plans/2026-08-08-semantic-template-system-v2.md +0 -1099
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-multicolor-center-speaker-design.md +0 -154
- package/skills/package-talking-head-video/docs/superpowers/specs/2026-08-08-semantic-template-system-v2-design.md +0 -365
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_A.md +0 -56
- package/skills/package-talking-head-video/examples/auto-editing-0/GATE_D.md +0 -8
- package/skills/package-talking-head-video/examples/auto-editing-0/QA_REPORT.md +0 -34
- package/skills/package-talking-head-video/references/director-rules.md +0 -29
- package/skills/package-talking-head-video/references/motion-and-illustration.md +0 -25
- package/skills/paper-cut/SKILL.md +0 -164
- package/skills/paper-cut/references/asset-spec.md +0 -47
- package/skills/paper-cut/references/audio-and-chatcut.md +0 -26
- package/skills/paper-cut/references/hyperframes-assembly.md +0 -47
- package/skills/paper-cut/references/image-led-production.md +0 -65
- package/skills/paper-cut/references/storyboard-schema.md +0 -48
- package/skills/paper-cut/references/workflow.md +0 -39
- package/skills/personal-ip-brand-intro/SKILL.md +0 -216
- package/skills/personal-ip-brand-intro/references/intake-schema.md +0 -79
- package/skills/personal-ip-brand-intro/references/music-upload-workflow.md +0 -40
- package/skills/personal-ip-brand-intro/references/originality-rules.md +0 -42
- package/skills/personal-ip-brand-intro/references/qa-checklist.md +0 -60
- package/skills/personal-ip-brand-intro/references/rhythm-routing.md +0 -41
- package/skills/personal-ip-brand-intro/references/storyboard-contract.md +0 -42
- package/skills/pixel2motion/SKILL.md +0 -279
- package/skills/pixel2motion/references/html-delivery-template.md +0 -42
- package/skills/pixel2motion/references/motion-personality.md +0 -109
- package/skills/pixel2motion/references/reveal-patterns.md +0 -163
- package/skills/pixel2motion/references/ribbon-fitting.md +0 -90
- package/skills/pixel2motion/references/twelve-principles-for-logos.md +0 -116
- package/skills/premiere-batch-delivery/SKILL.md +0 -71
- package/skills/premiere-pro-mcp/SKILL.md +0 -161
- package/skills/promo-creator-skills/SKILL.md +0 -209
- package/skills/promo-creator-skills/references/mureka_prompt_guide.md +0 -251
- package/skills/promo-creator-skills/references/product_promo_bgm_prompting.md +0 -100
- package/skills/promo-video/SKILL.md +0 -408
- package/skills/qisi-video-remix/SKILL.md +0 -134
- package/skills/qisi-video-remix/examples/creative-plan.md +0 -133
- package/skills/qisi-video-remix/references/delivery-guide.md +0 -63
- package/skills/reel-video/SKILL.md +0 -237
- package/skills/remotion-ad-video/SKILL.md +0 -252
- package/skills/remotion-ad-video/references/ad-aesthetic-qa.md +0 -60
- package/skills/remotion-ad-video/references/ad-brief-contract.md +0 -235
- package/skills/remotion-ad-video/references/ad-exemplars.md +0 -186
- package/skills/remotion-ad-video/references/ad-intake.md +0 -54
- package/skills/remotion-ad-video/references/asset-harvest.md +0 -56
- package/skills/remotion-ad-video/references/audio-caption-system.md +0 -202
- package/skills/remotion-ad-video/references/concept-contract.md +0 -128
- package/skills/remotion-ad-video/references/creative-direction.md +0 -146
- package/skills/remotion-ad-video/references/fast-test-workflow.md +0 -86
- package/skills/remotion-ad-video/references/game-ad-patterns.md +0 -75
- package/skills/remotion-ad-video/references/hyperframes-output.md +0 -90
- package/skills/remotion-ad-video/references/industry-angle-library.md +0 -71
- package/skills/remotion-ads/SKILL.md +0 -278
- package/skills/remotion-ads/references/ad-copywriting.md +0 -229
- package/skills/remotion-ads/references/animations.md +0 -693
- package/skills/remotion-ads/references/brand-config-template.md +0 -355
- package/skills/remotion-ads/references/captions.md +0 -529
- package/skills/remotion-ads/references/carousels.md +0 -580
- package/skills/remotion-ads/references/components.md +0 -897
- package/skills/remotion-ads/references/copy-frameworks.md +0 -144
- package/skills/remotion-ads/references/formats.md +0 -436
- package/skills/remotion-ads/references/gemini-tts.md +0 -473
- package/skills/remotion-ads/references/html-in-canvas.md +0 -555
- package/skills/remotion-ads/references/local-assets.md +0 -543
- package/skills/remotion-ads/references/music.md +0 -656
- package/skills/remotion-code-motion-explainer/SKILL.md +0 -178
- package/skills/remotion-code-motion-explainer/references/code-motion-design.md +0 -86
- package/skills/remotion-code-motion-explainer/references/motion-production-patterns.md +0 -93
- package/skills/remotion-code-motion-explainer/references/production-and-qc.md +0 -99
- package/skills/remotion-code-motion-explainer/references/reference-reconstruction.md +0 -48
- package/skills/remotion-code-motion-explainer/references/ui-motion-shot-library.md +0 -62
- package/skills/remotion-motion-graphics/SKILL.md +0 -169
- package/skills/remotion-motion-graphics/references/patterns.md +0 -355
- package/skills/remotion-motion-graphics/references/polish.md +0 -102
- package/skills/remotion-motion-graphics/references/scaffold.md +0 -144
- package/skills/remotion-motion-graphics/references/traps.md +0 -152
- package/skills/remotion-resemble-ai/SKILL.md +0 -879
- package/skills/remotion-resemble-ai/rules/resemble-captions.md +0 -350
- package/skills/remotion-resemble-ai/rules/resemble-remotion-integration.md +0 -305
- package/skills/remotion-resemble-ai/rules/resemble-setup.md +0 -284
- package/skills/remotion-resemble-ai/rules/resemble-streaming-tts.md +0 -225
- package/skills/remotion-resemble-ai/rules/resemble-sync-tts.md +0 -239
- package/skills/remotion-resemble-ai/rules/resemble-voices.md +0 -213
- package/skills/remotion-resemble-ai/rules/visual-animations.md +0 -567
- package/skills/riffkit/SKILL.md +0 -196
- package/skills/riffkit/examples/any-look-styles.md +0 -11
- package/skills/riffkit/examples/faceless-and-auto.md +0 -16
- package/skills/riffkit/examples/localize-spanish.md +0 -18
- package/skills/riffkit/examples/tiktok-shop-product.md +0 -22
- package/skills/riffkit/references/anchor.md +0 -62
- package/skills/riffkit/references/api.md +0 -806
- package/skills/riffkit/references/details.md +0 -153
- package/skills/riffkit/references/errors.md +0 -69
- package/skills/riffkit/references/intents.md +0 -29
- package/skills/saas-motion-video/SKILL.md +0 -71
- package/skills/script-to-video/SKILL.md +0 -2627
- package/skills/shorts/SKILL.md +0 -372
- package/skills/shorts/references/caption-styles.md +0 -105
- package/skills/shorts/references/platform-specs.md +0 -149
- package/skills/shorts/references/remotion-patterns.md +0 -180
- package/skills/shorts/references/scoring-rubric.md +0 -106
- package/skills/smart-video-editor/SKILL.md +0 -327
- package/skills/smart-video-editor/docs/FONTS.md +0 -57
- package/skills/story-telling/SKILL.md +0 -222
- package/skills/story-telling/rules/composition.md +0 -130
- package/skills/story-telling/rules/images.md +0 -119
- package/skills/story-telling/rules/models.md +0 -98
- package/skills/story-telling/rules/narration.md +0 -87
- package/skills/story-telling/rules/pitfalls.md +0 -140
- package/skills/story-telling/rules/story-formats.md +0 -108
- package/skills/story-telling/rules/story-json.md +0 -143
- package/skills/story-telling/rules/voices.md +0 -114
- package/skills/story-telling/rules/workflow.md +0 -105
- package/skills/story-to-handdrawn-video/SKILL.md +0 -216
- package/skills/story-to-handdrawn-video/references/asset-workflow.md +0 -24
- package/skills/story-to-handdrawn-video/references/reference-style-workflow.md +0 -27
- package/skills/su-card-to-video/SKILL.md +0 -103
- package/skills/talking-head-video-pipeline/SKILL.md +0 -224
- package/skills/talking-head-video-pipeline/examples/prompts.md +0 -217
- package/skills/talking-head-video-pipeline/references/asr-adapters.md +0 -51
- package/skills/talking-head-video-pipeline/references/caption-workflow.md +0 -53
- package/skills/talking-head-video-pipeline/references/export-recipes.md +0 -78
- package/skills/talking-head-video-pipeline/references/layout-safety.md +0 -49
- package/skills/talking-head-video-pipeline/references/video-use-integration.md +0 -71
- package/skills/talking-head-video-pipeline/references/workflows/captions.md +0 -52
- package/skills/talking-head-video-pipeline/references/workflows/design.md +0 -77
- package/skills/talking-head-video-pipeline/references/workflows/doctor.md +0 -51
- package/skills/talking-head-video-pipeline/references/workflows/export.md +0 -50
- package/skills/talking-head-video-pipeline/references/workflows/init.md +0 -51
- package/skills/talking-head-video-pipeline/references/workflows/learn.md +0 -36
- package/skills/text-to-lottie/SKILL.md +0 -202
- package/skills/text-to-lottie/references/chapterization-transition-grammar.md +0 -132
- package/skills/text-to-lottie/references/design-taste.md +0 -292
- package/skills/text-to-lottie/references/lottie-spec-map.md +0 -82
- package/skills/text-to-lottie/references/motion-taste.md +0 -260
- package/skills/text-to-lottie/references/player-contract.md +0 -325
- package/skills/text-to-lottie/references/recipe-camera-scene-motion.md +0 -65
- package/skills/text-to-lottie/references/recipe-data-stats.md +0 -104
- package/skills/text-to-lottie/references/recipe-diagram-technical.md +0 -106
- package/skills/text-to-lottie/references/recipe-loaders-icons.md +0 -70
- package/skills/text-to-lottie/references/recipe-logo.md +0 -72
- package/skills/text-to-lottie/references/recipe-lower-thirds.md +0 -62
- package/skills/text-to-lottie/references/recipe-product-promo.md +0 -99
- package/skills/ultrademo/SKILL.md +0 -212
- package/skills/video-assemble/SKILL.md +0 -101
- package/skills/video-assemble-zenstory-ai/SKILL.md +0 -153
- package/skills/video-assemble-zenstory-ai/references/audio-modes.md +0 -63
- package/skills/video-assemble-zenstory-ai/references/explicit-audio-mix.md +0 -77
- package/skills/video-assemble-zenstory-ai/references/jianying/SOURCE.md +0 -14
- package/skills/video-assemble-zenstory-ai/references/narration-adoption.md +0 -103
- package/skills/video-assemble-zenstory-ai/references/packaging.md +0 -44
- package/skills/video-assemble-zenstory-ai/references/source-score.md +0 -146
- package/skills/video-assemble-zenstory-ai/references/subtitle-track.md +0 -202
- package/skills/video-editing/SKILL.md +0 -688
- package/skills/video-explainer/SKILL.md +0 -163
- package/skills/video-explainer/references/brief-to-script.md +0 -56
- package/skills/video-explainer/references/errors-and-privacy.md +0 -18
- package/skills/video-explainer/references/motion-storyboard.md +0 -82
- package/skills/video-explainer/references/render-and-verify.md +0 -62
- package/skills/video-explainer/references/review-gate.md +0 -82
- package/skills/video-explainer/references/setup-and-doctor.md +0 -33
- package/skills/video-script-builder/SKILL.md +0 -329
- package/skills/video-script-builder/examples/quick-start-transcript.md +0 -19
- package/skills/video-script-builder/references/audio-workflow.md +0 -84
- package/skills/video-script-builder/references/caption-components.md +0 -70
- package/skills/video-script-builder/references/common-pitfalls.md +0 -80
- package/skills/video-script-builder/references/component-catalog.md +0 -197
- package/skills/video-script-builder/references/component-recipes.md +0 -165
- package/skills/video-script-builder/references/gsap-patterns.md +0 -112
- package/skills/video-script-builder/references/pacing-rules.md +0 -78
- package/skills/video-script-builder/references/quality-checklist.md +0 -98
- package/skills/video-script-builder/references/remotion-patterns.md +0 -211
- package/skills/video-script-builder/references/shader-transitions.md +0 -115
- package/skills/video-script-builder/references/taste-principles.md +0 -160
- package/skills/video-scrub/SKILL.md +0 -216
- package/skills/video-scrub/references/profiles.md +0 -89
- package/skills/video-scrub/references/residue-map.md +0 -204
- package/skills/video-short-maker/SKILL.md +0 -182
- package/skills/video-shot-analysis-feishu/SKILL.md +0 -173
- package/skills/video-shotcraft/SKILL.md +0 -267
- package/skills/video-shotcraft/docs/deepseek-harness.md +0 -69
- package/skills/video-shotcraft/references/aesthetic-rules.md +0 -177
- package/skills/video-shotcraft/references/final-review.md +0 -112
- package/skills/video-shotcraft/references/guided-free-creation.md +0 -199
- package/skills/video-shotcraft/references/jianying-export.md +0 -182
- package/skills/video-shotcraft/references/music-beat-sync.md +0 -219
- package/skills/video-shotcraft/references/pipeline.md +0 -390
- package/skills/video-shotcraft/references/sequences/promo-energy-arc.md +0 -50
- package/skills/video-shotcraft/references/shots/ATTRIBUTION.md +0 -65
- package/skills/video-shotcraft/references/shots/camera/basic-3d-scene.md +0 -37
- package/skills/video-shotcraft/references/shots/camera/crash-zoom-punch.md +0 -39
- package/skills/video-shotcraft/references/shots/camera/cursor-flyover.md +0 -38
- package/skills/video-shotcraft-vincentwei10/SKILL.md +0 -316
- package/skills/video-shotcraft-vincentwei10/references/aesthetic-rules.md +0 -187
- package/skills/video-shotcraft-vincentwei10/references/final-review.md +0 -116
- package/skills/video-shotcraft-vincentwei10/references/guided-free-creation.md +0 -199
- package/skills/video-shotcraft-vincentwei10/references/jianying-export.md +0 -183
- package/skills/video-shotcraft-vincentwei10/references/music-beat-sync.md +0 -257
- package/skills/video-shotcraft-vincentwei10/references/pipeline.md +0 -401
- package/skills/video-shotcraft-vincentwei10/references/publish-upload-post.md +0 -111
- package/skills/video-shotcraft-vincentwei10/references/sequences/promo-energy-arc.md +0 -50
- package/skills/video-shotcraft-vincentwei10/references/shots/ATTRIBUTION.md +0 -62
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/basic-3d-scene.md +0 -41
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/crash-zoom-punch.md +0 -52
- package/skills/video-shotcraft-vincentwei10/references/shots/camera/cursor-flyover.md +0 -39
- package/skills/video-structure-analyzer/SKILL.md +0 -148
- package/skills/video-structure-analyzer/examples/xhs-rook-time-spend/xhs-rook-time-spend_/346/213/211/347/211/207/346/213/206/350/247/243.md +0 -50
- package/skills/video-structure-analyzer/examples/xhs-smelly-cat/xhs-smelly-cat_/346/213/211/347/211/207/346/213/206/350/247/243.md +0 -19
- package/skills/video-toolkit/SKILL.md +0 -686
- package/skills/videocut/SKILL.md +0 -159
- package/skills/videodb/SKILL.md +0 -497
- package/skills/videodb/reference/api-reference.md +0 -741
- package/skills/videodb/reference/capture-reference.md +0 -399
- package/skills/videodb/reference/capture.md +0 -110
- package/skills/videodb/reference/editor-reference.md +0 -506
- package/skills/videodb/reference/editor.md +0 -389
- package/skills/videodb/reference/generative.md +0 -344
- package/skills/videodb/reference/indexing-reference.md +0 -481
- package/skills/videodb/reference/indexing.md +0 -537
- package/skills/videodb/reference/legacy/index-reference.md +0 -223
- package/skills/videodb/reference/legacy/index.md +0 -241
- package/skills/videodb/reference/legacy/search.md +0 -249
- package/skills/videodb/reference/migration.md +0 -113
- package/skills/vlog-auto-edit/SKILL.md +0 -982
- package/skills/vlog-auto-edit/examples/project_structure.md +0 -84
- package/skills/vox-animated-ad-mcp/SKILL.md +0 -419
- package/skills/vox-director/SKILL.md +0 -351
- package/skills/vox-director/references/beat-layer.md +0 -143
- package/skills/vox-director/references/host-mode.md +0 -120
- package/skills/vox-director/references/local-engine.md +0 -73
- package/skills/vox-director/references/models-and-gotchas.md +0 -91
- package/skills/vox-director/references/prompt-guide.md +0 -275
- package/skills/vox-director/references/voices.md +0 -59
- package/skills/xingchen-vox-collage/SKILL.md +0 -251
- package/skills/xingchen-vox-collage/references/asset-layer-contract.md +0 -98
- package/skills/xingchen-vox-collage/references/creative-exploration.md +0 -19
- package/skills/xingchen-vox-collage/references/learned-branches.md +0 -34
- package/skills/xingchen-vox-collage/references/remotion-scene-contract.md +0 -77
- package/skills/xingchen-vox-collage/references/visual-language.md +0 -74
- package/skills/xingchen-vox-collage/references/visual-qa.md +0 -59
- package/skills/youtube/SKILL.md +0 -147
- package/skills/youtube/references/algorithm-guide.md +0 -59
- package/skills/youtube/references/analytics-benchmarks.md +0 -67
- package/skills/youtube/references/dataforseo-integration.md +0 -51
- package/skills/youtube/references/monetization-guide.md +0 -62
- package/skills/youtube/references/repurposing-guide.md +0 -54
- package/skills/youtube/references/retention-scripting-guide.md +0 -75
- package/skills/youtube/references/seo-playbook.md +0 -77
- package/skills/youtube/references/shorts-playbook.md +0 -64
- package/skills/youtube/references/thumbnail-ctr-guide.md +0 -73
- package/skills/youtube-shorts-factory/SKILL.md +0 -358
- package/skills/youtube-shorts-factory/resources/adaptation-guide.md +0 -133
- package/skills/youtube-shorts-factory/resources/storyboard-template.md +0 -271
- package/skills/youtube-shorts-factory/resources/workflow-steps.md +0 -139
- package/studio/ui/dist/assets/ExportCenter-DEyy1vs_.js +0 -1
- package/studio/ui/dist/assets/SettingsModal-CQmsA2A2.js +0 -2
- package/studio/ui/dist/assets/es-AqUfIkAy.js +0 -1
- package/studio/ui/dist/assets/index-C7moXjTY.css +0 -1
- package/studio/ui/dist/assets/index-DdU5QNpY.js +0 -1623
- package/studio/ui/dist/assets/ja-YwiCB4QQ.js +0 -1
- package/studio/ui/dist/assets/ko-CKtBPDze.js +0 -1
- package/studio/ui/dist/assets/zh-CN-DtNEwKWJ.js +0 -1
package/studio/server/skills.mjs
CHANGED
|
@@ -16,8 +16,9 @@ import { copyFileSync, existsSync, mkdirSync, readFileSync, readdirSync, rmSync,
|
|
|
16
16
|
import { homedir } from 'node:os';
|
|
17
17
|
import { basename, dirname, join, resolve, sep } from 'node:path';
|
|
18
18
|
import { fileURLToPath } from 'node:url';
|
|
19
|
-
import { downloadFiles, listFiles, resolveCommit } from './fetch-github.mjs';
|
|
19
|
+
import { downloadFiles, GITHUB_RAW, listFiles, rawUrl, resolveCommit, within } from './fetch-github.mjs';
|
|
20
20
|
import { HttpError } from './http.mjs';
|
|
21
|
+
import { summaryFor } from './skill-summaries.mjs';
|
|
21
22
|
|
|
22
23
|
/** Where a skill lands in a project: Pi's own folder for a project's skills (relative to the project). */
|
|
23
24
|
export const SKILLS_IN_PROJECT = join('.pi', 'skills');
|
|
@@ -124,6 +125,16 @@ export function listSkills() {
|
|
|
124
125
|
return skills;
|
|
125
126
|
}
|
|
126
127
|
|
|
128
|
+
/**
|
|
129
|
+
* What the Skills page shows: every skill, each with one line of its own in `lang` (skill-summaries.mjs) — the
|
|
130
|
+
* hand-written line where there is one, else the first sentence of its description. `listSkills` stays the plain list,
|
|
131
|
+
* because that is what the rest of the server works with.
|
|
132
|
+
* @param {string} [lang] @returns {(Skill & { summary: string })[]}
|
|
133
|
+
*/
|
|
134
|
+
export function listSkillsFor(lang) {
|
|
135
|
+
return listSkills().map((skill) => ({ ...skill, summary: summaryFor(skill.id, skill.description, lang ?? '') }));
|
|
136
|
+
}
|
|
137
|
+
|
|
127
138
|
/** The folders in `root`, sorted. @param {string} root @returns {string[]} */
|
|
128
139
|
function folders(root) {
|
|
129
140
|
try {
|
|
@@ -213,6 +224,43 @@ export function installSkills(project, ids) {
|
|
|
213
224
|
return { installed, missing };
|
|
214
225
|
}
|
|
215
226
|
|
|
227
|
+
/**
|
|
228
|
+
* The skills the app is made of: `aicut` is the manual its agent reads in every project, and `aicut-motion` is the
|
|
229
|
+
* art direction every starter film follows (templates.mjs) — taking either away leaves a library that looks complete
|
|
230
|
+
* and is not, so they are the two the Skills page will not remove.
|
|
231
|
+
*/
|
|
232
|
+
export const CORE_SKILLS = /** @type {const} */ (['aicut', 'aicut-motion']);
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Remove a skill from the library: its folder goes from disk — from `~/.aicut/skill-library` for one fetched here, from
|
|
236
|
+
* the `skills/` beside the package for one the app brings. A project that already carries a copy under `.pi/skills`
|
|
237
|
+
* keeps it: that copy is the project's, and a film has to open the same way in a year.
|
|
238
|
+
*
|
|
239
|
+
* The one `CORE_SKILLS` is refused (409): the app is made of it, and a reinstall would only put it back.
|
|
240
|
+
* @param {string} id the skill's folder
|
|
241
|
+
* @returns {{ id: string, source: Skill['source'] }}
|
|
242
|
+
*/
|
|
243
|
+
export function removeSkill(id) {
|
|
244
|
+
const skill = listSkills().find((one) => one.id === id);
|
|
245
|
+
if (!skill) throw new HttpError(404, 'no such skill');
|
|
246
|
+
if (CORE_SKILLS.includes(/** @type {any} */ (id))) throw new HttpError(409, `${id} is part of the app and cannot be removed`);
|
|
247
|
+
const root = skill.source === 'app' ? appSkillsFolder() : downloadedFolder();
|
|
248
|
+
if (!root) throw new HttpError(404, 'no such skill');
|
|
249
|
+
const dir = resolve(root, id);
|
|
250
|
+
/* whatever a request says, the folder removed is inside the library it came from */
|
|
251
|
+
if (!`${dir}${sep}`.startsWith(`${resolve(root)}${sep}`)) throw new HttpError(400, 'that is not a skill folder');
|
|
252
|
+
if (!existsSync(join(dir, 'SKILL.md'))) throw new HttpError(404, 'no such skill');
|
|
253
|
+
rmSync(dir, { recursive: true, force: true });
|
|
254
|
+
if (skill.source === 'github') {
|
|
255
|
+
const sources = readSources();
|
|
256
|
+
if (sources[id]) {
|
|
257
|
+
delete sources[id];
|
|
258
|
+
writeSources(sources);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return { id, source: skill.source };
|
|
262
|
+
}
|
|
263
|
+
|
|
216
264
|
/* ── a skill from a GitHub repository (fetch-github.mjs: the API names the commit and lists the files, raw sends them) ── */
|
|
217
265
|
|
|
218
266
|
/** Files bigger than this are not part of a skill (a skill is words; a picture in one is small). */
|
|
@@ -245,8 +293,9 @@ export function parseRepo(input) {
|
|
|
245
293
|
}
|
|
246
294
|
|
|
247
295
|
/**
|
|
248
|
-
* The ways GitHub is asked, in order: itself, then the
|
|
249
|
-
*
|
|
296
|
+
* The ways GitHub is asked, in order: itself, then the mirrors that carry it (the ones the sounds come through) — on a
|
|
297
|
+
* network where GitHub is not reachable, a fetch that only knows github.com is a fetch that never works. A mirror may
|
|
298
|
+
* carry one of the two hosts and not the other, so each entry says what it can do and the callers pick their own.
|
|
250
299
|
* `AICUT_SKILLS_API` and `AICUT_SKILLS_RAW` name hosts of one's own instead (a test's stub among them).
|
|
251
300
|
* @returns {{ api?: string, raw?: string }[]}
|
|
252
301
|
*/
|
|
@@ -263,17 +312,78 @@ function githubHosts() {
|
|
|
263
312
|
return [
|
|
264
313
|
{},
|
|
265
314
|
{ api: 'https://gh-proxy.com/https://api.github.com', raw: 'https://gh-proxy.com/https://raw.githubusercontent.com' },
|
|
315
|
+
/* the file host only: the API of this one is not known to answer, and the listing needs no mirror once it is read */
|
|
316
|
+
{ raw: 'https://ghfast.top/https://raw.githubusercontent.com' },
|
|
266
317
|
];
|
|
267
318
|
}
|
|
268
319
|
|
|
320
|
+
/** How long a file host is given to show it is there, before the next one is asked. */
|
|
321
|
+
const PROBE_MS = 6000;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* The file host the download will go to. The API and the files are different addresses, and which one listed the
|
|
325
|
+
* repository says nothing about which one can send the bytes: on some networks `api.github.com` answers while
|
|
326
|
+
* `raw.githubusercontent.com` never does. So each host is asked once for a byte of the skill's own `SKILL.md` — cheap,
|
|
327
|
+
* and the answer settles it — and the whole download then goes to the first that answers, the listing's host first.
|
|
328
|
+
* @param {{ owner: string, repo: string }} at @param {string} commit @param {string[]} folder
|
|
329
|
+
* @param {{ path: string, size: number }[]} files
|
|
330
|
+
* @param {{ signal?: AbortSignal, hosts: { api?: string, raw?: string } }} options
|
|
331
|
+
* @returns {Promise<{ api?: string, raw?: string }>}
|
|
332
|
+
*/
|
|
333
|
+
async function rawThatAnswers(at, commit, folder, files, { signal, hosts }) {
|
|
334
|
+
const probe = files.find((file) => file.path === 'SKILL.md') ?? files[0];
|
|
335
|
+
if (!probe) return hosts;
|
|
336
|
+
const parts = [...folder, ...probe.path.split('/')];
|
|
337
|
+
/* the host that listed it first, then the rest — a host that says nothing means GitHub's own file host */
|
|
338
|
+
const asked = [hosts.raw, ...githubHosts().map((one) => one.raw)];
|
|
339
|
+
for (const raw of asked.filter((one, i) => asked.indexOf(one) === i)) {
|
|
340
|
+
try {
|
|
341
|
+
const res = await fetch(rawUrl(raw ?? GITHUB_RAW, at, commit, parts), {
|
|
342
|
+
headers: { range: 'bytes=0-0', 'user-agent': 'AICUT-Studio' },
|
|
343
|
+
signal: within(signal, PROBE_MS),
|
|
344
|
+
});
|
|
345
|
+
await res.body?.cancel();
|
|
346
|
+
if (res.ok) return { ...hosts, ...(raw ? { raw } : {}) };
|
|
347
|
+
} catch { /* nothing there: the next host is asked */ }
|
|
348
|
+
}
|
|
349
|
+
/* none of them answered: the download says so, in the words it already has */
|
|
350
|
+
return hosts;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* A host that answered one byte may still fail the many — a mirror that throttles, a link that drops under four files
|
|
355
|
+
* at once — and which host answered the byte says nothing about which can send the rest. So a file host that fails on
|
|
356
|
+
* the network is passed over for the next, and only the network: a 404 or a 422 is the repository's answer and would be
|
|
357
|
+
* the next host's too.
|
|
358
|
+
* @param {{ owner: string, repo: string }} at @param {string} commit @param {string[]} folder
|
|
359
|
+
* @param {{ path: string, size: number }[]} files @param {string} stage
|
|
360
|
+
* @param {{ signal?: AbortSignal, hosts: { api?: string, raw?: string } }} options
|
|
361
|
+
*/
|
|
362
|
+
async function downloadFromAnywhere(at, commit, folder, files, stage, { signal, hosts }) {
|
|
363
|
+
const asked = [hosts.raw, ...githubHosts().map((one) => one.raw)];
|
|
364
|
+
/** @type {unknown} */
|
|
365
|
+
let last = null;
|
|
366
|
+
for (const raw of asked.filter((one, i) => asked.indexOf(one) === i)) {
|
|
367
|
+
try {
|
|
368
|
+
await downloadFiles(at, commit, folder, files, { dir: stage, signal, hosts: { ...hosts, raw } });
|
|
369
|
+
return;
|
|
370
|
+
} catch (e) {
|
|
371
|
+
if (/** @type {{ code?: string }} */ (e)?.code !== 'network' || signal?.aborted) throw e;
|
|
372
|
+
last = e;
|
|
373
|
+
rmSync(stage, { recursive: true, force: true });
|
|
374
|
+
mkdirSync(stage, { recursive: true });
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
throw last ?? new HttpError(502, 'GitHub could not be reached');
|
|
378
|
+
}
|
|
379
|
+
|
|
269
380
|
/**
|
|
270
381
|
* Fetch a repository's skills into AICUT's home, one folder per skill (every folder holding a `SKILL.md`). They are then
|
|
271
382
|
* offered like the app's own (`listSkills`), and a project can be made with them.
|
|
272
383
|
* @param {string} input a repository, or a link to a folder in one
|
|
273
384
|
* @param {{ signal?: AbortSignal }} [options]
|
|
274
385
|
* @returns {Promise<{ skills: Skill[], commit: string }>}
|
|
275
|
-
*/
|
|
276
|
-
export async function addSkillsFromGitHub(input, { signal } = {}) {
|
|
386
|
+
*/export async function addSkillsFromGitHub(input, { signal } = {}) {
|
|
277
387
|
const { owner, repo, folder } = parseRepo(input);
|
|
278
388
|
const at = { owner, repo };
|
|
279
389
|
/* the repository as it is now: the commit, and every file in it */
|
|
@@ -281,7 +391,9 @@ export async function addSkillsFromGitHub(input, { signal } = {}) {
|
|
|
281
391
|
let read = null;
|
|
282
392
|
/** @type {unknown} */
|
|
283
393
|
let last = null;
|
|
284
|
-
for (const hosts of githubHosts()) {
|
|
394
|
+
for (const [i, hosts] of githubHosts().entries()) {
|
|
395
|
+
/* an entry that only knows a file host has nothing to say about listing */
|
|
396
|
+
if (i > 0 && !hosts.api) continue;
|
|
285
397
|
try {
|
|
286
398
|
const { commit } = await resolveCommit(at, folder.length ? folder : null, false, { signal, hosts });
|
|
287
399
|
read = { commit, files: await listFiles(at, commit, [], { signal, hosts }), hosts };
|
|
@@ -327,7 +439,9 @@ export async function addSkillsFromGitHub(input, { signal } = {}) {
|
|
|
327
439
|
const stage = join(downloadedFolder(), `.fetch-${process.pid}-${Date.now()}`);
|
|
328
440
|
try {
|
|
329
441
|
rmSync(stage, { recursive: true, force: true });
|
|
330
|
-
|
|
442
|
+
const folderPath = dir ? dir.split('/') : [];
|
|
443
|
+
const send = await rawThatAnswers(at, commit, folderPath, inside, { signal, hosts });
|
|
444
|
+
await downloadFromAnywhere(at, commit, folderPath, inside, stage, { signal, hosts: send });
|
|
331
445
|
const said = frontmatter(readFileSync(join(stage, 'SKILL.md'), 'utf8'));
|
|
332
446
|
const id = skillId(said.name || basename(dir || repo));
|
|
333
447
|
const to = join(downloadedFolder(), id);
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
// @ts-check
|
|
2
|
+
/**
|
|
3
|
+
* The styles a person added from a repository (`POST /api/styles/github`), kept beside them
|
|
4
|
+
* (`~/.aicut/style-library/styles.json`): each is a whole starter film like the built-in ones (templates.mjs), whose
|
|
5
|
+
* project carries the skill it came from — the skill the film's next editor follows. The page itself is generated here,
|
|
6
|
+
* in a palette chosen from the skill's id, so the card shows a real frame (template-posters.mjs) and a project made
|
|
7
|
+
* from it already draws; the skill is what says how the film should be restyled.
|
|
8
|
+
*
|
|
9
|
+
* Not `~/.aicut/skills`: that is the name the agent's own scanner walks. This is AICUT's list of style cards only.
|
|
10
|
+
*/
|
|
11
|
+
import { mkdirSync, readFileSync, rmSync, writeFileSync } from 'node:fs';
|
|
12
|
+
import { homedir } from 'node:os';
|
|
13
|
+
import { join } from 'node:path';
|
|
14
|
+
import { filmShell, motionMath, pageHead } from './templates-page.mjs';
|
|
15
|
+
|
|
16
|
+
/** Where the list lives. */
|
|
17
|
+
const stylesFile = () => join(studioHome(), 'style-library', 'styles.json');
|
|
18
|
+
|
|
19
|
+
/** The home this list sits in (projects.mjs's, so a test's AICUT_HOME keeps it apart too). */
|
|
20
|
+
const studioHome = () => process.env.AICUT_HOME || join(homedir(), '.aicut');
|
|
21
|
+
|
|
22
|
+
/** What a style says of itself on disk. @typedef {{ id: string, title: string, hint: string, skill: string,
|
|
23
|
+
* repo: string, seconds: number, width: number, height: number, at: string }} StyleEntry */
|
|
24
|
+
|
|
25
|
+
/** The styles this person added, oldest last. @returns {StyleEntry[]} */
|
|
26
|
+
export function userStyles() {
|
|
27
|
+
try {
|
|
28
|
+
const list = JSON.parse(readFileSync(stylesFile(), 'utf8'));
|
|
29
|
+
return Array.isArray(list) ? list.filter((one) => one && typeof one.id === 'string' && typeof one.skill === 'string') : [];
|
|
30
|
+
} catch {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/** The folder-name part of a style's id: lowercase letters, digits and hyphens, short. */
|
|
36
|
+
const slug = (/** @type {string} */ text) => text.toLowerCase().replace(/[^a-z0-9]+/g, '-').replace(/^-+|-+$/g, '').slice(0, 40).replace(/-+$/g, '') || 'style';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Register what a repository's skills became (`skills.mjs` fetched them): one style per skill, the skill's own name and
|
|
40
|
+
* words on the card. A skill already a style of is replaced — fetching it again is how its card is refreshed.
|
|
41
|
+
* @param {{ id: string, name?: string, description?: string, from?: string }[]} skills
|
|
42
|
+
* @returns {StyleEntry[]} the entries now in the list, the new ones last
|
|
43
|
+
*/
|
|
44
|
+
export function addUserStyles(skills) {
|
|
45
|
+
const kept = userStyles().filter((one) => !skills.some((skill) => one.skill === skill.id));
|
|
46
|
+
const now = new Date().toISOString();
|
|
47
|
+
const added = skills.map((skill) => ({
|
|
48
|
+
id: slug(`gh-${skill.id}`),
|
|
49
|
+
title: skill.name || skill.id,
|
|
50
|
+
hint: skill.description || '',
|
|
51
|
+
skill: skill.id,
|
|
52
|
+
repo: skill.from || '',
|
|
53
|
+
seconds: 6,
|
|
54
|
+
width: 1920,
|
|
55
|
+
height: 1080,
|
|
56
|
+
at: now,
|
|
57
|
+
}));
|
|
58
|
+
const list = [...kept, ...added];
|
|
59
|
+
writeList(list);
|
|
60
|
+
return list;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/** A style gone from the list (its skill stays in the skill library). @param {string} id @returns {boolean} */
|
|
64
|
+
export function removeUserStyle(id) {
|
|
65
|
+
const list = userStyles();
|
|
66
|
+
const rest = list.filter((one) => one.id !== id);
|
|
67
|
+
if (rest.length === list.length) return false;
|
|
68
|
+
writeList(rest);
|
|
69
|
+
rmSync(join(studioHome(), 'template-covers', id), { recursive: true, force: true });
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** @param {StyleEntry[]} list */
|
|
74
|
+
function writeList(list) {
|
|
75
|
+
mkdirSync(join(studioHome(), 'style-library'), { recursive: true });
|
|
76
|
+
writeFileSync(stylesFile(), `${JSON.stringify(list, null, 2)}\n`);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** A colour and a composition chosen from a skill's id: the same skill lands on the same palette every time. */
|
|
80
|
+
const HUES = [14, 42, 96, 152, 188, 214, 262, 292, 328];
|
|
81
|
+
const hashOf = (/** @type {string} */ id) => {
|
|
82
|
+
let hash = 0;
|
|
83
|
+
for (let i = 0; i < id.length; i++) hash = (hash * 31 + id.charCodeAt(i)) >>> 0;
|
|
84
|
+
return hash;
|
|
85
|
+
};
|
|
86
|
+
const hueOf = (/** @type {string} */ id) => HUES[hashOf(id) % HUES.length];
|
|
87
|
+
|
|
88
|
+
/** The three compositions a style card can be drawn in, picked by the same hash as its colour. */
|
|
89
|
+
const VARIANTS = /** @type {const} */ (['rings', 'bars', 'grid']);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* How big the name is set: a name is one line, and one line has to fit the column whatever it says (a 4-character
|
|
93
|
+
* Chinese name and a 22-character id are not the same picture). Counted in ems — a CJK character is one, a Latin one
|
|
94
|
+
* about half.
|
|
95
|
+
*/
|
|
96
|
+
function nameSize(/** @type {string} */ title) {
|
|
97
|
+
let ems = 0;
|
|
98
|
+
for (const ch of String(title ?? '')) ems += /[\u2e80-\uffff]/.test(ch) ? 1 : /[A-Z]/.test(ch) ? 0.62 : 0.53;
|
|
99
|
+
return Math.max(44, Math.min(116, Math.round(920 / Math.max(3, ems))));
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* The art a card is drawn with: one shape language per variant, all of it in the skill's own hue. Every element is in
|
|
104
|
+
* place at t=0 (nothing is grown from nothing), because the cover is a frame of this page at its first moment.
|
|
105
|
+
* @param {string} variant @param {number} hue @returns {string}
|
|
106
|
+
*/
|
|
107
|
+
function artMarkup(variant, hue) {
|
|
108
|
+
if (variant === 'rings') {
|
|
109
|
+
return `<svg class="art" id="art" viewBox="0 0 620 620" width="620" height="620" fill="none">
|
|
110
|
+
<circle id="a1" cx="310" cy="310" r="252" stroke="hsl(${hue} 62% 62%)" stroke-width="2" stroke-dasharray="3 16" opacity="0.9"/>
|
|
111
|
+
<circle id="a2" cx="310" cy="310" r="184" stroke="hsl(${hue} 70% 64%)" stroke-width="2" opacity="0.55"/>
|
|
112
|
+
<circle id="a3" cx="310" cy="310" r="104" fill="hsl(${hue} 74% 56%)"/>
|
|
113
|
+
<line id="a4" x1="310" y1="18" x2="310" y2="602" stroke="hsl(${hue} 55% 78%)" stroke-width="1" opacity="0.4"/>
|
|
114
|
+
</svg>`;
|
|
115
|
+
}
|
|
116
|
+
if (variant === 'bars') {
|
|
117
|
+
const heights = [168, 268, 372, 470, 330, 214];
|
|
118
|
+
const bars = heights.map((h, i) =>
|
|
119
|
+
`<rect id="b${i}" x="${28 + i * 96}" y="${596 - h}" width="60" height="${h}" fill="hsl(${hue} ${i === 3 ? 76 : 58}% ${i === 3 ? 60 : 44}%)"/>`).join('\n ');
|
|
120
|
+
return `<svg class="art" id="art" viewBox="0 0 620 620" width="620" height="620">
|
|
121
|
+
${bars}
|
|
122
|
+
<line x1="16" y1="596" x2="604" y2="596" stroke="hsl(${hue} 40% 70%)" stroke-width="1.5" opacity="0.5"/>
|
|
123
|
+
</svg>`;
|
|
124
|
+
}
|
|
125
|
+
const lines = [];
|
|
126
|
+
for (let i = 0; i <= 6; i++) {
|
|
127
|
+
lines.push(`<line x1="${24 + i * 95}" y1="16" x2="${24 + i * 95}" y2="604" stroke="hsl(${hue} 40% 72%)" stroke-width="1" opacity="0.28"/>`);
|
|
128
|
+
lines.push(`<line x1="24" y1="${16 + i * 98}" x2="594" y2="${16 + i * 98}" stroke="hsl(${hue} 40% 72%)" stroke-width="1" opacity="0.28"/>`);
|
|
129
|
+
}
|
|
130
|
+
const cells = [[1, 1], [3, 1], [4, 2], [2, 3], [5, 4]]
|
|
131
|
+
.map(([col, row], i) => `<rect id="c${i}" x="${29 + col * 95}" y="${21 + row * 98}" width="86" height="88" fill="hsl(${hue} ${70 + i * 2}% ${58 - i * 3}%)" opacity="${0.9 - i * 0.09}"/>`)
|
|
132
|
+
.join('\n ');
|
|
133
|
+
return `<svg class="art" id="art" viewBox="0 0 620 620" width="620" height="620">
|
|
134
|
+
<g id="lattice">
|
|
135
|
+
${lines.join('\n ')}
|
|
136
|
+
</g>
|
|
137
|
+
${cells}
|
|
138
|
+
</svg>`;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* The starter film a style's project is made of: one page that already draws in a palette and a composition the style
|
|
143
|
+
* owns, and the film's shell around it. It is a real still — a ground with a light in it, a shape language in the
|
|
144
|
+
* accent colour, the name set to the column, a rule and a foot — not a coloured band with a label: a card whose picture
|
|
145
|
+
* is this page's first frame has to look like the first frame of a film somebody could have made. What the look *means*
|
|
146
|
+
* — what to restyle it into — is the skill the project carries.
|
|
147
|
+
* @param {StyleEntry} entry
|
|
148
|
+
* @returns {{ 'film.html': string, [page: string]: string }}
|
|
149
|
+
*/
|
|
150
|
+
export function styleFiles(entry) {
|
|
151
|
+
const hue = hueOf(entry.id);
|
|
152
|
+
const variant = VARIANTS[hashOf(entry.id) % VARIANTS.length];
|
|
153
|
+
const size = nameSize(entry.title);
|
|
154
|
+
const page = `${pageHead(escapeHtml(entry.title))}
|
|
155
|
+
<style>
|
|
156
|
+
body { background: #0A0B0D; color: hsl(${hue} 30% 96%); }
|
|
157
|
+
.ground { position: absolute; inset: 0; background:
|
|
158
|
+
radial-gradient(760px 760px at 76% 44%, hsl(${hue} 52% 26% / 0.85), transparent 66%),
|
|
159
|
+
radial-gradient(900px 620px at 6% 96%, hsl(${hue} 62% 40% / 0.22), transparent 62%),
|
|
160
|
+
linear-gradient(158deg, hsl(${hue} 22% 13%), hsl(${hue} 26% 7%) 72%); }
|
|
161
|
+
.art { position: absolute; right: 108px; top: 50%; margin-top: -310px; }
|
|
162
|
+
.copy { position: absolute; left: 118px; top: 50%; margin-top: -168px; width: 900px; }
|
|
163
|
+
.kicker { margin: 0 0 26px; font-size: 21px; font-weight: 600; letter-spacing: 0.36em; text-transform: uppercase;
|
|
164
|
+
color: hsl(${hue} 44% 72%); }
|
|
165
|
+
.name { margin: 0; font-size: ${size}px; line-height: 0.98; font-weight: 800; letter-spacing: -0.025em;
|
|
166
|
+
color: hsl(${hue} 26% 98%); word-break: break-word; }
|
|
167
|
+
.rule { height: 3px; width: 268px; margin: 36px 0 0; background: hsl(${hue} 76% 58%); transform-origin: left center; }
|
|
168
|
+
.foot { position: absolute; left: 120px; right: 120px; bottom: 62px; display: flex; justify-content: flex-end;
|
|
169
|
+
font-size: 18px; font-weight: 600; letter-spacing: 0.24em; color: hsl(${hue} 18% 56%); }
|
|
170
|
+
.bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; transform-origin: left center;
|
|
171
|
+
background: hsl(${hue} 76% 58%); }
|
|
172
|
+
</style>
|
|
173
|
+
</head>
|
|
174
|
+
<body>
|
|
175
|
+
<div class="ground"></div>
|
|
176
|
+
${artMarkup(variant, hue)}
|
|
177
|
+
<div class="copy">
|
|
178
|
+
<p class="kicker" id="kicker">${escapeHtml(entry.repo || 'AICUT')}</p>
|
|
179
|
+
<h1 class="name" id="name">${escapeHtml(entry.title)}</h1>
|
|
180
|
+
<div class="rule" id="rule"></div>
|
|
181
|
+
</div>
|
|
182
|
+
<div class="foot"><span id="count">${entry.seconds}s</span></div>
|
|
183
|
+
<div class="bar" id="bar"></div>
|
|
184
|
+
<script>
|
|
185
|
+
var DUR = ${entry.seconds};
|
|
186
|
+
var VARIANT = ${JSON.stringify(variant)};
|
|
187
|
+
${motionMath}
|
|
188
|
+
/* Nothing here hides at t=0: a cover is this page's first frame, and a project opens on it. What moves is the shape
|
|
189
|
+
language (a slow turn, a scale, a stagger), the name's rise of a few pixels, and the hairline at the foot. */
|
|
190
|
+
function frame(t) {
|
|
191
|
+
var p = prog(t, 0, DUR, EASE.linear);
|
|
192
|
+
el('bar').style.transform = 'scaleX(' + p.toFixed(4) + ')';
|
|
193
|
+
el('rule').style.transform = 'scaleX(' + mix(0.62, 1, prog(t, 0.15, 1.5, EASE.out)).toFixed(3) + ')';
|
|
194
|
+
el('name').style.transform = 'translateY(' + mix(14, 0, prog(t, 0.1, 1.6, EASE.out)).toFixed(2) + 'px)';
|
|
195
|
+
el('kicker').style.opacity = String(mix(0.7, 1, prog(t, 0.4, 1.5, EASE.smooth)));
|
|
196
|
+
if (VARIANT === 'rings') {
|
|
197
|
+
el('a1').style.transform = 'rotate(' + (t * 9).toFixed(2) + 'deg)';
|
|
198
|
+
el('a1').style.transformOrigin = '310px 310px';
|
|
199
|
+
el('a3').style.transform = 'scale(' + mix(0.9, 1.06, prog(t, 0, DUR, EASE.inOut)).toFixed(4) + ')';
|
|
200
|
+
el('a3').style.transformOrigin = '310px 310px';
|
|
201
|
+
el('a4').style.transform = 'scaleY(' + mix(0.55, 1, prog(t, 0.2, 1.8, EASE.out)).toFixed(3) + ')';
|
|
202
|
+
el('a4').style.transformOrigin = '310px 310px';
|
|
203
|
+
}
|
|
204
|
+
if (VARIANT === 'bars') {
|
|
205
|
+
for (var i = 0; i < 6; i++) {
|
|
206
|
+
var one = el('b' + i);
|
|
207
|
+
one.style.transform = 'scaleY(' + mix(0.58, 1, prog(t, i * 0.09, 1.5, EASE.out)).toFixed(3) + ')';
|
|
208
|
+
one.style.transformOrigin = '0px 596px';
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
if (VARIANT === 'grid') {
|
|
212
|
+
el('lattice').style.opacity = String(mix(0.55, 1, prog(t, 0, 1.4, EASE.smooth)));
|
|
213
|
+
for (var c = 0; c < 5; c++) {
|
|
214
|
+
var cell = el('c' + c);
|
|
215
|
+
cell.style.transform = 'scale(' + mix(0.86, 1, prog(t, 0.12 + c * 0.11, 0.9, EASE.snap)).toFixed(3) + ')';
|
|
216
|
+
cell.style.transformOrigin = 'center';
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
window.film = { duration: DUR, frame: frame, ready: Promise.resolve() };
|
|
221
|
+
</script>
|
|
222
|
+
</body>
|
|
223
|
+
</html>
|
|
224
|
+
`;
|
|
225
|
+
return {
|
|
226
|
+
'film.html': filmShell(escapeHtml(entry.title), entry.width, entry.height, entry.id, entry.seconds),
|
|
227
|
+
[`pages/${entry.id}.html`]: page,
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/** Text that comes from a repository goes into a page: a name with `<` in it would be markup there, not a name.
|
|
232
|
+
* @param {string} text */
|
|
233
|
+
function escapeHtml(text) {
|
|
234
|
+
return String(text ?? '').replace(/[&<>"']/g, (c) => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[c] ?? c));
|
|
235
|
+
}
|
|
@@ -17,7 +17,7 @@ import { dirname, join } from 'node:path';
|
|
|
17
17
|
import { writeAtomic } from './atomic.mjs';
|
|
18
18
|
import { pageFrame } from './pageframes.mjs';
|
|
19
19
|
import { studioHome } from './projects.mjs';
|
|
20
|
-
import {
|
|
20
|
+
import { templateById } from './templates.mjs';
|
|
21
21
|
|
|
22
22
|
/** The width a cover is drawn at: a card's picture at twice its size. */
|
|
23
23
|
const COVER_W = 480;
|
|
@@ -51,7 +51,7 @@ async function folderOf(template) {
|
|
|
51
51
|
* @returns {Promise<Buffer | null>}
|
|
52
52
|
*/
|
|
53
53
|
export async function templateCover(id, pages) {
|
|
54
|
-
const template =
|
|
54
|
+
const template = templateById(id);
|
|
55
55
|
if (!template) return null;
|
|
56
56
|
let filling_ = filling.get(id);
|
|
57
57
|
if (!filling_) {
|
|
@@ -1,93 +1,93 @@
|
|
|
1
|
-
// @ts-check
|
|
2
|
-
/**
|
|
3
|
-
* What every starter film is built from (templates.mjs for the layouts, templates-styles.mjs for the seven design
|
|
4
|
-
* systems): a page's `<head>` and the base style, the math its `frame(t)` shares, and the `film.html` that shows a page
|
|
5
|
-
* from 0 to its length.
|
|
6
|
-
*
|
|
7
|
-
* The pages are strings, not files beside this module: Studio's server is bundled into the app, and a page read from
|
|
8
|
-
* disk at runtime would not be there in the installed build.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/** A page's `<head>`, up to its base style (each page adds its own after): transparent, no scrollbars. */
|
|
12
|
-
export const pageHead = (/** @type {string} */ title) => `<!doctype html>
|
|
13
|
-
<html lang="zh-CN">
|
|
14
|
-
<head>
|
|
15
|
-
<meta charset="utf-8">
|
|
16
|
-
<title>${title}</title>
|
|
17
|
-
<style>
|
|
18
|
-
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
|
|
19
|
-
body { font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
|
|
20
|
-
</style>`;
|
|
21
|
-
|
|
22
|
-
/** The little math a layout page's `frame(t)` shares: clamped interpolation, ease-out, and a segment of t as 0…1. */
|
|
23
|
-
export const pageMath = ` var clamp = function (v) { return v < 0 ? 0 : v > 1 ? 1 : v; };
|
|
24
|
-
var seg = function (t, a, b) { return clamp((t - a) / (b - a)); };
|
|
25
|
-
var ease = function (x) { var c = clamp(x); return 1 - Math.pow(1 - c, 3); };
|
|
26
|
-
var el = function (id) { return document.getElementById(id); };`;
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* The whole of `lib/motion.js` from the direction skill (`skills/aicut-motion/references/pages.md`), in the plain
|
|
30
|
-
* functions a page runs: easing that is exactly 0 and exactly 1 at the ends, `prog`, `settle` (lands on a beat, optional
|
|
31
|
-
* bounce), `stepped` (a hand-made boil), `wobble`, `drawOn`, `counter`. A style page uses this and nothing else, so
|
|
32
|
-
* every one of them keeps the same contract: the picture is a function of t.
|
|
33
|
-
*/
|
|
34
|
-
export const motionMath = ` var clamp = function (v) { return v < 0 ? 0 : v > 1 ? 1 : v; };
|
|
35
|
-
var mix = function (a, b, p) { return a + (b - a) * p; };
|
|
36
|
-
var EASE = {
|
|
37
|
-
out: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(2, -10 * p); },
|
|
38
|
-
in: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : Math.pow(2, 10 * p - 10); },
|
|
39
|
-
inOut: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : p < 0.5 ? Math.pow(2, 20 * p - 10) / 2 : (2 - Math.pow(2, -20 * p + 10)) / 2; },
|
|
40
|
-
smooth: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : p * p * (3 - 2 * p); },
|
|
41
|
-
snap: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(1 - p, 4); },
|
|
42
|
-
linear: function (p) { return clamp(p); }
|
|
43
|
-
};
|
|
44
|
-
var prog = function (t, start, dur, easing) { return (easing || EASE.smooth)(clamp((t - start) / dur)); };
|
|
45
|
-
var settle = function (t, landing, opt) {
|
|
46
|
-
var o = opt || {};
|
|
47
|
-
var lead = o.lead == null ? 0.05 : o.lead;
|
|
48
|
-
var dur = o.dur == null ? 0.45 : o.dur;
|
|
49
|
-
var bounce = o.bounce || 0;
|
|
50
|
-
var p = clamp((t - (landing - lead)) / dur);
|
|
51
|
-
if (!bounce) return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(2, -10 * p);
|
|
52
|
-
var s = 1.2 + bounce * 3;
|
|
53
|
-
return 1 + (s + 1) * Math.pow(p - 1, 3) + s * Math.pow(p - 1, 2);
|
|
54
|
-
};
|
|
55
|
-
var stepped = function (t, perSecond) { return Math.floor(t * perSecond) / perSecond; };
|
|
56
|
-
var hash = function (seed) {
|
|
57
|
-
var h = 2166136261, s = String(seed);
|
|
58
|
-
for (var i = 0; i < s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); }
|
|
59
|
-
return ((h >>> 0) % 100000) / 100000;
|
|
60
|
-
};
|
|
61
|
-
var rand = function (seed) { return hash(seed); };
|
|
62
|
-
var wobble = function (seed, i, t, speed) {
|
|
63
|
-
var s = hash(seed) * 100, sp = speed == null ? 1 : speed;
|
|
64
|
-
return (Math.sin(t * sp * 1.7 + i * 0.137 + s) + Math.sin(t * sp * 2.9 + i * 0.311 + s * 1.7)) / 2;
|
|
65
|
-
};
|
|
66
|
-
var drawOn = function (path, p) {
|
|
67
|
-
var len = path.getTotalLength();
|
|
68
|
-
path.style.strokeDasharray = String(len);
|
|
69
|
-
path.style.strokeDashoffset = String(len * (1 - clamp(p)));
|
|
70
|
-
};
|
|
71
|
-
var counter = function (node, from, to, p) {
|
|
72
|
-
node.textContent = String(Math.round(mix(from, to, clamp(p))));
|
|
73
|
-
};
|
|
74
|
-
var el = function (id) { return document.getElementById(id); };`;
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* The film: one section, one page on one track, shown from 0 to the page's own length.
|
|
78
|
-
* @param {string} title @param {number} width @param {number} height @param {string} page @param {number} seconds
|
|
79
|
-
*/
|
|
80
|
-
export const filmShell = (title, width, height, page, seconds) => `<!doctype html>
|
|
81
|
-
<html lang="zh-CN">
|
|
82
|
-
<head>
|
|
83
|
-
<meta charset="utf-8">
|
|
84
|
-
<meta name="viewport" content="width=${width}, height=${height}">
|
|
85
|
-
<title>${title}</title>
|
|
86
|
-
</head>
|
|
87
|
-
<body>
|
|
88
|
-
<section>
|
|
89
|
-
<iframe id="card" src="pages/${page}.html#t=0,${seconds}"></iframe>
|
|
90
|
-
</section>
|
|
91
|
-
</body>
|
|
92
|
-
</html>
|
|
93
|
-
`;
|
|
1
|
+
// @ts-check
|
|
2
|
+
/**
|
|
3
|
+
* What every starter film is built from (templates.mjs for the layouts, templates-styles.mjs for the seven design
|
|
4
|
+
* systems): a page's `<head>` and the base style, the math its `frame(t)` shares, and the `film.html` that shows a page
|
|
5
|
+
* from 0 to its length.
|
|
6
|
+
*
|
|
7
|
+
* The pages are strings, not files beside this module: Studio's server is bundled into the app, and a page read from
|
|
8
|
+
* disk at runtime would not be there in the installed build.
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/** A page's `<head>`, up to its base style (each page adds its own after): transparent, no scrollbars. */
|
|
12
|
+
export const pageHead = (/** @type {string} */ title) => `<!doctype html>
|
|
13
|
+
<html lang="zh-CN">
|
|
14
|
+
<head>
|
|
15
|
+
<meta charset="utf-8">
|
|
16
|
+
<title>${title}</title>
|
|
17
|
+
<style>
|
|
18
|
+
html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }
|
|
19
|
+
body { font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; }
|
|
20
|
+
</style>`;
|
|
21
|
+
|
|
22
|
+
/** The little math a layout page's `frame(t)` shares: clamped interpolation, ease-out, and a segment of t as 0…1. */
|
|
23
|
+
export const pageMath = ` var clamp = function (v) { return v < 0 ? 0 : v > 1 ? 1 : v; };
|
|
24
|
+
var seg = function (t, a, b) { return clamp((t - a) / (b - a)); };
|
|
25
|
+
var ease = function (x) { var c = clamp(x); return 1 - Math.pow(1 - c, 3); };
|
|
26
|
+
var el = function (id) { return document.getElementById(id); };`;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* The whole of `lib/motion.js` from the direction skill (`skills/aicut-motion/references/pages.md`), in the plain
|
|
30
|
+
* functions a page runs: easing that is exactly 0 and exactly 1 at the ends, `prog`, `settle` (lands on a beat, optional
|
|
31
|
+
* bounce), `stepped` (a hand-made boil), `wobble`, `drawOn`, `counter`. A style page uses this and nothing else, so
|
|
32
|
+
* every one of them keeps the same contract: the picture is a function of t.
|
|
33
|
+
*/
|
|
34
|
+
export const motionMath = ` var clamp = function (v) { return v < 0 ? 0 : v > 1 ? 1 : v; };
|
|
35
|
+
var mix = function (a, b, p) { return a + (b - a) * p; };
|
|
36
|
+
var EASE = {
|
|
37
|
+
out: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(2, -10 * p); },
|
|
38
|
+
in: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : Math.pow(2, 10 * p - 10); },
|
|
39
|
+
inOut: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : p < 0.5 ? Math.pow(2, 20 * p - 10) / 2 : (2 - Math.pow(2, -20 * p + 10)) / 2; },
|
|
40
|
+
smooth: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : p * p * (3 - 2 * p); },
|
|
41
|
+
snap: function (p) { return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(1 - p, 4); },
|
|
42
|
+
linear: function (p) { return clamp(p); }
|
|
43
|
+
};
|
|
44
|
+
var prog = function (t, start, dur, easing) { return (easing || EASE.smooth)(clamp((t - start) / dur)); };
|
|
45
|
+
var settle = function (t, landing, opt) {
|
|
46
|
+
var o = opt || {};
|
|
47
|
+
var lead = o.lead == null ? 0.05 : o.lead;
|
|
48
|
+
var dur = o.dur == null ? 0.45 : o.dur;
|
|
49
|
+
var bounce = o.bounce || 0;
|
|
50
|
+
var p = clamp((t - (landing - lead)) / dur);
|
|
51
|
+
if (!bounce) return p <= 0 ? 0 : p >= 1 ? 1 : 1 - Math.pow(2, -10 * p);
|
|
52
|
+
var s = 1.2 + bounce * 3;
|
|
53
|
+
return 1 + (s + 1) * Math.pow(p - 1, 3) + s * Math.pow(p - 1, 2);
|
|
54
|
+
};
|
|
55
|
+
var stepped = function (t, perSecond) { return Math.floor(t * perSecond) / perSecond; };
|
|
56
|
+
var hash = function (seed) {
|
|
57
|
+
var h = 2166136261, s = String(seed);
|
|
58
|
+
for (var i = 0; i < s.length; i++) { h ^= s.charCodeAt(i); h = Math.imul(h, 16777619); }
|
|
59
|
+
return ((h >>> 0) % 100000) / 100000;
|
|
60
|
+
};
|
|
61
|
+
var rand = function (seed) { return hash(seed); };
|
|
62
|
+
var wobble = function (seed, i, t, speed) {
|
|
63
|
+
var s = hash(seed) * 100, sp = speed == null ? 1 : speed;
|
|
64
|
+
return (Math.sin(t * sp * 1.7 + i * 0.137 + s) + Math.sin(t * sp * 2.9 + i * 0.311 + s * 1.7)) / 2;
|
|
65
|
+
};
|
|
66
|
+
var drawOn = function (path, p) {
|
|
67
|
+
var len = path.getTotalLength();
|
|
68
|
+
path.style.strokeDasharray = String(len);
|
|
69
|
+
path.style.strokeDashoffset = String(len * (1 - clamp(p)));
|
|
70
|
+
};
|
|
71
|
+
var counter = function (node, from, to, p) {
|
|
72
|
+
node.textContent = String(Math.round(mix(from, to, clamp(p))));
|
|
73
|
+
};
|
|
74
|
+
var el = function (id) { return document.getElementById(id); };`;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The film: one section, one page on one track, shown from 0 to the page's own length.
|
|
78
|
+
* @param {string} title @param {number} width @param {number} height @param {string} page @param {number} seconds
|
|
79
|
+
*/
|
|
80
|
+
export const filmShell = (title, width, height, page, seconds) => `<!doctype html>
|
|
81
|
+
<html lang="zh-CN">
|
|
82
|
+
<head>
|
|
83
|
+
<meta charset="utf-8">
|
|
84
|
+
<meta name="viewport" content="width=${width}, height=${height}">
|
|
85
|
+
<title>${title}</title>
|
|
86
|
+
</head>
|
|
87
|
+
<body>
|
|
88
|
+
<section>
|
|
89
|
+
<iframe id="card" src="pages/${page}.html#t=0,${seconds}"></iframe>
|
|
90
|
+
</section>
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|
|
93
|
+
`;
|