Cursor rules for projects with multiple stacks: per-directory .cursorrules
Cursor reads .cursorrules from the project root by default. For repos with a TypeScript frontend and a Python backend, that's the wrong granularity. Here's how to scope rules per directory.