What problem does it solve?
Celery task setups often fail silently or become insecure due to missing time limits, non-idempotent retries, unsafe serialization, weak input validation, and poor failure handling, causing production instability and security risk.
Core Features & Use Cases
- Distributed task queue configuration: Use Celery with Redis/RabbitMQ backends, including reliable worker settings and production-safe broker/result configurations.
- Workflow orchestration: Design chains, groups, and chords for multi-step processing, parallel execution, and aggregation.
- Security and reliability guardrails: Enforce JSON-only serialization, validate task inputs, make tasks idempotent, set time limits, configure acknowledgments safely, and expire results.
Use Case: You need to move a time-sensitive, multi-step job (fetch data → process items → notify stakeholders) into Celery while preventing duplicate side effects on retries and hardening the system against common Celery security mistakes.
Quick Start
Use the celery-expert skill to generate a production-ready Celery configuration and task skeleton for a chain-based workflow that uses JSON serialization, includes Pydantic argument validation, sets soft and hard time limits, enables safe late acknowledgments, and implements idempotent retries.