---
title: "stack-flask-sqlalchemy"
description: "Flask + SQLAlchemy architecture plugin. How the application factory, the Flask-SQLAlchemy session, Alembic migrations and Jinja2 templates fit together: where db is created, the app context, the transaction boundary, exp"
canonical: https://agentpluginsdirectory.com/plugins/stack-flask-sqlalchemy
last-updated: 2026-11-13
---

# stack-flask-sqlalchemy
Flask + SQLAlchemy architecture plugin. How the application factory, the Flask-SQLAlchemy session, Alembic migrations and Jinja2 templates fit together: where db is created, the app context, the transaction boundary, expire_on_commit, N+1 at the route-to-template edge, and a full-feature recipe. Tool knowledge comes from its dependencies flask-dev and sqlalchemy-dev.
## Package we checked
The manifest we fetched is stack-flask-sqlalchemy/plugin.json in Agents-Store/agentplugins. The plugin root is the directory that holds that file. Its $schema is https://agent-plugins.org/schemas/1.0.0/plugin.schema.json. The manifest lists 2 skills (full-feature, layers-and-boundaries) and no MCP servers. Extension keys: com.anthropic.claude-code.
- Slug: stack-flask-sqlalchemy
- Publisher: Agents Store
- Repository: https://github.com/Agents-Store/agentplugins
- Manifest: stack-flask-sqlalchemy/plugin.json
- Version: 2.0.4
- Category (editorial): other
- Skills: 2 (full-feature, layers-and-boundaries)
- MCP servers: 0
- Stars: 0
- Repository created: 2026-08-18
- Repository last pushed: 2026-11-05
- Publisher type: Organization
- Listing: https://agentpluginsdirectory.com/plugins/stack-flask-sqlalchemy
- Schema: https://agent-plugins.org/schemas/1.0.0/plugin.schema.json

## What stack-flask-sqlalchemy does, in the publisher's words

Flask + SQLAlchemy architecture plugin. How the application factory, the Flask-SQLAlchemy session, Alembic migrations and Jinja2 templates fit together: where db is created, the app context, the transaction boundary, expire_on_commit, N+1 at the route-to-template edge, and a full-feature recipe. Tool knowledge comes from its dependencies flask-dev and sqlalchemy-dev.

From the project README, punctuation lightly normalized. Full text: https://raw.githubusercontent.com/Agents-Store/agentplugins/HEAD/stack-flask-sqlalchemy/README.md

## Skills

- full-feature: Use when the user asks to "add a new feature", "create a new page", "build CRUD for a new entity", "add a new section to the app", "implement a full feature end-to-end", or needs a step-by-step recipe for building a complete feature across Flask + SQLAlchemy layers.
- layers-and-boundaries: Use when the user asks about "Flask SQLAlchemy architecture", "where to create db in Flask", "Flask app context and SQLAlchemy session", "when to commit in Flask", "Flask transaction boundary", "expire_on_commit in Flask-SQLAlchemy", "DetachedInstanceError in Flask", "Working outside of application…

Descriptions come from the frontmatter of each SKILL.md, punctuation lightly normalized.
