Back to catalog
Static reviewDevelopment

Skill dossier

flask-expert

Source declaration

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.

The author's original description, preserved in English. It describes intent, not verified performance.

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

Research summary

Static analysis

These observations come from deterministic source parsing. They are not a controlled task evaluation.

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.

Review scope

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.

Observable capabilities

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

Limitations & scope

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

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

What ships with the skill

The file inventory comes from the collected source at the recorded commit. Paths and sizes are structural observations, not a measure of quality.

files
8
Markdown files
8
scripts
0
references
7
Size
126.8 KB
Structural complexity
Moderate

File inventory

PathTypeBytes
skills/flask-expert/references/app-structure.mdReference15.9 KB
skills/flask-expert/references/authentication.mdReference17.3 KB
skills/flask-expert/references/database.mdReference20.3 KB
skills/flask-expert/references/deployment.mdReference19.5 KB
skills/flask-expert/references/rest-apis.mdReference17.2 KB
skills/flask-expert/references/templates-forms.mdReference11.9 KB
skills/flask-expert/references/testing.mdReference13.1 KB
skills/flask-expert/SKILL.mdInstruction11.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"
  }
}

A reading of the operating sequence

This workflow reconstructs the apparent sequence from source material. Unless controlled evaluation is explicitly recorded, it is provisional—not an observed trace.

  1. 01
    Decision

    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.

Inspect all extracted workflow candidates (30 candidate steps)
  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
    Output

    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
    Output

    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
    Input

    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
    Input

    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
    Input

    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
    Output

    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.

Potential risk surfaces

Static findings identify points to inspect before installation. They do not establish that a skill is safe, malicious, or effective.

Attention recommended

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.

Network accessObserved
File writesObserved
Credential useObserved
High

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.

Medium

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.

Where context can be spent

Discovery, activation, and resource layers have different meanings. Exact values appear only when the official token-counting method was run with a named model.

Exact token counts unavailable

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

No token measurement was recorded with the required official method. This dossier does not substitute character counts, file sizes, or estimates.

Controlled evaluation

No controlled evaluation

This skill has only the evidence identified above. No task success, token efficiency, latency, or quality advantage is claimed.

Not tested

Use with the source in view

Install command
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.

Prerequisites

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

Example prompts

Not provided

A decision, with its limits attached

Strengths

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

Considerations

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

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

Traceable by construction

The dossier is a time-bound reading of a public artifact, not an endorsement. Use the source link to inspect the exact upstream material.

Jeffallanclaude-skillsskills/flask-expert
Source type
Community
Commit
4b94d98605baf742b751bb82832ace5caf942271
Collected
23 Nov 2026
Last checked
23 Nov 2026
Upstream license
MIT
Repository stars
12,495
Content basis

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.