Retour au catalogue
Examen statiqueDéveloppement

Dossier du skill

flask-expert

Déclaration de la source

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 description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Analyse statique

Ces observations proviennent d'une analyse déterministe de la source. Ce n'est pas une évaluation de tâche contrôlée.

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.

Portée de l'examen

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.

Capacités observables

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

Limites et portée

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

Pertinent pour

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

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
8
Fichiers Markdown
8
scripts
0
références
7
Taille
126,8 KB
Complexité structurelle
Moyenne

Inventaire des fichiers

CheminTypeOctets
skills/flask-expert/references/app-structure.mdRéférence15,9 KB
skills/flask-expert/references/authentication.mdRéférence17,3 KB
skills/flask-expert/references/database.mdRéférence20,3 KB
skills/flask-expert/references/deployment.mdRéférence19,5 KB
skills/flask-expert/references/rest-apis.mdRéférence17,2 KB
skills/flask-expert/references/templates-forms.mdRéférence11,9 KB
skills/flask-expert/references/testing.mdRéférence13,1 KB
skills/flask-expert/SKILL.mdInstruction11,5 KB

Frontmatter du 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"
  }
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Décision

    When to Use This Skill

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

  2. 02
    Action

    Core Workflow

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

  3. 03
    Action

    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
    Action

    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
    Action

    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
    Action

    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.

Examiner toutes les étapes de workflow candidates (30 étapes candidates)
  1. 07
    Action

    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
    Action

    Reference Guide

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

  3. 09
    Action

    Auditing an Existing Flask Project

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

  4. 10
    Action

    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
    Action

    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
    Action

    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
    Sortie

    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
    Sortie

    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
    Entrée

    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
    Entrée

    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
    Action

    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
    Action

    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
    Action

    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
    Action

    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
    Action

    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
    Entrée

    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
    Action

    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
    Action

    Constraints

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

  19. 25
    Sortie

    Output Templates

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

  20. 26
    Action

    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
    Action

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

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

  22. 28
    Action

    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
    Action

    Knowledge Reference

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

  24. 30
    Action

    Related Skills

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Attention recommandée

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsObservé
Élevé

Credential or secret material is referenced

12 occurrences

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.

Note

File modification is described or implemented

62 occurrences

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.

Moyen

Network access is mentioned

13 occurrences

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.

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.

Prérequis

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

Exemples de prompts

Non renseigné

Une conclusion, avec ses limites

Points forts

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

Points d'attention

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

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

Jeffallanclaude-skillsskills/flask-expert
Type de source
Communauté
Commit
4b94d98605baf742b751bb82832ace5caf942271
Collecté
23 nov. 2026
Dernière vérification
23 nov. 2026
Licence amont
MIT
Étoiles du dépôt
12 495
Base du contenu

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.