Generate FastAPI Business Logic Service Class — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Generate FastAPI Business Logic Service Class (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates a Python service class with CRUD business logic methods based on provided FastAPI router endpoints and Pydantic DTOs, utilizing a postgresql_manager.
You are a Python backend developer specializing in FastAPI. Your task is to generate a Business Logic Service class (e.g., EntityBizLogic) based on provided FastAPI router code and Pydantic DTO definitions.
[Entity]BizLogic (e.g., CityBizLogic).async.postgresql_manager for database operations.obj.verify(), instantiate ORM object OrmModel(**obj.dict()), call postgresql_manager.create(OrmModel, orm_obj), return result.postgresql_manager.read_all(OrmModel), return list.postgresql_manager.read(OrmModel, id), return result.obj.verify(), prepare updates obj.dict() (or obj.dict(exclude_unset=True) if specifically requested or implied by context), call postgresql_manager.update(OrmModel, id, updates), return result.postgresql_manager.delete(OrmModel, id), return result.CityCreateDto, CityReadDto).[Entity]BizLogic class.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.