LLM Skills
~/catalog/backend//htmx-flask-cursorrules-prompt-filec
BackendGitHub source

Htmx flask

/htmx-flask-cursorrules-prompt-filec

Follow the "Cursor" guidelines to develop with Htmx Flask in a consistent and maintainable way.

PatrickJSPatrickJS
40.7k
May 27, 2026
CC0-1.0
// skill content

--- description: "Cursor rules for HTMX development with Flask integration." globs: */ alwaysApply: false --- // HTMX with Flask .cursorrules // HTMX and Flask best practices const htmxFlaskBestPractices = [ "Use Flask's rendertemplate for server-side rendering", "Implement Flask-WTF for form handling", "Utilize Flask's urlfor for generating URLs", "Use Flask's jsonify for JSON responses", "Implement Flask-SQLAlchemy for database operations", "Utilize Flask's Blueprint for modular applications", ]; // Folder structure const folderStructure = app/ templates/ static/ css/ js/ models/ routes/ __init__.py config.py run.py ; // Additional instructions const additionalInstructions = 1. Use Jinja2 templating with HTMX attributes 2. Implement proper CSRF protection with Flask-WTF 3. Utilize Flask's request object for handling HTMX requests 4. Use Flask-Migrate for database migrations 5. Implement proper error handling and logging 6. Follow Flask's application factory pattern 7. Use environment variables for configuration ;

// original public source
PatrickJS/awesome-cursorrules
/rules/htmx-flask-cursorrules-prompt-file.mdc
License: CC0-1.0. Review the repository before reusing it.
Independent project, not affiliated with Anthropic. This skill remains the property of its original author.
// install this skill
Paste this command in your terminal at the root of your project:
mkdir -p .claude/commands && curl -o ".claude/commands/htmx-flask-cursorrules-prompt-file.mdc" "https://raw.githubusercontent.com/PatrickJS/awesome-cursorrules/main/rules/htmx-flask-cursorrules-prompt-file.mdc"
Then in Claude Code, type /htmx-flask-cursorrules-prompt-filec to activate it.
open_in_newOpen original source
// save
Save available after sign in.
loginSign in to save
// information
CreatorPatrickJS
Stars 40.7k
CategoryBackend
LicenseCC0-1.0
UpdatedMay 27, 2026
Format.md
AccessFree
// similar

Skills Backend

View allarrow_forward