本文へ移動
cccskills
無料GitHub で公開

agent-backend-python

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.5 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Expert en développement .NET (C#, ASP.NET Core, Entity Framework, Blazor, MAUI)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

Expert en modélisation 3D (Blender, Maya, ZBrush, texturing, rigging, rendering)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

Expert en audit d'accessibilité (WCAG 2.2, axe-core, Lighthouse, screen readers, keyboard navigation)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

Expert en accessibilité avancée (WCAG 2.2, screen readers, keyboard nav, ARIA, testing, legal compliance)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

Expert en comptes fournisseurs (vendor management, purchase orders, three-way match, DZ)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

Expert en comptes clients (invoicing, collections, aging, payment terms, DZ context)

日本語の概要は準備中です。原文の説明を表示しています。

ziri22/agency-roster62026年7月1日 更新

ziri22 のスキルをすべて見る

このスキルの問題を報告する