Skip to content
Back to skills

Local First Resilience

ASecurity

Adds local-first IndexedDB persistence, BroadcastChannel multi-tab sync, Undo/Redo history, JSON import/export, and offline PWA readiness.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentsreactgit

Security analysis

A100/100

Scanned November 29, 2026

npx -y skills add rajeevkannav/ProductionLine --skill local-first-resilience --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Local First Resilience?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Local First Resilience
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rajeevkannav-local-first-resilience/badge)](https://www.skillsdirectory.com/skills/rajeevkannav-local-first-resilience)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: local-first-resilience
description: Adds local-first IndexedDB persistence, BroadcastChannel multi-tab sync, Undo/Redo history, JSON import/export, and offline PWA readiness.
---

# Local-First & Resilient UX

- **Durable Storage:** Persist todos in versioned IndexedDB (with safe `localStorage` fallback in restricted contexts) so data survives reloads and upgrades cleanly.
- **Multi-Tab Live Sync:** Broadcast state mutations over `BroadcastChannel` so open browser tabs stay synchronized in real time.
- **Undo / Redo & Safety:** Maintain an undo/redo command stack (`Ctrl/Cmd+Z`, `Ctrl/Cmd+Shift+Z`) paired with an accessible Undo toast for destructive actions (delete, clear completed). Apply CRUD state updates (`setTodos` / storage writes) synchronously on form submit rather than deferring inside `startTransition`.
- **Portability & Offline:** Support JSON export/import with schema validation, React Error Boundaries, and a Web App Manifest + Service Worker respecting dynamic `VITE_BASE_PATH` for GitHub Pages.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.