Project .windsurfrules Template
Windsurf reads .windsurfrules on every Cascade interaction — set once, applies everywhere.
# Project Rules
- Stack: <your stack — e.g. Next.js 15 + TypeScript + Tailwind + Postgres>
- All new code must type-check and lint clean before you report done
- Prefer editing existing files over creating new ones; never create a file without stating why
- Tests colocated as *.test.ts, Vitest; every bug fix ships with a failing-first test
- No new dependencies without asking; if a task seems to need one, propose it and wait
- Commits: imperative, under 72 chars; never mix refactor and feature
- When requirements are ambiguous, list the 2 most likely readings and pick the conservative one, noting the choice