From cf25542eaca501b8789e2c39ef403671417795c3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 18:54:32 +0000 Subject: [PATCH] Remove Item model from generated FastAPI project and add AGENTS.md bare-minimum rule Co-authored-by: SupraSummus <15822143+SupraSummus@users.noreply.github.com> --- AGENTS.md | 5 +++++ fastapi/31-sqlalchemy.sh | 15 ++------------- fastapi/example/example/models.py | 13 +------------ 3 files changed, 8 insertions(+), 25 deletions(-) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..e104378 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,5 @@ +# Agents + +## Rules + +- We aim to generate a bare usable minimum. Do not include example models, placeholder data, or unnecessary boilerplate that the user would have to delete. diff --git a/fastapi/31-sqlalchemy.sh b/fastapi/31-sqlalchemy.sh index c95ff0f..c41cb22 100755 --- a/fastapi/31-sqlalchemy.sh +++ b/fastapi/31-sqlalchemy.sh @@ -28,20 +28,9 @@ async def get_db(): await session.close() EOF -# Create example model +# Create models module cat > "$FASTAPI_PROJECT_NAME/models.py" <