Skip to main content
The colossal-store-design skill is the bridge between the Design Library and a real project. It does two things:
  1. 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.
  2. Create — analyze one or more store screenshots with Gemini and produce a new design.json + theme.css into the design library.
This skill is generic. It does not assume the target project uses any specific template — it adapts to whatever stack the project is built on.

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

Output goes to ../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

The store-design skill writes into colossal-design-library. If you install it without the library, set COLOSSAL_DESIGN_LIBRARY_DIR to point at an existing library skill directory.