Volver al catálogo
Revisión estáticaDesarrollo

Dosier de la skill

flask-expert

Declaración de origen

Builds, modernizes and audits Flask 3.x applications: application factories and blueprints, Flask-SQLAlchemy 3.1 with SQLAlchemy 2.x typed models and Flask-Migrate, JSON APIs validated with Pydantic or marshmallow and JSON errors, Jinja templates with Flask-WTF CSRF, Flask-Login and Flask-JWT-Extended auth, pytest fixtures over the factory, and gunicorn or waitress deployment with Celery, RQ or APScheduler jobs. Use when code imports from flask or flask_* extensions (create_app, Blueprint, app.route, flask_sqlalchemy, flask_login, flask_wtf), when adding login, an API endpoint, forms, tests, background jobs or production deployment to a Flask app, when reviewing or upgrading an existing Flask project, or when diagnosing Flask errors such as 'Working outside of application context' or a 500 that only appears under gunicorn. Not for Django or FastAPI projects.

La descripción original del autor, conservada en inglés. Describe la intención, no un rendimiento verificado.

Builds, modernizes and audits Flask 3.x applications: application factories and blueprints, Flask-SQLAlchemy 3.1 with SQLAlchemy 2.x typed models and Flask-Migrate, JSON APIs validated with Pydantic or marshmallow and JSON errors, Jinja templates with Flask-WTF CSRF, Flask-Login and Flask-JWT-Extended auth, pytest fixtures over the factory, and gunicorn or waitress deployment with Celery, RQ or APScheduler jobs. Use when code imports from flask or flask_* extensions (create_app, Blueprint, app.route, flask_sqlalchemy, flask_login, flask_wtf), when adding login, an API endpoint, forms, tests, background jobs or production deployment to a Flask app, when reviewing or upgrading an existing Flask project, or when diagnosing Flask errors such as 'Working outside of application context' or a 500 that only appears under gunicorn. Not for Django or FastAPI projects.

developmentreferences

El contenido de investigación de este sitio está publicado en inglés y chino, y aquí se muestra en inglés.

Resumen de la investigación

Análisis estático

Estas observaciones proceden del análisis determinista del código fuente. No son una evaluación controlada de tareas.

Builds, modernizes and audits Flask 3.x applications: application factories and blueprints, Flask-SQLAlchemy 3.1 with SQLAlchemy 2.x typed models and Flask-Migrate, JSON APIs validated with Pydantic or marshmallow and JSON errors, Jinja templates with Flask-WTF CSRF, Flask-Login and Flask-JWT-Extended auth, pytest fixtures over the factory, and gunicorn or waitress deployment with Celery, RQ or APScheduler jobs. Use when code imports from flask or flask_* extensions (create_app, Blueprint, app.route, flask_sqlalchemy, flask_login, flask_wtf), when adding login, an API endpoint, forms, tests, background jobs or production deployment to a Flask app, when reviewing or upgrading an existing Flask project, or when diagnosing Flask errors such as 'Working outside of application context' or a 500 that only appears under gunicorn. Not for Django or FastAPI projects. This bilingual summary is generated deterministically from collected source text and file structure; it is from static parsing.

Alcance de la revisión

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Capacidades observables

  • Core Workflow [Source statement; provisional, not tested. Evidence: skills/flask-expert/SKILL.md:L28]

Limitaciones y alcance

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Relevante para

  • Practitioners evaluating whether to inspect and install the source skill; this audience is inferred from the product context, not measured usage. [Evidence: skills/flask-expert/SKILL.md:L1-L14]

Qué incluye la skill

El inventario de archivos procede del código fuente recopilado en el commit registrado. Las rutas y los tamaños son observaciones estructurales, no una medida de calidad.

archivos
8
Archivos Markdown
8
scripts
0
referencias
7
Tamaño
126,8 KB
Complejidad estructural
Media

Inventario de archivos

RutaTipoBytes
skills/flask-expert/references/app-structure.mdReferencia15,9 KB
skills/flask-expert/references/authentication.mdReferencia17,3 KB
skills/flask-expert/references/database.mdReferencia20,3 KB
skills/flask-expert/references/deployment.mdReferencia19,5 KB
skills/flask-expert/references/rest-apis.mdReferencia17,2 KB
skills/flask-expert/references/templates-forms.mdReferencia11,9 KB
skills/flask-expert/references/testing.mdReferencia13,1 KB
skills/flask-expert/SKILL.mdInstrucción11,5 KB

Frontmatter de SKILL.md

