About flask
A skill for building Python web applications with Flask. It covers routing, templates, extensions, configuration, WSGI, and deployment practices.
Key features
- 01Flask routes and request handling
- 02Jinja2 templates
- 03Blueprints and extensions
- 04Configuration and deployment guidance
Use cases
- 01Creating Flask routes and web pages
- 02Organizing applications with Blueprints
- 03Preparing a Flask app for deployment
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ full-stack-skills/ python-skills --skill flaskAfter installing, type/flaskin Claude Code to confirm it loaded.
Bundled filesagents/openai.yamlLICENSE.txt
Details
From the project READMEWhen to use this skill
Use this skill whenever the user wants to:
- 用 Flask 编写 Python Web 应用、路由、模板与扩展
- 配置 WSGI、蓝图、配置与部署
How to use this skill
- 核心:Flask(name)、@app.route、request、render_template;Jinja2。
- 进阶:Blueprint、Flask-SQLAlchemy、配置与环境变量;g、session。
- 参考:https://flask.palletsprojects.com/
Best Practices
- 应用工厂与蓝图拆分;敏感配置不入库。
- 生产用 Gunicorn/uWSGI;CSRF 与安全头。
Keywords
flask, Python Web, 路由, 模板
Comments
Markdown supported