django-celery-expert

Expert Django Celery guidance for asynchronous task processing. Use when designing background tasks, configuring Celery workers, handling task retries and errors, optimizing Celery performance, implementing periodic tasks with Celery Beat, or setting up production monitoring for Celery. Do not use f

By vintasoftware · 989 installs

npx skills add vintasoftware/django-ai-plugins --skill django-celery-expert

Source repository · Upstream listing

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) Read each reference file identified in Step 1. Do not proceed to implementation without reading the relevant reference. Step 3: Implement Apply the patterns from the reference file. Before presenting the solution, verify: Task arguments are serializable (pass IDs, not model instances) Tasks with retries enabled are idempotent Errors are logged with context Long running tasks have timeouts configured Examples Basic Background Task Request: "Send welcome emails in the background after user registration" Task with Progress Tracking Request: "Process a large CSV import with progress updates" Workflow with Chains Request: "Process an order: validate inventory, charge payment, then send confirmation"