Expert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and…
Expert guidance for Django Celery task design, configuration, error handling, and production monitoring. Covers task design patterns, Django ORM integration, transaction safety, and idempotency best practices Includes configuration for brokers, result backends, worker settings, queue routing, and task serialization Provides error handling strategies: retries with exponential backoff, dead letter queues, timeouts, and exception logging Supports periodic task scheduling with Celery Beat, cron expressions, dynamic schedules, and timezone handling Addresses production deployment: worker supervision, container orchestration, health checks, and monitoring with Flower and Prometheus Django Celery Expert Instructions Step 1: Classify the Request Identify the task category from the request: Django integration — transaction safety, ORM patterns, testing, request correlation → read references/django-integration.md Task design — new tasks, calling patterns, chains/groups/chords, idempotency → read references/task-design-patterns.md Configuration — broker setup, result backend, worker settings, queue routing → read references/configuration-guide.md Error handling — retries, backoff, dead letter queues, timeouts → read references/error-handling.md Periodic tasks — Celery Beat, crontab schedules, dynamic schedules, timezone handling → read references/periodic-tasks.md Monitoring — Flower, Prometheus, logging, debugging stuck tasks → read references/monitoring-observability.md Production deployment — scaling, supervision, containers, health checks → read references/production-deployment.md If the request spans multiple categories, read all relevant reference files before continuing. Step 2: Read the Reference File(s)
don't have the plugin yet? install it then click "run inline in claude" again.