django-celery
Django + Celery async task patterns — configuration, task design, beat scheduling, retries, canvas workflows, monitoring, and testing. Use when adding background jobs, scheduled tasks, or async processing to a Django app.
npx skills add mturac/everything-openai-codex --skill django-celery --agent codex
Same command for any agent — swap --agent for claude-code, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Django + Celery Async Task Patterns Production-grade patterns for background task processing in Django using Celery with Redis or RabbitMQ. ## When to Activate - Adding background jobs or async processing to a Django app - Implementing periodic/scheduled tasks - Offloading slow operations (email, PDF generation, API calls) from request cycle - Setting up Celery Beat for cron-like scheduling - Debugging task failures, retries, or queue backlogs - Writing tests for Celery tasks ## Project Setup ### Installation ```bash pip install celery[redis] django-celery-results django-celery-beat ``` ### `celery.py` — App Entrypoint ```python # config/celery.py import os from celery import Celery os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.development') app = Celery('myproject') app.config_from_object('django.conf:settings', namespace='CELERY') app.autodiscover_tasks() # Discovers tasks.py in each INSTALLED_APP @app.task(bind=True, ignore_result=True) def debug_task(self): print(f'Request: {self.request!r}') ``` ```python # config/__init__.py from .celery import app as celery_app __all__ = ('celery_app',) ``` ### Django Settings ```python # config/settings/base.py # Broker
- When to Activate
- Project Setup
- Installation
- celery.py — App Entrypoint
- Django Settings
- Running Workers
- Task Design Patterns
- Basic Task
- Retryable Task
- Idempotent Task Pattern
- Task with Soft Time Limit
- Calling Tasks
- Beat Scheduling (Periodic Tasks)
- Code-Defined Schedule
pip install celery[redis] django-celery-results django-celery-beat Start worker (development) celery -A config worker --loglevel=info Start beat scheduler (periodic tasks) celery -A config beat --loglevel=info --scheduler django_celery_beat.schedulers:DatabaseScheduler Combined worker + beat (dev only, never production) celery -A config worker --beat --loglevel=info celery -A config worker --loglevel=warning --concurrency=4 -Q default,high_priority Inspect active workers and queues celery -A config inspect active
What does the django-celery skill do?
Django + Celery async task patterns — configuration, task design, beat scheduling, retries, canvas workflows, monitoring, and testing. Use when adding background jobs, scheduled tasks, or async processing to a Django app.
How do I install it?
Run `npx skills add mturac/everything-openai-codex --skill django-celery --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
