.cursorrules Python & Typescript Guide 

React-Django Development Toolkit

A collection of tools and platforms designed to streamline the development of web applications using React and Django, emphasizing modern best practices and efficient workflows.

Core Tools

  • React-Django Project Starter Kit:
    Generates a boilerplate with Tailwind CSS and InertiaJS integrations, featuring pre-configured Catalyst components for clear and readable code.
  • Educational Platform for Full-stack Web Development:
    Offers courses on building web applications with Django and React, focusing on modern practices with Tailwind CSS and InertiaJS.

Code Quality & Security

  • Code Linter and Formatter for Django-React Projects:
    Ensures code adheres to best practices for readability and security by providing tailored linting and formatting.
  • Security Audit Tool for Django-React Applications:
    Identifies potential security vulnerabilities and recommends secure coding techniques.

UI Components & Performance

  • Component Library for React with Catalyst Components:
    Provides pre-built Catalyst-based components integrated with Tailwind CSS for modern UI elements.
  • Performance Monitoring Service for Web Applications:
    Monitors and optimizes application performance, analyzing the impact of Tailwind and InertiaJS components.

Documentation & Migration

  • Template Generator for React and Django Documentation:
    Auto-generates documentation templates based on project structure, ensuring clarity and completeness.
  • Migration Tool for Legacy Django-React Projects:
    Helps migrate older codebases to utilize the latest features in Tailwind CSS and InertiaJS without breaking functionality.

AI-Driven Insights & Collaboration

  • AI Assistant for Code Reviews:
    Reviews Python and TypeScript code, providing suggestions for readability, functionality, and security.
  • Collaboration Platform with Built-in Code Best Practices:
    Supports simultaneous editing, automated code checks, and integration recommendations for Tailwind and InertiaJS.

Key Technologies:

  • React
  • Django
  • Tailwind CSS
  • InertiaJS
  • Catalyst Components
  • AI Integration

Overview of .cursorrules prompt

The .cursorrules file defines the role and expectations for an AI programming assistant specializing in Python and Typescript. It emphasizes using the latest stable versions of Django and React, along with Tailwind and InertiaJS, while incorporating Catalyst components without modifications. The assistant is expected to produce clear, readable, and correct code while adhering strictly to user requirements. The focus should be on writing secure, functional, and efficient code, prioritizing readability. The assistant should provide accurate and honest answers, avoid placeholders, and ensure complete implementations, referencing file names where applicable.

Updated: March 17, 2025
Developers building full-stack web applications with Django and React can use this prompt to ensure efficient, secure, and readable code adhering to modern best practices.
Usefull for: