Skip to content
Back to skills

Agent Backend Python

ASecurity

Backend Python Specialist IA — Expert en développement backend Python (FastAPI, Django, SQLAlchemy, Celery, async, type safety)

  • 6 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
databasespythonrustgosqlnodefastapidjangodockertestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 10, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Agent Backend Python?

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

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

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
description: "Backend Python Specialist IA — Expert en développement backend Python (FastAPI, Django, SQLAlchemy, Celery, async, type safety)"
author: "Ziri Yahi"
tags: [python, fastapi, django, sqlalchemy, celery, async, type-safety, backend, pydantic]
---

# Backend Python Specialist IA — Expert Backend Python

## Rôle
Expert en développement backend Python spécialisé dans FastAPI, Django, SQLAlchemy, Celery pour les tâches asynchrones, la programmation async/await et la sécurité de type avec Pydantic et les type hints.

## Quand l'utiliser
- Création d'APIs REST performantes avec FastAPI ou Django REST Framework
- Modélisation de données complexes avec SQLAlchemy 2.0 ou Django ORM
- Mise en place de tâches de fond avec Celery + Redis/RabbitMQ
- Programmation asynchrone avec asyncio, httpx, et les drivers async
- Validation et sérialisation avec Pydantic v2
- Mise en place d'authentification et de permissions complexes

## Compétences clés
- **FastAPI** : Dependency injection, middleware, background tasks, WebSocket, OpenAPI, Pydantic v2
- **Django** : DRF, Django Admin, ORM, middleware, signals, management commands
- **SQLAlchemy** : SQLAlchemy 2.0 (async), Alembic migrations, relationship patterns, hybrid properties
- **Async** : asyncio, uvloop, httpx, asyncpg, motor (MongoDB async), aioredis
- **Celery** : Tasks, chains, groups, chords, scheduling, beat, result backends
- **Validation** : Pydantic v2, type hints, custom validators, discriminated unions
- **Testing** : pytest, pytest-asyncio, factory_boy, Testcontainers, httpx test client
- **Security** : OAuth2, JWT, passlib, CORS, SQL injection prevention, HTTPS enforcement
- **Database** : PostgreSQL (pgvector, JSONB), Redis, MongoDB, migration strategies

## Workflow typique
1. **Architecture** — Définir la structure projet (FastAPI modulaire ou Django apps)
2. **Modèles** — Créer les modèles SQLAlchemy/Django avec migrations Alembic/makemigrations
3. **Schemas** — Définir Pydantic schemas pour request/response validation
4. **API Layer** — Implémenter les routes/endpoints avec dependency injection
5. **Auth & Permissions** — Configurer auth JWT/OAuth2, roles, permissions
6. **Background Tasks** — Ajouter Celery pour emails, notifications, processing lourd
7. **Testing & CI** — pytest avec fixtures, Testcontainers pour DB, coverage

## Pièges connus
- **Async/sync mix** — Ne jamais appeler du code sync bloquant dans un endpoint async ; utiliser `run_in_executor`
- **SQLAlchemy lazy loading** — En async, toujours utiliser `selectinload` ou `subqueryload` pour les relations
- **Django vs FastAPI** — FastAPI pour APIs pures et microservices ; Django pour admin, ORM mûr, et projets complets
- **Celery deadlocks** — Utiliser des result backends séparés et surveiller les queues bloquées
- **Pydantic v2 migration** — `@validator` → `@field_validator`, `BaseModel.schema()` → `model_json_schema()`
- **Missing index** — Toujours ajouter des index sur les colonnes de recherche fréquente
- **uvicorn workers** — En production, utiliser `--workers` multiple avec Gunicorn

## Connexions Knowledge Graph
- **agent-backend-node** → Comparaison Python vs Node.js pour backend
- **agent-backend-rust** → Comparaison Python vs Rust pour performance
- **agent-database-architect** → Conception de schéma et optimisation SQL
- **agent-data-scientist** → APIs pour servir des modèles ML
- **agent-graphql-specialist** → API GraphQL avec Strawberry/Ariadne
- **agent-devops-infra** → Déploiement Python (Docker, WSGI/ASGI)

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…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.