lct1407/sidcorp-skills/python-async-workers
Claude Code and agent skill by lct1407/sidcorp-skills
- community
Checking that the SKILL.md file is still in the repository.
Generate Python background workers, cron jobs, message queue consumers. Use when creating scheduled tasks (APScheduler), Celery workers, RabbitMQ/Redis queue consumers, or async job processing. Follows project async patterns and integrates with existing services.
Install
npx vskill@latest install lct1407/sidcorp-skills/python-async-workersSKILL.md
Python Async Workers
Background processing patterns for FastAPI applications.
Architecture Overview
Components
| Component | Purpose | Location | |
|---|---|---|---|
| Cron Jobs | Scheduled recurring tasks | app/jobs/ | |
| Celery Tasks | Distributed task queue | app/tasks/ | |
| Queue Consumers | Message processing | app/consumers/ | |
| Workers | Background processors | app/workers/ |
When to Use What
| Use Case | Solution | |
|---|---|---|
| Run every X minutes/hours | Cron (APScheduler) | |
| Async processing after API call | Celery Task | |
| Process messages from external system | Queue Consumer | |
| Long-running background process | Worker with asyncio | |
| Distributed across multiple servers | Celery + RabbitMQ | |
| Simple in-process background | FastAPI BackgroundTasks |
Key Principles
1. Reuse Service Layer
Workers should call existing services, not duplicate logic:
2. Idempotency
All background tasks must be idempotent (safe to retry):
3. Error Handling
Always handle errors gracefully with retries:
Reference Navigation
Scheduling:
- python-cron-jobs.md - APScheduler, periodic tasks
Task Queues:
- python-celery.md - Celery tasks, workers, beat
- python-llm-async.md - Long-running LLM requests, webhooks, polling
Message Queues:
- python-message-queue.md - RabbitMQ, Redis streams
- python-consumers.md - Consumer patterns, error handling
Integration with python-backend-development
This skill extends python-backend-development:
- Workers call Services from
app/services/ - Use same Repository pattern for database access
- Follow same async patterns (async def, await)
- Use same error handling (custom exceptions)
- Share configuration from
app/core/config.py
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/python-async-workers/SKILL.md
Popularity
- 7-day trend score
- 0
Refreshed 26 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lct1407/sidcorp-skills/python-async-workers)