Comprehensive type hinting guidelines for Python code
.cursorrules in your project rootUse type hints effectively: 1. Type all function signatures 2. Use Optional for nullable types 3. Leverage Union types appropriately 4. Use TypeVar for generics 5. Apply Protocol for structural typing 6. Use Literal for specific values 7. Implement TypedDict for dicts 8. Run mypy in strict mode
Comprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.
Cursor
language
AI coding rules customize how Cursor generates and refactors code for your project. Follow these steps to install Python Type Hints Best Practices.
.cursor/rules, for Windsurf use .windsurfrulesComprehensive Cursor rules for Next.js 14+ with App Router, including routing, layouts, and API patterns.
Cursor rules for TypeScript with strict type checking, advanced patterns, and best practices.
Cursor rules for Tailwind CSS development with responsive design, custom components, and dark mode.