mcpField
F
flask

flask

github.com/full-stack-skillsDevelopment3100 installsUpdated 5w ago
Repository

About flask

A skill for building Python web applications with Flask. It covers routing, templates, extensions, configuration, WSGI, and deployment practices.

Key features

  1. 01Flask routes and request handling
  2. 02Jinja2 templates
  3. 03Blueprints and extensions
  4. 04Configuration and deployment guidance

Use cases

  1. 01Creating Flask routes and web pages
  2. 02Organizing applications with Blueprints
  3. 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 flask

After installing, type/flaskin Claude Code to confirm it loaded.

Bundled filesagents/openai.yamlLICENSE.txt

Details

From the project README

When to use this skill

Use this skill whenever the user wants to:

  • 用 Flask 编写 Python Web 应用、路由、模板与扩展
  • 配置 WSGI、蓝图、配置与部署

How to use this skill

  1. 核心:Flask(name)、@app.route、request、render_template;Jinja2。
  2. 进阶:Blueprint、Flask-SQLAlchemy、配置与环境变量;g、session。
  3. 参考:https://flask.palletsprojects.com/

Best Practices

  • 应用工厂与蓝图拆分;敏感配置不入库。
  • 生产用 Gunicorn/uWSGI;CSRF 与安全头。

Keywords

flask, Python Web, 路由, 模板

Comments

Markdown supported