How to use any website's design in Windsurf

Stylepack turns any public website into a design pack: DESIGN.md, BEHAVIOR.md, design tokens, a Tailwind theme and screenshots. Here is how to hand one to Windsurf so what it builds looks and behaves like the site you picked.

Steps

The paths below use example.com. On a pack page they name the site you picked.

  1. Open the site’s pack on Stylepack: paste its address, or pick one in the gallery.
  2. Say what you want built.
  3. Paste the prompt into the agent’s chat in your Windsurf project, then send it.

The prompt

The prompt stays in English: it names the files in the pack, and your AI reads it in any language.

Use the example.com design pack from Stylepack so what you build looks and behaves like https://example.com/.

1. Download https://stylepack.ai/packs/example.com/pack.zip and unzip it so the pack sits at `design/example.com-design-pack/` (for example: curl -fsSL --http1.1 --retry 3 --retry-max-time 240 --connect-timeout 15 --max-time 120 --cookie "" 'https://stylepack.ai/packs/example.com/pack.zip' -o pack.zip && unzip -oq pack.zip -d design && rm pack.zip).
2. Read `design/example.com-design-pack/START_HERE.md` and follow it: it says which files and screenshots to open, in what order, and how to check the result. Build both themes.

Build: [describe the page or app you want]

When you are done, compare the result with the desktop and phone screenshots in `design/example.com-design-pack/screenshots/`, fix the biggest visual difference first, and repeat.

Optional, for future sessions: Add this line to `.windsurf/rules/design.md`: "For UI work, read design/example.com-design-pack/START_HERE.md first and follow it; use design/example.com-design-pack/tokens.css and the screenshots it names." If permission is required, ask before changing agent configuration; this setup is not required to build from the pack now.

Guides for other tools