Offline-first — local storage schema, sync queue, conflict resolution.
Scanned 9/5/2026
Install to Claude Code
npx -y skills add Dev-Toolbelt/dev-team-agents --skill offline-first --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Offline First?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/dev-toolbelt-offline-first)More formats (shields.io, HTML) on the badges page.
---
name: offline-first
description: Offline-first — local storage schema, sync queue, conflict resolution.
---
## Storage Structure
- Define a clear schema for the local store (IndexedDB, SQLite via OPFS, etc.) — treat it as a real database with versioned migrations
- Mirror the API shape when practical; document intentional divergences in code comments
- Never store sensitive data (tokens, PII) in unencrypted client storage
## Sync Strategy
- Implement a sync queue: operations made offline are queued and replayed when connectivity is restored
- Use timestamps or vector clocks for conflict resolution — define a clear policy (last-write-wins, server-wins, or manual merge) and document it
- Handle partial sync failures: operations must be atomic or rollback-safe; a failed sync must not leave local state inconsistent
- Expose sync status to the user — they must know whether data is saved locally only or confirmed on the server
## Connectivity Detection
- Combine `navigator.onLine` with an actual fetch probe to a known endpoint — `navigator.onLine` alone is unreliable (returns `true` on captive portals and metered connections)
- React to `online`/`offline` browser events to trigger sync and update UI state accordingly
- Show clear offline indicators — never silently queue operations without informing the user
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...
Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.
Recovers prior coding-agent session context by running `catchup <agent> --since-compact`, which extracts a clean summary of a previous Codex, Claude Code, Antigravity, OpenCode, or Pi Agent session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", or asks to recover/summarize a previous session before continuing. Do NOT use for the current conversation, git history, or any non-agent log.
Audit, review, clean up, and prune Codex memories. Use when the user asks about ~/.codex/memories, stale or noisy memories, memory pollution, cross-repo rule leakage, sensitive memory contents, memory config tuning, cleanup plans, or whether entries belong in memory, AGENTS.md, repo docs, skills, config, or deletion. Do not use for ordinary repo docs cleanup.