{
  "name": "flask-expert",
  "description": "Builds, modernizes and audits Flask 3.x applications: application factories and blueprints, Flask-SQLAlchemy 3.1 with SQLAlchemy 2.x typed models and Flask-Migrate, JSON APIs validated with Pydantic or marshmallow and JSON errors, Jinja templates with Flask-WTF CSRF, Flask-Login and Flask-JWT-Extended auth, pytest fixtures over the factory, and gunicorn or waitress deployment with Celery, RQ or APScheduler jobs. Use when code imports from flask or flask_* extensions (create_app, Blueprint, app.route, flask_sqlalchemy, flask_login, flask_wtf), when adding login, an API endpoint, forms, tests, background jobs or production deployment to a Flask app, when reviewing or upgrading an existing Flask project, or when diagnosing Flask errors such as 'Working outside of application context' or a 500 that only appears under gunicorn. Not for Django or FastAPI projects.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/Saifullah1999Pk",
    "version": "1.0.0",
    "domain": "backend",
    "triggers": "Flask, Flask app, Flask API, create_app, Blueprint, Flask-SQLAlchemy, Flask-Migrate, Flask-Login, Flask-WTF, Flask-JWT-Extended, Jinja2, Werkzeug, gunicorn, application context",
    "role": "expert",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "django-expert, fastapi-expert"
  }
}

Una lectura de la secuencia de funcionamiento

