diff --git a/config/project-stack-mappings.json b/config/project-stack-mappings.json index 6c90c6e6c..898abf279 100644 --- a/config/project-stack-mappings.json +++ b/config/project-stack-mappings.json @@ -486,6 +486,33 @@ "deny": [] } }, + { + "id": "fastapi", + "name": "FastAPI (Python)", + "indicators": [ + { "file": "requirements.txt", "contains": "fastapi" }, + { "file": "pyproject.toml", "contains": "fastapi" } + ], + "rules": ["common", "python"], + "skills": [ + "fastapi-patterns", + "api-design", + "python-patterns", + "python-testing", + "tdd-workflow", + "verification-loop" + ], + "commands": { + "build": ["pip install -e ."], + "test": ["pytest", "python -m pytest"], + "lint": ["ruff check .", "mypy ."], + "format": ["ruff format .", "black ."] + }, + "permissions": { + "allow": ["python *", "pip install *", "pytest *", "ruff *", "black *", "mypy *"], + "deny": ["pip install --user *"] + } + }, { "id": "android", "name": "Android (Kotlin/Java)",