mcpField
S
style-library

style-library

github.com/nateherkaiCreative & media2.3k177 installsUpdated 2w ago
Repository

About style-library

style-library is a skill for selecting and integrating reusable visual style cards and templates in video projects. It guides creators through filtering the catalog, managing dependencies, and checking rendered output.

Key features

  1. 01Filter styles by tier and purpose
  2. 02Inspect design tokens and slot limits
  3. 03Copy cards with their dependencies
  4. 04Lint and render-check selected cards
  5. 05Add styles and rebuild the registry

Use cases

  1. 01Choose a card for a video overlay
  2. 02Start a scene from a media template
  3. 03Check card text at maximum length

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nateherkai/herk-edit-kit --skill style-library

After installing, type/style-libraryin Claude Code to confirm it loaded.

Details

From the project README

Reuse the style library

Read style-library/GUIDE.md, then style-library/registry.json. Filter by style, tier, and purpose before opening individual cards. Read the selected style's DESIGN.md, tokens.css, and manifest slot limits.

For an overlay, preserve transparency outside the card and the speaker's face. For a takeover, use an opaque background. Copy the chosen card into the video's compositions/, localize its CSS, fonts, and GSAP dependency, fill its named data-slot values, and wire its timing using the HyperFrames skill. Copying a card without its relative dependencies does not produce a complete asset.

Use style-templates/ for a whole-scene starting point. A media template may require the student's own assets/source.mp4; check its README before rendering.

The catalog contains draft resources, not a promise that every card has passed rendered QA. Lint and render the selected card at actual project resolution, inspect its hero frame and transition, and check slot text at its maximum length.

When adding a style, use node scripts/style-library/new-style.mjs 03 my-style "My Style", then complete its design tokens, manifest, and cards. Run node scripts/style-library/build-registry.mjs after manifest changes. Keep project-specific copy in the project, leaving reusable library cards generic.

Comments

Markdown supported