offline-queue
Generates an offline operation queue with persistence, automatic retry on connectivity, and conflict resolution. Use when user needs offline-first behavior, queued mutations, or pending operations that sync when back online.
npx skills add rshankras/claude-code-apple-skills --skill offline-queue --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Offline Queue Generator Generate a production offline operation queue that persists API requests/mutations when offline, stores them to disk, and retries with exponential backoff when connectivity returns. Essential for apps that need offline-first behavior. ## When This Skill Activates Use this skill when the user: - Asks to "add offline queue" or "offline support" - Wants to "queue requests" when there is no network - Mentions "offline first" architecture or design - Asks about "retry when online" or "retry on reconnect" - Wants "pending operations" that sync later - Mentions "offline mutations" or "queue API calls" ## Pre-Generation Checks ### 1. Project Context Detection - [ ] Check Swift version (requires Swift 5.9+) - [ ] Check deployment target (iOS 16+ / macOS 13+) - [ ] Check for @Observable support (iOS 17+ / macOS 14+) - [ ] Identify source file locations ### 2. Conflict Detection Search for existing networking/offline code: ``` Glob: **/*OfflineQueue*.swift, **/*OfflineOperation*.swift, **/*NetworkMonitor*.swift, **/*RetryPolicy*.swift Grep: "NWPathMonitor" or "OfflineQueue" or "pendingOperations" or "offlineQueue" ``` If existing offline handling found: - Ask if user
- When This Skill Activates
- Pre-Generation Checks
- 1. Project Context Detection
- 2. Conflict Detection
- 3. Framework Availability
- Configuration Questions
- Generation Process
- Step 1: Read Templates
- Step 2: Create Core Files
- Step 3: Create Policy Files
- Step 4: Create UI Files
- Step 5: Determine File Location
- Output Format
- Files Created
What does the offline-queue skill do?
Generates an offline operation queue with persistence, automatic retry on connectivity, and conflict resolution. Use when user needs offline-first behavior, queued mutations, or pending operations that sync when back online.
How do I install it?
Run `npx skills add rshankras/claude-code-apple-skills --skill offline-queue --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From rshankras/claude-code-apple-skills, a repository with 589 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
