background-jobs

Installation
SKILL.md

Background Jobs

Use this skill when

  • Offloading slow work (email, reports, exports)
  • Deferred execution with retries
  • Scheduling recurring tasks

Do not use this skill when

  • Work must be synchronously acknowledged by the requester
  • Sub-millisecond tasks

Instructions

  1. Keep jobs idempotent; retry-safe by design.
  2. Design for at-least-once: dedupe or tolerate duplicates.
  3. Set explicit retries, backoff, and timeouts.
  4. Store job state so progress is observable.
  5. Route jobs through a queue, not a fragile in-memory loop.
  6. Handle dead-letter and permanently failing jobs distinctly.
  7. Track job success/failure metrics for alerting.
Installs
1
First Seen
Oct 22, 2026
Security Audits