Files
openmotion/scripts
huihui-crypto 27dd923c42 feat(library): add design-styles skill (#590)
* feat(library): add design-styles skill

Add the optional openmotion-design-styles Library Skill: 21 design-style
cards and 2 layout cards, a plan checker and a glyph-subset font helper,
registered for install and distribution, with a Studio Skills page card.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(library): keep existing fonts on failed downloads and subset all script strings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(library): check the end credit only in on-screen text

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(studio): link the design-styles card to its upstream repository and give it a card-wall cover

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(studio): slow the design-styles cover to 16 s and keep it English-only

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* feat(studio): give each style card on the design-styles cover its own ground, typeface and composition

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(library): validate numeric scene seconds, subset template-literal text, record font licences; use the upstream promo as cover

- style.mjs check rejects non-numeric scene and plan seconds
- font subsetting keeps the static text of template literals
- fonts writes each family's licence text and a SOURCES.md record from google/fonts
- Skills page cover is an excerpt of the upstream design-style promo film, credited in docs/readme/ASSETS.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(library): stage font licences before writing, crop the cover's caption strip fully

- style.mjs fonts downloads every WOFF2 and licence into memory and writes the
  fonts, licences, SOURCES.md and fonts.css only after all succeed; a failed
  lookup leaves the project unchanged (regression test added).
- Regenerate the design-styles cover and poster with the bottom 108 px of the
  1080 px source cropped so no part of the upstream caption bar remains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 18:54:39 +08:00
..