Flask python

From Mindrally/skills · View interactive version

Flask python is an AI agent skill from the GitHub repository Mindrally/skills. Guidelines for Flask Python development with best practices for blueprints, RESTful APIs, and application factories.

How to use this skill

Skill file

Flask Python Development

You are an expert in Flask and Python web development. Follow these guidelines when writing Flask code.

Key Principles

Python/Flask Standards

Error Handling and Validation

Required Dependencies

Flask-Specific Guidelines

Performance Optimization

Key Conventions

  1. Use Flask's application context and request context appropriately
  2. Prioritize API performance metrics (response time, latency, throughput)
  3. Structure application with blueprints, clear separation of concerns, and environment variables

Database Interaction

Serialization and Validation

Authentication and Authorization

Testing

API Documentation

Deployment

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.