Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

async-jobs

БесплатноБез исполняемых скриптовНе проверен

Async job processing patterns for background tasks, Celery workflows, task scheduling, retry strategies, and distributed task execution. Use when implementing…

yonatangrossот yonatangross★ 312 звёзд на GitHub

Об этом скилле

Async Jobs

Background task processing with Celery, ARQ, Redis and Temporal. This skill is a wrapper, not a manual: Celery and ARQ document their own product well, so what lives here is our delta, the thresholds, working config, ordering constraints and tool-choice rules we picked. Product mechanics are linked, not restated.

Start with Read("references/ork-delta.md").

Quick Reference

Topic Where our part lives
Configuration references/celery-config.md, rules/jobs-task-queue.md
Task Routing references/ork-delta.md (queue taxonomy, prefetch tiers, Redis priority)
Canvas Workflows rules/celery-canvas.md
Retry Strategies references/ork-delta.md (backoff cap, idempotency layers, lock TTLs)
Scheduling rules/jobs-scheduling.md, references/ork-delta.md (beat process model)
Monitoring references/ork-delta.md (alert thresholds, histogram buckets)
Result Backends rules/jobs-monitoring.md, references/ork-delta.md (return contract)
ARQ Patterns rules/jobs-task-queue.md, references/ork-delta.md (budgets, pool ownership)
Temporal Workflows rules/temporal-workflows.md
Temporal Activities rules/temporal-activities.md

10 topic areas, 6 rule files in rules/, house delta in references/ork-delta.md.

Quick Start

@app.task(bind=True, max_retries=3, default_retry_delay=60)
def process_payment(self, order_id: str):
    try:
        return gateway.charge(order_id)
    except TransientError as exc:
        raise self.retry(exc=exc, countdown=2 ** self.request.retries * 60)

Load more examples: Read("references/quick-start-examples.md") for Celery retry task and ARQ/FastAPI integration patterns.

Upstream coverage (do not restate)

Fetch these when you need product mechanics. The right-hand column is the part we keep, because it is a house threshold, a working config or an ordering constraint that upstream cannot know.

Topic First-party source House subset stays in
Celery settings, serializers, time limits, worker flags https://docs.celeryq.dev/en/stable/userguide/configuration.html and .../optimizing.html references/celery-config.md, rules/jobs-task-queue.md
Queue declarations, router classes, Redis priority mechanics https://docs.celeryq.dev/en/stable/userguide/routing.html references/ork-delta.md
chain / group / chord / signature semantics https://docs.celeryq.dev/en/stable/userguide/canvas.html rules/celery-canvas.md keeps the house canvas subset. Its si()-in-chords guidance is UNVERIFIED and contested: confirm the argument-passing behaviour against the upstream canvas page before relying on it
autoretry_for, retry_backoff, Reject, task base classes https://docs.celeryq.dev/en/stable/userguide/tasks.html references/ork-delta.md, rules/jobs-task-queue.md
Beat schedules, crontab syntax, DatabaseScheduler https://docs.celeryq.dev/en/stable/userguide/periodic-tasks.html and https://django-celery-beat.readthedocs.io/en/latest/ rules/jobs-scheduling.md keeps our beat_schedule shapes; references/ork-delta.md keeps the process model
Flower flags, inspect, signal names https://docs.celeryq.dev/en/stable/userguide/monitoring.html, https://docs.celeryq.dev/en/stable/userguide/signals.html, https://flower.readthedocs.io/en/latest/config.html references/ork-delta.md
Result backend, AsyncResult, custom states https://docs.celeryq.dev/en/stable/userguide/configuration.html rules/jobs-monitoring.md keeps our status endpoints and update_state() usage
Per-task rate_limit, control.rate_limit, Redis Lua https://docs.celeryq.dev/en/stable/userguide/workers.html, https://redis.io/docs/latest/develop/programmability/eval-intro/ references/ork-delta.md
ARQ WorkerSettings, enqueue_job, _defer_by / _defer_until, Job status https://arq-docs.helpmanual.io/ rules/jobs-task-queue.md keeps the worker skeleton; references/ork-delta.md keeps the budgets
FastAPI lifespan and dependency wiring https://fastapi.tiangolo.com/advanced/events/ references/ork-delta.md
Distributed locks with SET NX EX https://redis.io/docs/latest/commands/set/ references/ork-delta.md

Configuration

Load: Read("references/celery-config.md").

Decision Recommendation
Serializer JSON (never pickle)
Ack mode Late ack (task_acks_late=True)
Prefetch 1 for fair, 4-8 for throughput
Time limit soft < hard (540 / 600)
Timezone UTC always

Task Routing

Decision Recommendation
Queue count 5: critical / high / default / low /
Полный SKILL.md на GitHub

Установить async-jobs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
WebFetch
WebSearch

Вложенные файлы

metadata.jsonreferences/anti-patterns.mdreferences/capability-details.mdreferences/celery-config.mdreferences/ork-delta.mdreferences/quick-start-examples.mdrules/_sections.mdrules/_template.mdrules/celery-canvas.mdrules/jobs-monitoring.mdrules/jobs-scheduling.mdrules/jobs-task-queue.mdrules/temporal-activities.mdrules/temporal-workflows.mdtest-cases.json

FAQ

Что делает скилл async-jobs?

Async job processing patterns for background tasks, Celery workflows, task scheduling, retry strategies, and distributed task execution. Use when implementing background job processing, task queues, or scheduled task systems.

Как установить скилл async-jobs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл async-jobs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить async-jobs с