colossal-store-design skill is the bridge between the Design Library and a real project. It does two things:
- Apply — take an existing reference and apply its design (colors, fonts, radii, sections, component props) to any project, translating to match the project’s stack.
- Create — analyze one or more store screenshots with Gemini and produce a new
design.json+theme.cssinto the design library.
Apply a reference
The agent inspects the project’s stack first, then picks one of these paths:
For every path, the agent treats
sections[] as a menu of ideas, not a checklist — only the sections the user actually asked for get applied. The reference’s header.*, footer.*, and productCard.* props target the Colossal UI library specifically and are skipped for non-Colossal projects.
Create a reference
../colossal-design-library/references/<slug>/. Slugs must be generic — no actual store names. Use descriptors like dark-luxury-fashion or minimal-coffee-earth.
The script Base64-encodes the image(s), sends them to Gemini with the analysis prompt, validates the response, strips any hallucinated header/footer link arrays, and runs gen-theme.cjs to produce the theme.css.
Requires GEMINI_API_KEY, plus jq, node, and curl.
Scripts
Install
colossal-design-library. If you install it without the library, set COLOSSAL_DESIGN_LIBRARY_DIR to point at an existing library skill directory.