add-generation-to-gallery

Installation
SKILL.md

Use this skill when the user wants to add a generated Next.js project into the ui-design-bench gallery.

The goal is to preserve the gallery architecture: static routes are enumerated from galleryManifest, variants render through src/variants/{group}/{model}/index.tsx, CSS is scoped by scripts/scope-variant-css.mjs, and previews are captured into public/gallery-previews/{group}/{model}.

Inputs To Identify

Before editing, identify:

  • group: usually with-design-skill, without-design-skill, or miscellaneous.
  • model: URL-safe slug such as gpt-5.5-high or glm-5.1.
  • modelLabel: display label.
  • source project path: the regular generated Next.js app to ingest.
  • iteration routes: normally five routes, commonly one/two/three/four/five or 1/2/3/4/5.
  • Whether the source app has a local iteration switcher that should be removed or bypassed.

If the source project contains a single src/app/page.tsx that switches internally between designs, split or import the actual iteration components instead of rendering the switcher page inside the gallery.

Files Usually Edited

Installs
5
GitHub Stars
15
First Seen
Nov 5, 2026