Jak użyć designu dowolnej strony w GitHub Copilot

Stylepack zamienia dowolną publiczną stronę w pakiet designu: DESIGN.md, BEHAVIOR.md, tokeny designu, motyw Tailwind i zrzuty ekranu. Oto jak przekazać go narzędziu GitHub Copilot, aby to, co zbuduje, wyglądało i działało jak wybrana przez Ciebie strona.

Kroki

Ścieżki poniżej używają example.com. Na stronie pakietu zawierają nazwę wybranej przez Ciebie strony.

  1. Otwórz pakiet strony w Stylepack: wklej jej adres albo wybierz pakiet z galerii.
  2. Napisz, co ma zostać zbudowane.
  3. Wklej prompt na czacie agenta w swoim projekcie w GitHub Copilot i wyślij go.

Prompt

Prompt zostaje po angielsku: wymienia pliki z pakietu, a Twoja AI czyta go w każdym języku.

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 `.github/copilot-instructions.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.

Przewodniki dla innych narzędzi