stacks-jobs

Official

Define and manage Stacks background jobs.

Authorstacksjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Background job development across Stacks apps requires a standardized structure, clear dispatch patterns, and reliable scheduling to ensure tasks run reliably and scalably.

Core Features & Use Cases

  • Define jobs in app/Jobs with properties like name, description, queue, tries, backoff, timeout, rate, and enabled.
  • Dispatch jobs using dispatch, dispatchIf, dispatchAfter, and dispatchNow to control timing and sequencing.
  • Schedule recurring tasks via rate-based scheduling (Every constants) and integrate with the scheduler for automated runs.

Quick Start

Create a new job under app/Jobs/ using the provided scaffold and implement its handle method.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stacks-jobs
Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-jobs

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.