flask-docs
Skill7 starsChanged 15 days agoMITView on GitHub
Official Flask documentation, answered with links to the exact pages. Use for any Flask question, including routing and blueprints, application factories, templates, sessions, the application and request contexts, testing and the CLI, or deployment.
In this repository69 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- caching-strategiesSkill
- database-normalizationSkill
- design-patternsSkill
- object-oriented-programming-paradigmSkill
- aadc-complianceSkill
- app-store-complianceSkill
- ccpa-cpra-complianceSkill
- coppa-complianceSkill
- dpdp-complianceSkill
- eprivacy-complianceSkill
- eu-ai-act-complianceSkill
- eu-dsa-complianceSkill
- gdpr-complianceSkill
- hipaa-hds-complianceSkill
- lgpd-complianceSkill
- pci-dss-complianceSkill
- pipeda-law25-complianceSkill
- pipl-csl-complianceSkill
- psd2-sca-complianceSkill
- uk-gdpr-complianceSkill
- us-state-privacy-complianceSkill
- world-wide-complianceSkill
- aws-cli-docsSkill
- aws-dynamodb-docsSkill
- aws-ecs-docsSkill
- aws-eks-docsSkill
- aws-iam-docsSkill
- aws-lambda-docsSkill
- aws-s3-docsSkill
- bullmq-docsSkill
- cassandra-docsSkill
- django-docsSkill
- docker-docsSkill
- elasticsearch-docsSkill
- expressjs-docsSkill
- fastapi-docsSkill
- fastify-docsSkill
- firebase-docsSkill
- git-docsSkill
- github-actions-docsSkill
- gitlab-ci-docsSkill
- grafana-docsSkill
- graphql-docsSkill
- helm-docsSkill
- kafka-docsSkill
- kubernetes-docsSkill
- mongodb-docsSkill
- mysql-docsSkill
- nestjs-docsSkill
- nginx-docsSkill
- opensearch-docsSkill
- opentelemetry-docsSkill
- phoenix-docsSkill
- pinecone-docsSkill
- postgresql-16-docsSkill
- postgresql-17-docsSkill
- postgresql-18-docsSkill
- qdrant-docsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
Use current_app and g only inside the context that provides them.
- Distinctive: line 38
Check the async and Quart guidance before recommending Flask for heavy async workloads.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Flask Docs
Flask behavior shifts between releases, as its Changes page records, so ground each answer in the live docs at https://flask.palletsprojects.com/en/stable/, not memory, and link the exact page behind every claim.
Route Django ORM, admin, migrations or URLconf questions to django-docs, and FastAPI dependencies, OpenAPI or Pydantic validation to fastapi-docs. Werkzeug, Jinja and third-party extensions belong to their own docs unless the question turns on Flask's documented integration or general extension patterns.
Workflow
- Locate the question in
references/topic-map.md, a selective index of docs entry points. Done when each part of the question maps to a section of the map, or you have noted that none fits. - Search
flask.palletsprojects.com/en/stablewith the user's exact terms plus Flask vocabulary such asBlueprint,application factory,g,session,test_client, orbefore_request, starting from the map's pages and the Routing rules below. Done when you hold the one page that most directly answers each part. - Read each page down to the relevant section. Done when you have read the passage behind every claim you will make. When a page has moved, been renamed, or stops short, say so and link the nearest authoritative pages.
- Answer with the direct answer first, each docs link beside the claim it supports, and code examples only when the user asks or the page needs them. Mark any conclusion that joins several pages as
Inference:. Done when every claim cites a specific page, not the docs home.
Routing
- Version-specific changes: the Changes page.
- First steps: Quickstart and the Tutorial, before API reference pages.
- Recommended approaches: the user guide and Patterns pages; exact signatures: the API reference.
- Project structure: the Application Factories and Blueprints patterns.
- Context questions: tell the application context from the request context.
- Sessions: Sessions in Quickstart plus the sessions API reference.
- Errors: Handling Application Errors, before custom middleware.
- Security: Security Considerations.
- Async: Using async and await, including its note on when Quart may fit better.
- Deployment: Deploying to Production.
Gotchas
- Flask has no built-in ORM, admin or migrations, unlike Django.
- Serve production traffic as Deploying to Production describes; the development server is for development.
- Use
current_appandgonly inside the context that provides them. - Register blueprints and error handlers in the order and scope the docs specify.
- Check the async and Quart guidance before recommending Flask for heavy async workloads.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

