The Prompt
Free accounts also get the weekly newsletter.
Related prompts
.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: Enforce Error Handling Discipline by Layer
A drop-in .cursorrules block that makes Cursor handle errors differently at the boundary, service, and infrastructure layers.
Extract Type Safety Gaps From TypeScript Codebase
Finds TypeScript files where `any` types, missing type annotations, or unsafe casts hide potential runtime errors.
.cursorrules: Flag Any Variable Name That Lies About Its Type
Adds a Cursor rule that catches misleading variable names where the name implies one type but the value is another.
Pairs with, from the journal
