Zurück zum Katalog
Statische PrüfungEntwicklung

Skill-Dossier

flask-expert

Quellenangabe

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.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

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

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Statische Analyse

Diese Beobachtungen stammen aus deterministischem Quell-Parsing. Sie sind keine kontrollierte Aufgabenevaluation.

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.

Prüfungsumfang

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.

Beobachtbare Fähigkeiten

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

Grenzen & Umfang

  • 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.

Relevant für

  • 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]

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
8
Markdown-Dateien
8
Skripte
0
Verweise
7
Größe
126,8 KB
Strukturelle Komplexität
Mittel

Dateiübersicht

PfadArtBytes
skills/flask-expert/references/app-structure.mdVerweis15,9 KB
skills/flask-expert/references/authentication.mdVerweis17,3 KB
skills/flask-expert/references/database.mdVerweis20,3 KB
skills/flask-expert/references/deployment.mdVerweis19,5 KB
skills/flask-expert/references/rest-apis.mdVerweis17,2 KB
skills/flask-expert/references/templates-forms.mdVerweis11,9 KB
skills/flask-expert/references/testing.mdVerweis13,1 KB
skills/flask-expert/SKILL.mdAnweisung11,5 KB

SKILL.md-Frontmatter

{
  "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"
  }
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Entscheidung

    When to Use This Skill

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

  2. 02
    Aktion

    Core Workflow

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

  3. 03
    Aktion

    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.

  4. 04
    Aktion

    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.

  5. 05
    Aktion

    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.

  6. 06
    Aktion

    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.

Alle extrahierten Workflow-Kandidaten ansehen (30 Kandidatenschritte)
  1. 07
    Aktion

    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.

  2. 08
    Aktion

    Reference Guide

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

  3. 09
    Aktion

    Auditing an Existing Flask Project

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

  4. 10
    Aktion

    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.

  5. 11
    Aktion

    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.

  6. 12
    Aktion

    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.

  7. 13
    Ausgabe

    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.

  8. 14
    Ausgabe

    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.

  9. 15
    Eingabe

    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.

  10. 16
    Eingabe

    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.

  11. 17
    Aktion

    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.

  12. 18
    Aktion

    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.

  13. 19
    Aktion

    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.

  14. 20
    Aktion

    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.

  15. 21
    Aktion

    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.

  16. 22
    Eingabe

    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.

  17. 23
    Aktion

    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.

  18. 24
    Aktion

    Constraints

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

  19. 25
    Ausgabe

    Output Templates

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

  20. 26
    Aktion

    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.

  21. 27
    Aktion

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

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

  22. 28
    Aktion

    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.

  23. 29
    Aktion

    Knowledge Reference

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

  24. 30
    Aktion

    Related Skills

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

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Aufmerksamkeit empfohlen

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.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenBeobachtet
Hoch

Credential or secret material is referenced

12 Vorkommen

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.

Hinweis

File modification is described or implemented

62 Vorkommen

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.

Mittel

Network access is mentioned

13 Vorkommen

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.

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

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

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
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.

Voraussetzungen

  • 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.

Beispiel-Prompts

Nicht angegeben

Ein Urteil, mit seinen Grenzen

Stärken

  • 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]

Abwägungen

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Forschungsfazit

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

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

Jeffallanclaude-skillsskills/flask-expert
Quellenart
Community
Commit
4b94d98605baf742b751bb82832ace5caf942271
Erfasst
23. Nov. 2026
Zuletzt geprüft
23. Nov. 2026
Upstream-Lizenz
MIT
Repository-Sterne
12.495
Inhaltsgrundlage

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.