flask
Flask Python microframework. Use when building Flask apps, blueprints for modular routes, Jinja2 templates, SQLAlchemy ORM, Flask-RESTful APIs, or using…
от skeletorflet★ 48 звёзд на GitHub
Установить flask в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
flask
Lightweight Python microframework with minimal core and rich extension ecosystem.
Core Concepts
- Blueprints: modular route organization with
Blueprintobjects, mounted at URL prefixes - Jinja2 templates: server-side rendering with template inheritance, filters, and macros
- SQLAlchemy ORM:
db.Modelfor declarative models,db.sessionfor transactional queries - App factory:
create_app()function for configurable, testable application instances
Common Patterns
- Flask-RESTful:
Resourcesubclasses with method-based routing for REST endpoints - Error handlers:
@app.errorhandler(404)for custom JSON or HTML error responses - Extensions: Flask-Login for auth, Flask-Migrate for schema changes, Flask-Mail for email
- Request hooks:
before_request/after_requestfor cross-cutting concerns like DB sessions
Best Practices
- Use the app factory pattern to enable multiple config profiles (dev, test, production)
- Keep configuration in environment variables with
app.config.from_prefixed_env() - Organize views into blueprints by domain rather than dumping all routes in one file
- Use
gobject sparingly for request-scoped data, clean up withteardown_appcontext
Common Code Patterns
Blueprint("auth", __name__, url_prefix="/auth")withregister_blueprintin factorydb.relationship("Post", backref="author", lazy="dynamic")for one-to-many ORM access
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл flask?
Flask Python microframework. Use when building Flask apps, blueprints for modular routes, Jinja2 templates, SQLAlchemy ORM, Flask-RESTful APIs, or using extensions.
Как установить скилл flask?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл flask запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…