Loading...
Loading...
Audits a FastAPI project against architecture rules. Use when asked to "review routes", "check architecture", "audit this project", "does this follow fastapi rules", or "review my code structure".
npx skill4agent add ghalex/skills fastapi-architectpyproject.toml[tool.uv.workspace]apps/packages/src/{project}/| Concept | Standalone | Monorepo |
|---|---|---|
| Routes | | |
| Services | | |
| Models (Pydantic) | | |
| DB (ORM + session) | | |
| Utils | | |
| Config | | |
| Main | | |
| Service deps | | |
packages/*/pyproject.toml{ workspace = true }[tool.uv.sources]{project}_dbpackages/services/apps/Depends()get_*_servicefrom {project}.dbfrom {project}_dbSessionget_dbdb: Session__init__get_dbget_*_serviceservices/__init__.pyapi/Mappedmapped_columnColumn(Integer, ...)dbSessionget_dblifespanapp: FastAPImain.py__init__.pymain.pypyproject.toml## Architecture Review
**Layout detected:** Standalone | Monorepo
### ✅ Passing
- <list of rules that are correctly followed>
### ❌ Violations
#### <file path>
- **Rule:** <rule that is violated>
- **Found:** <what the code actually does>
- **Fix:** <exact change needed>
### ⚠️ Warnings
- <things that are not violations but could be improved>
### Summary
X violations found in Y files.