Este flujo de trabajo reconstruye la secuencia aparente a partir del material de origen. A menos que se registre explícitamente una evaluación controlada, es provisional y no un seguimiento observado.

  1. 01
    Decisión

    When to Use This Skill

    Source-described decision candidate under “When to Use This Skill”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L20
  2. 02
    Acción

    Core Workflow

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L28
  3. 03
    Acción

    Structure — Check the pinned Flask and Flask-SQLAlchemy versions and the existing layout; build new apps with `createapp(testconfig=None)`, unbound extensions and blueprints, settings from `FLASK` environment variables

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L30
  4. 04
    Acción

    Data — `Mapped`/`mappedcolumn` models and `select()` queries with eager loading; schema changes go through Flask-Migrate

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L31
  5. 05
    Acción

    Interface — JSON blueprints with schema validation (Pydantic, or the project's marshmallow) and an app-level JSON error handler, or Jinja templates with Flask-WTF forms and Post/Redirect/Get

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L32
  6. 06
    Acción

    Secure — `CSRFProtect` for browser forms, Flask-Login sessions or Flask-JWT-Extended tokens, ownership checks on every row, production cookie flags

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L33
Examinar todos los pasos de flujo de trabajo candidatos (30 pasos candidatos)
  1. 07
    Acción

    Test & deploy — pytest fixtures that call the factory with a fresh database per test, or the project's existing fixtures (run them before calling the work done), then gunicorn behind `ProxyFix` (waitress on Windows) and jobs that run in an app context

    Source-described action candidate under “Core Workflow”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L34
  2. 08
    Acción

    Reference Guide

    Source-described action candidate under “Reference Guide”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L36
  3. 09
    Acción

    Auditing an Existing Flask Project

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L94
  4. 10
    Acción

    Models — `grep -rnE 'db\.Column\(' --include='.py' .` → no hits; columns are `Mapped[...] = mappedcolumn(...)` (`database.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L98
  5. 11
    Acción

    Factory — `grep -rnE '^[a-z]app = (Flask|createapp)\(' --include='.py' .` → only entry points nothing imports (`wsgi.py`, Celery/RQ worker modules) (`app-structure.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L99
  6. 12
    Acción

    Queries — `grep -rnE '\b[A-Z]\w\.query\b' --include='.py' .` → no hits; `db.session.get`, `select()`, `db.getor404`, `db.paginate(maxperpage=...)` (`database.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L100
  7. 13
    Salida

    Secrets — `grep -rnE 'SECRETKEY["'\'']\]? = ["'\'']|SECRETKEY.(get(env)?\([^)],|\) or |token(hex|urlsafe|bytes))' --include='.py' .` → no hits: no literal, default or per-process random key; the factory raises when it is missing; and `git ls-files | grep -E '(^|/)\.env$'` → no output and `git check-ignore -q .env` succeeds (exit 0): `.env` is git-ignored, only `.env.example` is committed (`app-structure.md`).

    Source-described output candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L101
  8. 14
    Salida

    API errors — `grep -rnE '(errorhandler|registererrorhandler)\(HTTPException' --include='.py' .` → one app-level handler that answers JSON under `/api/` (no output = HTML error pages) (`rest-apis.md`).

    Source-described output candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L102
  9. 15
    Entrada

    Removed APIs — `grep -rnE 'FLASKENV|\bapp\.env\b|before(app)?firstrequest|flask\.version|from flask import .\b(Markup|escape)\b' --include='.py' --include='.env' --include='.flaskenv' .` → no hits (`app-structure.md`).

    Source-described input candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L103
  10. 16
    Entrada

    Input — `grep -rn 'request.getjson(' --include='.py' .` → each body goes through one schema (Pydantic `modelvalidate`/`TypeAdapter` with `extra="forbid"`, or the project's existing marshmallow schema): no truthiness checks, `Model(data)`, `silent=` or `force=` (`rest-apis.md`).

    Source-described input candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L104
  11. 17
    Acción

    Schema — `grep -rnE 'createall\(|text\(["'\'']ALTER' --include='.py' .` → only in tests; a `migrations/` folder exists and deploys run `flask db upgrade` (`database.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L105
  12. 18
    Acción

    CSRF — `grep -rn 'CSRFProtect(' --include='.py' .` → initialized in the factory, `{{ csrftoken() }}` in every POST form, no hand-rolled token check (`templates-forms.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L106
  13. 19
    Acción

    N+1 — `grep -rn 'relationship(' --include='.py' .` → `lazy="raiseonsql"` (or per-query `raiseload("", sqlonly=True)`), and list queries that serialize a relationship use `selectinload`/`joinedload` (`database.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L107
  14. 20
    Acción

    SQL — `grep -rniE '(select|insert|update|delete) .(" \+|\+ "|%s|\.format\()|f"'\'' ' --include='.py' .` → no hits; `text()` takes values as `:name` parameters (`database.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L108
  15. 21
    Acción

    Dev server — `grep -rnE 'debug=True|app\.run\(' --include='.py' .` → no `debug=True`; production starts gunicorn or waitress, never `app.run` (`deployment.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L109
  16. 22
    Entrada

    Scheduler — `grep -rnE 'BackgroundScheduler\(|scheduler\.start\(' --include='.py' .` → never in `createapp()` or at import: cron plus a `flask` command, or the Redis lease started from `wsgi.py` (`deployment.md`).

    Source-described input candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L110
  17. 23
    Acción

    Async views — `grep -rn 'async def' --include='.py' .` → `flask[async]` installed, and nobody expects more throughput: each request still holds a worker (`rest-apis.md`).

    Source-described action candidate under “Auditing an Existing Flask Project”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L111
  18. 24
    Acción

    Constraints

    Source-described action candidate under “Constraints”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L113
  19. 25
    Salida

    Output Templates

    Source-described output candidate under “Output Templates”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L134
  20. 26
    Acción

    Factory (or existing app setup), extension and config changes, with the environment variables to set

    Source-described action candidate under “Output Templates”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L138
  21. 27
    Acción

    Models plus the `flask db migrate`/`upgrade` commands, and the blueprint views

    Source-described action candidate under “Output Templates”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L139
  22. 28
    Acción

    pytest tests using the factory fixture (or the project's existing fixtures), and a short note on decisions, version assumptions and caveats (an `async def` view still holds one worker per request), written into the README or a comment by the code, not only the chat

    Source-described action candidate under “Output Templates”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L140
  23. 29
    Acción

    Knowledge Reference

    Source-described action candidate under “Knowledge Reference”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L142
  24. 30
    Acción

    Related Skills

    Source-described action candidate under “Related Skills”; not verified execution.

    Evidencia en el código fuenteskills/flask-expert/SKILL.md:L146

Posibles superficies de riesgo

Los hallazgos estáticos señalan puntos que conviene revisar antes de instalar. No establecen que una skill sea segura, maliciosa ni eficaz.

Se recomienda atención

87 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

Acceso a la redObservado
Escrituras de archivosObservado
Uso de credencialesObservado
Alta

Credential or secret material is referenced

12 ocurrencias

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 12 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Nota

File modification is described or implemented

62 ocurrencias

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 62 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Media

Network access is mentioned

13 ocurrencias

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 13 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Dónde puede consumirse el contexto

Las capas de descubrimiento, activación y recursos tienen significados distintos. Los valores exactos solo aparecen cuando el método oficial de recuento se ejecutó con un modelo identificado.

Recuento exacto de tokens no disponible

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

No se registró ninguna medición de tokens con el método oficial requerido. Este dosier no la sustituye por recuentos de caracteres, tamaños de archivo ni estimaciones.

Evaluación controlada

Sin evaluación controlada

Esta skill solo cuenta con las evidencias indicadas arriba. No se afirma ninguna tasa de éxito, eficiencia de tokens, latencia ni ventaja de calidad.

Sin probar

Úsala con el código fuente a la vista

Comando de instalación
Inspect the pinned source at https://github.com/Jeffallan/claude-skills/blob/4b94d98605baf742b751bb82832ace5caf942271/skills/flask-expert/SKILL.md and follow the source repository's installation instructions. No installation was performed or verified by this static analyzer. Source license: MIT.

Requisitos previos

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Prompts de ejemplo

No proporcionado

Una decisión, con sus límites

Fortalezas

  • The snapshot contains 8 collected file(s), 8 Markdown file(s), and 0 script file(s), enabling source-level inspection. [Evidence: skills/flask-expert/SKILL.md:L1]

Aspectos a considerar

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Conclusión de la investigación

Provisional deterministic static inventory only; from static parsing and, separately, controlled evaluation. No install recommendation, security assurance, or effectiveness claim is made.

Trazable por construcción

El dosier es una lectura acotada en el tiempo de un artefacto público, no un respaldo. Usa el enlace al código fuente para inspeccionar el material original exacto.

Jeffallanclaude-skillsskills/flask-expert
Tipo de origen
Comunidad
Commit
4b94d98605baf742b751bb82832ace5caf942271
Recopilado
23 nov 2026
Última comprobación
23 nov 2026
Licencia original
MIT
Estrellas del repositorio
12.495
Base del contenido

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.