background-jobs
Skill0 starsChanged 13 days agoMITView on GitHub
Build durable background jobs, scheduled tasks, transactional outboxes, retries, leases, and dead-letter recovery. Use for asynchronous business effects, not CI pipelines or frontend async state.
10 other projects use a version of this.
Adopted by
Most recently taken up by
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
- saizul/nodejs-backend-skillstheir own version, first seen Nov 29, 2026
- novatic-cu/nova-skills-coretheir own version, first seen Nov 22, 2026
- reddygopalkrishna/developer-agent-skillstheir own version, first seen Nov 8, 2026
- jars-demo/jars-skillstheir own version, first seen Oct 25, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Oct 13, 2026
Used with
Projects with it also use query-optimization, containerization and 5 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ffsshhttiikkSkillquery-optimization
Database query optimization
Also in 4 projects that use this
mmondoraSkillcontainerization
Docker best practices for cloud-native applications. Multi-stage builds, distroless images, security scanning, non-root users, Cloud Run orchestration. Use when writing Dockerfiles, configuring container builds, or deploying to Cloud Run/GKE.
Also in 3 projects that use this
mmondoraSkillinfrastructure-as-code
Infrastructure as Code with Terraform and Pulumi. State management, modularity, drift detection, secrets handling. Use when provisioning cloud resources, writing Terraform/Pulumi modules, or managing infrastructure configuration.
Also in 4 projects that use this
wpankSkillcaching
Caching strategies, invalidation, eviction policies, HTTP caching, distributed caching, and anti-patterns. Use when designing cache layers, choosing eviction policies, debugging stale data, or optimizing read-heavy workloads.
Also in 4 projects that use this
harrissohail6Skillcaching-strategies
Caching patterns and strategies. Auto-activates when implementing caching, Redis, or performance optimization.
Also in 3 projects that use this
harrissohail6Skillclean-architecture
Clean architecture and SOLID principles. Auto-activates when designing systems or refactoring code structure.
Also in 3 projects that use this
Other versions10 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 10
- nahid-sparktales/agent-dispatcher★ 59same name
- nimadorostkar/Claude-Skills-collection★ 41same name
- reddygopalkrishna/developer-agent-skills★ 8same name
- YepAPI/skills★ 8same name
- AtulPurohit/Antigravity-Awesome-Skills★ 6same name
- novatic-cu/nova-skills★ 1same name
- novatic-cu/nova-skills-core★ 1same name
- jars-demo/jars-skills★ 0same name
- MANVENDRA-github/agentry★ 0same name
- saizul/nodejs-backend-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- skills/web-development/adapters/copilot-instructions.mdCopilot instructions
- accessibility-auditSkill
- agent-handoffSkill
- ai-tool-securitySkill
- api-designSkill
- audit-loggingSkill
- bulk-reporting-exportSkill
- changelog-generatorSkill
- ci-cdSkill
- codebase-onboardingSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- context-privacySkill
- data-import-exportSkill
- debuggingSkill
- dependency-auditSkill
- deprecation-and-migrationSkill
- design-tokensSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environmental-telemetrySkill
- erp-accountingSkill
- erp-domain-designSkill
- erp-inventorySkill
- erp-procurementSkill
- erp-salesSkill
- feature-flagsSkill
- forms-and-validationSkill
- frontend-stateSkill
- frontend-ui-engineeringSkill
- git-workflowSkill
- identity-access-managementSkill
- incremental-implementationSkill
- java-code-standardsSkill
- java-deliverySkill
- kerangkaSkill
- mcp-builderSkill
- membership-managementSkill
- observabilitySkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- product-analyticsSkill
- quarkus-observabilitySkill
- quarkus-persistenceSkill
- quarkus-securitySkill
- quarkus-serviceSkill
- quarkus-testingSkill
- responsive-layoutSkill
- rest-api-contractSkill
- saas-billingSkill
- saas-multitenancySkill
- saas-onboardingSkill
- security-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-evaluationSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
Commit the job or outbox with the initiating local mutation.
- Distinctive: line 43
Test crashes before/after effects, dispatch loss, stale workers, cancellation, and replay.
- Distinctive: line 51
Every committed intent is recoverable.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Background Jobs and Durable Effects
Overview
Persist the intention before dispatch and make repeated delivery safe. Broker acknowledgment is not proof that a business effect happened exactly once.
When to use
- Adding workers, recurring tasks, durable dispatch, retries, or crash recovery.
- Coordinating database commits and asynchronous external side effects.
Hand off when
| Need | Skill |
| HTTP delivery signatures and partner endpoint safety | webhook-integrations |
| Human approval policy and document revisions | workflow-approvals |
| Pipeline jobs and automated build gates | ci-cd |
Process
- Define job identity, scope, initiator, payload version, operation key, timeout, retry budget, cancellation, ordering, and the business completion condition.
- Commit the job or outbox with the initiating local mutation. Use a durable existing mechanism; do not introduce a broker or paid service solely because this skill loaded.
- Claim work atomically with a lease and incarnation/fencing token. Renew or expire ownership explicitly; a recovered worker must not accept a former owner's commit.
- Deduplicate each business effect with stable operation keys. For external systems, use supported idempotency or reconcile uncertain results before sending again.
- Reconstruct verified tenant context and current permissions/lifecycle in workers. Payload fields are not authority; cap per-tenant concurrency and resource consumption.
- Retry only transient failures with bounded backoff and jitter. Preserve attempt history; dead-letter permanent or exhausted work and expose an authorized recovery path.
- Specify recurrence timezone, daylight-saving behavior, overlap, missed runs, and a stable occurrence key. Catch-up must not bill, renew, or notify twice.
- Monitor queue age, completion latency, failed attempts, and abandoned leases. Test crashes before/after effects, dispatch loss, stale workers, cancellation, and replay.
Red flags
- Best-effort publish after commit, unbounded retries, or acknowledgment before durable state.
- Treating deduplicated messages as deduplicated external effects.
- Replaying dead-letter work without checking current authority or payload compatibility.
Verification
- Every committed intent is recoverable; duplicate attempts produce one business result.
- Stale workers cannot commit and uncertain external outcomes have reconciliation.
- Scheduling, cancellation, tenant fairness, and dead-letter replay are tested.
References
references/durable-execution.md- crash boundaries and recovery contracts.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

