The Prompt
Read this prompt free
Create a free account, takes 10 seconds. Just your email, no credit card.
Free accounts also get the weekly newsletter.
Tags
#cursorrules#typescript#react#setup
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.
React Hook Dependency Cycle Detector
Finds infinite loops and circular dependencies in useEffect, useCallback, and useMemo hooks.
Extract Type Safety Gaps From TypeScript Codebase
Finds TypeScript files where `any` types, missing type annotations, or unsafe casts hide potential runtime errors.
Pairs with, from the journal
