offline-queue

Queue and persist offline API mutations with configurable retry policies.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/mazicimert/RunDom --skill offline-queue-mazicimert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: offline-queue
Source: https://github.com/mazicimert/RunDom/tree/main/.claude/skills/generators/offline-queue
Command: npx skills add https://github.com/mazicimert/RunDom --skill offline-queue-mazicimert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables apps to queue and persist API mutations so work continues offline and synchronizes when connectivity is restored.

Core Features & Use Cases

  • Queues API mutations when offline and persists them to durable storage
  • Retries failed mutations with configurable backoff and conflict handling
  • Supports dependencies, priority, and optional dashboard views for debugging

Quick Start

Enqueue a mutation while offline and let the queue manage retry and sync when the device regains connectivity.

Frequently Asked Questions about offline-queue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I queue API mutations offline and sync them when network connectivity is restored?

Offline mutation queues persist API requests to durable file-based storage while offline and automatically retry syncing them when network connectivity is restored. This ensures no data is lost during connectivity gaps, handling enqueue and eventual sync seamlessly.

How does an offline-first queue handle retry failures and conflict resolution?

An offline-first queue handles retry failures using a configurable retry policy with exponential backoff and integrates conflict resolution logic to manage data inconsistencies. It ensures failed mutations are retried safely during eventual sync using idempotency keys to prevent duplicate processing.

Can I prioritize certain API mutations in an offline queue or manage dependencies between them?

Yes, the offline queue supports setting priority levels for mutations and managing dependencies between queued tasks. This ensures critical API mutations are executed first and dependent operations wait for prerequisite tasks to complete successfully before syncing.

What is the best way to persist offline mutations for mobile apps on unreliable networks?

The best way to persist offline mutations for mobile apps on unreliable networks is using file-based storage combined with an in-memory queue. This approach guarantees durable persistence of API mutations across app restarts and connectivity gaps until network sync is possible.

Do I need a database to handle offline sync, or is file-based storage enough for an offline mutation queue?

You do not need a complex database; file-based storage combined with simple in-memory queue management is enough to handle offline sync. This lightweight persistence approach effectively stores offline API mutations and supports retry policies without heavy database dependencies.

Why do duplicate mutations occur during network retry, and how can idempotency keys prevent them?

Duplicate mutations occur during network retry when an unstable connection drops after a request is sent but before confirmation. Idempotency keys prevent duplicates by tagging each offline mutation uniquely, allowing the server to recognize and safely ignore repeated sync attempts.