What it does
A Cursor rules file for a Next.js app. It asks the assistant to add explanatory comments, keep existing comments unless they are outdated, and leave lines marked with a specific comment untouched. It also includes the app's package.json for context on the dependencies.
Use cases
- 01Add explanatory comments to every generated change
- 02Protect marked lines from being rewritten
- 03Give Cursor the project's dependency list as context