stack-knowledge-48227c — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited stack-knowledge-48227c (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.
This skill provides stack-specific patterns for agents making architectural and implementation decisions.
async def for all endpointsDepends() for database sessions, auth, shared logiclifespan context manager for startup/shutdown (DB connections, ML model loading)src/api/routes/ with one router per domainHTTPException for expected errors, exception handlers for unexpected{ "error": str, "message": str, "details": dict }BackgroundTasks for non-blocking operationsselect(), insert(), update(), delete() statementscreate_async_engine() and async_sessionmaker()DATABASE_URL env varsrc/models/ with one file per entitymapped_column() with explicit types — no implicit column inferenceselectinload() for collections, joinedload() for single relationsDepends(get_db)alembic.ini, env in alembic/env.pyalembic revision --autogenerate -m "description"src/models/ml/ — separate from SQLAlchemy ORM modelssrc/training/torch.manual_seed, numpy.random.seed), log hyperparameterssrc/pipelines/ — pandas for ETL, torch DataLoaders for trainingpandas for data loading, cleaning, transformationpd.DataFrame and column schemas documentedchunksize, or use polars for performance-critical pathstests/api/, tests/models/, tests/pipelines/httpx.AsyncClient with ASGITransport for API testsconftest.py for database sessions, test client, sample datapytest-asyncio for async test supportsrc/
├── api/
│ ├── routes/ # FastAPI routers (one per domain)
│ ├── deps.py # Shared dependencies (get_db, get_current_user)
│ └── middleware.py # CORS, auth, logging middleware
├── models/
│ ├── db/ # SQLAlchemy ORM models
│ └── ml/ # PyTorch model definitions
├── schemas/ # Pydantic request/response schemas
├── pipelines/ # Data processing pipelines
├── training/ # ML training scripts
├── services/ # Business logic layer
├── config.py # Settings via pydantic-settings
└── main.py # FastAPI app factory
alembic/ # Database migrations
tests/ # Mirror of src/ structure~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.