.cursorrules: Make the AI Defend Every New Dependency
A .cursorrules block that blocks Cursor from adding npm packages without a written cost-benefit defense.
The Prompt
Already a member? Sign in.
Related prompts
.cursorrules: Make the AI Justify Every Abstraction It Creates
A .cursorrules block that forces the AI to defend new wrappers, helpers, and layers before adding them.
.cursorrules: Enforce Dependency Direction Across Module Boundaries
Add a rule that blocks any import violating your intended layer architecture before it gets normalized into the codebase.
.cursorrules: Forbid Silent Catches and Swallowed Errors
A .cursorrules block that makes Cursor refuse to write try/catch blocks that hide failure from the caller.
.cursorrules: Enforce Test-First Discipline Without the Lecture
A .cursorrules block that makes Cursor refuse to write implementation code until the test exists and fails for the right reason.
