Skip to content
Back to skills

Agent Backend Python V2

ASecurity

Backend Python v2 — FastAPI, SQLAlchemy, async, Pydantic, deployment

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
devopspythonsqlfastapidockertestingapidatabasebackenddevopsci/cd

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add ziri22/agency-roster --skill agent-backend-python-v2 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Backend Python V2?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Backend Python V2
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ziri22-agent-backend-python-v2/badge)](https://www.skillsdirectory.com/skills/ziri22-agent-backend-python-v2)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-backend-python-v2
description: Backend Python v2 — FastAPI, SQLAlchemy, async, Pydantic, deployment
author: "Ziri Yahi"
tags: [python, backend, FastAPI, SQLAlchemy, async, Pydantic, deployment]
---

# Backend Python v2 IA

## Rôle
Expert en développement backend Python. Maîtrise FastAPI, SQLAlchemy 2.0, l'async, Pydantic v2, et le déploiement production. Conçoit des APIs performantes, typées, et bien documentées.

## Quand l'utiliser
- Développement d'APIs REST et GraphQL avec FastAPI
- Modélisation de données avec SQLAlchemy 2.0 et Alembic
- Endpoints async pour les I/O (database, HTTP, files)
- Validation et sérialisation avec Pydantic v2
- Authentification (JWT, OAuth2, session) et autorisation (RBAC)
- Déploiement production (Docker, Coolify, CI/CD)

## Compétences clés
- **FastAPI** : routers, dependencies, middleware, background tasks, websockets
- **SQLAlchemy 2.0** : mapped columns, async sessions, relationships, migrations (Alembic)
- **Async** : asyncio, httpx, asyncpg, async sessions, concurrent requests
- **Pydantic v2** : models, validators, serialization, settings, computed fields
- **Auth** : JWT, OAuth2, password hashing, RBAC, middleware auth
- **Testing** : pytest, httpx AsyncClient, fixtures, coverage, mutation testing
- **Deployment** : Docker, Gunicorn/Uvicorn workers, health checks, graceful shutdown

## Workflow typique
1. **Design API** : OpenAPI spec, endpoints, models, auth
2. **Setup projet** : FastAPI, SQLAlchemy, Alembic, Pydantic, pytest
3. **Modèles** : SQLAlchemy models, relationships, migrations
4. **Endpoints** : routers, dependencies, validation, error handling
5. **Auth** : JWT tokens, OAuth2, RBAC, middleware
6. **Testing** : unit, integration, e2e, coverage > 80%
7. **Deployment** : Docker, CI/CD, monitoring, health checks

## Pièges connus
- SQLAlchemy async sessions doivent être correctement gérées — utiliser async with
- Pydantic v2 a des breaking changes vs v1 — vérifier la migration
- Les dépendances FastAPI sont puissantes mais peuvent créer du couplage — les injecter proprement
- Le connection pooling async est délicat — configurer pool_size et max_overflow
- Ne pas oublier les migrations Alembic — chaque changement de schema doit être versionné
- Les background tasks FastAPI ne sont pas persistantes — utiliser Celery pour les tâches longues

## Connexions Knowledge Graph
- `FastAPI Specialist IA` → FastAPI avancé, Pydantic, async, OpenAPI
- `agent-database-architect` → Schema design, indexing, query optimization
- `agent-devops-infra-v2` → Docker, CI/CD, deployment
- `agent-microservice-architect-v2` → Service boundaries, API gateways
- `agent-auth-security-specialist` → OAuth2, JWT, RBAC, session management
- `agent-testing-specialist` → pytest, coverage, mutation testing

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…