implement-background-job

Installation
SKILL.md

Implement Background Job

Apply the execution contract before this procedure.

Use this skill when the task is to add, configure, or review background jobs in a Rails application.

HARD-GATE

EVERY job MUST have its test written and validated BEFORE implementation:
  1. Write the job spec (idempotency, retry, error handling)
  2. Run the spec — verify it fails
  3. ONLY THEN write the job class

The authoritative perform contract — EVERY perform method does exactly three things:
  1. Load the record from the passed ID
  2. Guard for idempotency / permanent no-op conditions
  3. Delegate the side effect or orchestration to a service object
Installs
29
GitHub Stars
26
First Seen
Aug 14, 2026
implement-background-job — igmarin/rails-agent-skills