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: usuallywith-design-skill,without-design-skill, ormiscellaneous.model: URL-safe slug such asgpt-5.5-highorglm-5.1.modelLabel: display label.source project path: the regular generated Next.js app to ingest.iteration routes: normally five routes, commonlyone/two/three/four/fiveor1/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.