What it does
A Cursor rules file that sets the AI up as a senior frontend developer for SvelteKit, TypeScript and Tailwind projects. It asks for a pseudocode plan first, early returns, Tailwind classes instead of custom CSS, descriptive names, handler names prefixed with handle and accessibility attributes.
Use cases
- 01Plan a component in pseudocode before coding it
- 02Style an element with Tailwind classes only
- 03Add keyboard and aria attributes to a button