Celery
Skill Verifiziert AktivDistributed task queue system for Python enabling asynchronous execution of background jobs, scheduled tasks, and workflows across multiple workers with Django, Flask, and FastAPI integration.
To serve as a definitive guide for implementing and managing distributed task queues in Python applications using Celery.
Funktionen
- Distributed task execution and scheduling
- Asynchronous background job processing
- Complex task workflows and orchestration
- Robust error handling with retries and backoff
- Integration with Python web frameworks (Django, Flask, FastAPI)
Anwendungsfälle
- Offloading long-running operations like email sending or report generation
- Implementing scheduled tasks similar to cron jobs
- Distributing computation across multiple worker nodes
- Building complex asynchronous workflows with task dependencies
Nicht-Ziele
- Replacing simple asyncio for in-process async I/O
- Providing real-time request/response handling
- Serving as a solution for minimal infrastructure needs
Workflow
- Install Celery and necessary dependencies.
- Configure the Celery application, including broker and backend.
- Define tasks using decorators or Task classes.
- Execute tasks asynchronously using `.delay()` or `.apply_async()`.
- Monitor task execution via workers, Flower, or inspection commands.
- Implement advanced features like periodic tasks, workflows, and error handling.
Praktiken
- Task design
- Error handling
- Performance optimization
- Monitoring
- Security
Voraussetzungen
- Python environment
- Celery package (`pip install celery`)
- A message broker (e.g., Redis, RabbitMQ)
- An optional result backend (e.g., Redis, database)
Installation
npx skills add bobmatnyc/claude-mpm-skillsFührt das Vercel skills CLI (skills.sh) via npx aus — benötigt Node.js lokal und mindestens einen installierten skills-kompatiblen Agent (Claude Code, Cursor, Codex, …). Setzt voraus, dass das Repo dem agentskills.io-Format folgt.
Qualitätspunktzahl
VerifiziertVertrauenssignale
Ähnliche Erweiterungen
Python Best Practices
99Python/FastAPI coding standards including async patterns, Pydantic v2, SQLAlchemy 2.0, and project structure. Use when writing Python code, reviewing FastAPI projects, or learning FastAPI conventions.
Pydantic Validation
99Python data validation using type hints and runtime type checking with Pydantic v2's Rust-powered core for high-performance validation in FastAPI, Django, and configuration management.
Senior Fullstack
99Fullstack development toolkit with project scaffolding for Next.js, FastAPI, MERN, and Django stacks, code quality analysis with security and complexity scoring, and stack selection guidance. Use when the user asks to "scaffold a new project", "create a Next.js app", "set up FastAPI with React", "analyze code quality", "audit my codebase", "what stack should I use", "generate project boilerplate", or mentions fullstack development, project setup, or tech stack comparison.
API Security Review Skill
94API security checklist for reviewing endpoints before deployment. Use when creating or modifying API routes to ensure proper authentication, authorization, and input validation.
Sqlalchemy Orm
75SQLAlchemy Python SQL toolkit and ORM with powerful query builder, relationship mapping, and database migrations via Alembic
Csharp Async
100Get best practices for C# async programming