Windsurf में किसी भी वेबसाइट का डिज़ाइन कैसे इस्तेमाल करें

Stylepack किसी भी सार्वजनिक वेबसाइट को डिज़ाइन पैक में बदल देता है: DESIGN.md, BEHAVIOR.md, design tokens, Tailwind थीम और स्क्रीनशॉट। यहाँ बताया गया है कि उसे Windsurf को कैसे सौंपें, ताकि वह जो बनाए, वह आपकी चुनी साइट जैसा दिखे और वैसा ही व्यवहार करे।

चरण

नीचे के पाथ में example.com इस्तेमाल हुआ है। पैक के पेज पर उनमें आपकी चुनी साइट का नाम होता है।

  1. साइट का पैक Stylepack पर खोलें: उसका पता पेस्ट करें, या गैलरी में से एक चुनें।
  2. बताएँ कि आप क्या बनवाना चाहते हैं।
  3. अपने Windsurf प्रोजेक्ट में एजेंट की चैट में प्रॉम्प्ट पेस्ट करें और भेजें।

Prompt

Prompt अंग्रेज़ी में ही रहता है: उसमें पैक की फ़ाइलों के नाम हैं, और आपकी भाषा कोई भी हो, आपका AI उसे पढ़ लेता है।

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.

दूसरे टूल की गाइड