Copy-paste Windsurf prompts for landing pages, dashboards, pricing, login, onboarding and AI apps, written for Cascade with file references, plus a prompt that writes your Windsurf design rules.
“Redesign this [site or app] so it looks professional, using the template as the new design…”
Full Windsurf prompt with a licence
Windsurf design rules prompt
A rules file that makes Cascade follow your design template, colours and spacing in every session.
“Create the design rules file at .windsurf/rules/design.md for this project, so every future change follows the same design…”
Full Windsurf prompt with a licence
Every Windsurf prompt above shows its opening line for free. The full prompts, and the templates they are written for, come with a BrowserMoon licence.
Windsurf's Cascade can edit a whole project from one prompt, which is exactly why it needs a fixed design to follow. These Windsurf prompts point Cascade at a BrowserMoon template in your project, list the sections, and include a rules file so the design stays the same across every change.
How to use these Windsurf prompts
1
Pick the prompt for your page
Choose the Windsurf prompt for the page you are building, from a SaaS landing page to a login screen or an AI chat app.
2
Copy the template it uses
Each prompt is written to go with the template shown on its card. Copy that template, or any template from the Windsurf templates page.
3
Give Windsurf the design
Follow the design in @design/template.html. Match its fonts, spacing, colours, corner radius and components exactly, and reuse existing components.
4
Fill in the brackets and send
Replace the parts in brackets, like [product name] and [audience], with your own details. The prompt ends with: “Use Cascade in Write mode. Make the changes, then summarise every file you changed.”
Which Windsurf prompt to start with
Start with the Windsurf rules prompt so Cascade follows your design in every session, then run the landing page or dashboard prompt with the template file referenced. Once the rules are saved, each page prompt stays short.
Why Windsurf needs a design in the prompt
Windsurf's Cascade agent reads your project, plans changes and edits many files at once. Like every agent, it designs from whatever it sees: in a new project that means defaults, and in an old one it copies the styles already there, good or bad.
These prompts give Cascade a real design. They reference a BrowserMoon template in your project, list the sections in order and tell Cascade to reuse your components, so the pages it builds look designed and stay consistent.
What is inside every Windsurf prompt
Each prompt on this page is built from the same five parts. The page-specific part changes per prompt; the rest is written for how Windsurf works.
1. What to buildThe product, the audience and the outcome the page must deliver, in one or two sentences.
2. Every section, in orderEach section named with what goes in it, so nothing is left for the tool to invent.
3. The designFollow the design in @design/template.html. Match its fonts, spacing, colours, corner radius and components exactly, and reuse existing components.
4. The design ruleskeep one accent colour, use the template's type scale and spacing exactly, give every section generous white space, keep body text at least 15px, and make every layout work at 375px wide with no horizontal scroll.
5. The stack and how to finishUse the framework and styling already in this project. If it is empty, use Next.js with Tailwind CSS. Use Cascade in Write mode. Make the changes, then summarise every file you changed.
Tips for writing Windsurf prompts
Mention the template with @
Save the template in your project and mention it in the prompt so Cascade reads the real file.
Add workspace rules
Put your design rules in the Windsurf rules file so Cascade follows them in every session.
Keep prompts focused
Ask for one page or section at a time. Cascade keeps the design tighter on smaller changes.
Check the preview
Open the Windsurf preview after each change and point out anything that does not match.
What to ask Windsurf after the first prompt
Build the onboarding flow in the same design as the dashboard, reusing its components.
Save these design rules as a Windsurf rule that applies to every file in the app folder.
Find any colour or font that is not in the theme and replace it.
Check the page at phone width and fix anything that overlaps or scrolls sideways.
Common Windsurf prompt mistakes
No Windsurf rules
Without rules, Cascade forgets your design between sessions. Save them once in .windsurf/rules.
Letting Cascade run too long
Stop and review after each page. Long runs can restyle shared components without asking.
Using Chat mode to build
Chat mode answers questions; Write mode edits files. Use Write mode for these prompts.
Not referencing the template
Mention the template file in the prompt so Cascade reads it before writing code.
Who these Windsurf prompts are for
Windsurf is used by developers who like an agent that keeps track of the whole project as it works. These Windsurf prompts are for developers who want Cascade to build UI that follows one design, across every page, without repeating design instructions in each chat.
More templates for these Windsurf prompts
A prompt says what to build; a template shows Windsurf what it should look like. These templates also fit the prompts above.
One that mentions the design file with @, lists the sections to build and asks Cascade to reuse existing components. A rules file keeps the style consistent.
What are Windsurf rules?
Instructions saved in your workspace that Cascade follows in every session. A design rule keeps colours, spacing and components the same across pages.
Do these prompts work with Cascade?
Yes. They are written for Cascade in Write mode, which can create and edit several files.
Can I use the same prompts in Cursor?
Mostly, yes. There is also a Cursor version of every prompt, written for Cursor Agent and Cursor rules.
Do these prompts work with Cascade in Windsurf?
Yes. They are written for Cascade in Write mode, which plans and edits files across your project.
Where do Windsurf rules go?
Save them in .windsurf/rules in your project. Cascade reads them in every session, so the design rules apply to every prompt.