flask
Installation
Summary
Production-tested Flask patterns with application factory, Blueprints, and SQLAlchemy, preventing 9 documented errors.
- Covers application factory pattern, extension initialization, blueprint organization, and database models to avoid circular imports and context errors
- Prevents known issues including stream_with_context teardown regressions, async/gevent conflicts, CSRF cache interference, and Flask-Login session protection edge cases
- Includes authentication patterns with Flask-Login and Flask-WTF, API route examples, and testing setup with pytest fixtures
- Requires Python 3.9+; verified against Flask 3.1.2, Flask-SQLAlchemy 3.1.1, Werkzeug 3.1.5, and related extensions as of January 2026
SKILL.md
Flask Skill
Production-tested patterns for Flask with the application factory pattern, Blueprints, and Flask-SQLAlchemy.
Latest Versions (verified January 2026):
- Flask: 3.1.2
- Flask-SQLAlchemy: 3.1.1
- Flask-Login: 0.6.3
- Flask-WTF: 1.2.2
- Werkzeug: 3.1.5
- Python: 3.9+ required (3.8 dropped in Flask 3.1.0)
Quick Start
Project Setup with uv
Related skills
More from jezweb/claude-skills
tailwind-v4-shadcn
|
2.7Ktanstack-query
|
2.5Kshadcn-ui
Install and configure shadcn/ui components for React projects. Guides component selection, installation order, dependency management, customisation with semantic tokens, and common UI recipes (forms, data tables, navigation, modals). Use after tailwind-theme-builder has set up the theme infrastructure, when adding components, building forms, creating data tables, or setting up navigation.
2.5Ktailwind-theme-builder
>
2.2Kfastapi
|
2.0Kcolor-palette
>
1.9K