paulpham157/paul-s-cursor-rules

Sharing Cursor AI IDE settings

27Stars on the repository
200Mods indexed here, across every type
1y agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Provides additional guidelines for HTMX development, focusing on semantic HTML, security, extensions, progressive enhancement, and server-side templating. globs: /.html.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Applies general HTMX best practices to all HTML files in the project, ensuring consistent use of HTMX attributes for requests, content swapping, and user feedback. globs: /.html.

not rated 27 1y ago A 0 tokens original MIT

htmx-folder-structure

153

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

Enforces a specific folder structure within the 'src' directory for HTMX projects, promoting organization and maintainability of templates, static assets, and application logic.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Advises using Django's class-based views when constructing HTMX responses in view files. Class-based views provide a structured way to handle different HTTP methods. globs: /views.py.

not rated 27 1y ago A 0 tokens original MIT

django-form-handling

155

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Specifies that Django forms should be used when handling form inputs in Python files named forms.py. This rule ensures consistent form handling practices within the project. globs: /forms.py.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Recommends utilizing Django's middleware for handling request and response processing. Middleware allows for global actions to be performed on requests and responses. globs: /middleware.py.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Specifies that Django's ORM should be used for interacting with the database when defining models. This encourages a consistent approach to database operations across the project. globs: /models.py.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Specifies the use of Django's staticfiles app for managing static assets within the 'static' directory. This promotes consistent and efficient management of CSS, JavaScript, and other static files. globs: /static//.

not rated 27 1y ago A 0 tokens original MIT

django-url-routing

159

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Ensures Django's URL routing system is used in URL configuration files. This promotes consistent and maintainable URL management across Django projects. globs: /urls.py.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Encourages adhering to Django's best practices for project structure, especially in settings files. This promotes maintainability and standardization across Django projects. globs: /settings.py.

not rated 27 1y ago A 0 tokens original MIT

paulpham157/paul-s-cursor-rules

Cursor rule Cursor

description: Applies best practices for HTMX and Django integration, focusing on template usage within the 'templates' directory. It encourages using Django's templating engine with HTMX attributes. globs: /templates//.

not rated 27 1y ago A 0 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: