Flask — разработка Python веб-приложений
engineering
flask is a Claude Code skill that provides best practices for Flask web development, covering routing, blueprints, extensions, application factory pattern, and testing. It guides structuring projects around `create_app()` to avoid global state, organizing features into Blueprints, and separating configuration into `DevelopmentConfig` and `ProductionConfig` classes. Routing favors explicit `@app.get` and `@app.post` decorators, while extensions such as Flask-SQLAlchemy, Flask-Migrate, Flask-Login, Flask-WTF, and Flask-CORS are initialized lazily via `init_app()` inside the factory. Tests rely on `app.test_client()`, `app.test_request_context()`, and pytest fixtures with a dedicated test database. Useful for developers building Flask web applications and REST APIs who want a clean project structure, proper extension setup, and reliable test coverage.
- #flask
- #python
- #web-framework
- #api
- #routing