What it does
A sample of rules from a larger Cursor rules pack. It covers checking a new dependency before adding it, explicit error handling with typed errors and logging, a policy of commenting only the why, and a state hierarchy that separates URL state, React state, Zustand and React Query.
Use cases
- 01Review a new npm package before adding it
- 02Handle async errors with typed errors and logging
- 03Decide where each kind of state should live