What problem does it solve?
Client-side web apps that persist data in IndexedDB, LocalForage, and PouchDB can silently lose user data through quota exhaustion, Safari ITP expiration, sync conflicts, and hydration race conditions. This Skill audits source code to find these risks before they cause production data loss.
Core Features & Use Cases
- Risk Detection Across Six Categories: Scans for storage quota issues, Safari ITP 7-day expiration, LocalForage race conditions, PouchDB sync conflicts, Pinia hydration races, and missing data integrity checks, each rated CRITICAL through LOW severity.
- Deployment Gating and Reporting: Generates console, JSON, Markdown, and HTML reports, and blocks deployment when CRITICAL findings exist, making it suitable for CI/CD pipelines.
- Test Generation: Produces missing persistence, quota-failure, and offline-sync test cases based on detected gaps.
- Use Case: Before releasing a Vue 3 + Pinia + PouchDB app, run a full audit on the src directory to catch unhandled QuotaExceededError, missing conflict resolution, and absent hydration guards, then apply the suggested code fixes.
Quick Start
Ask the assistant to run a data safety audit on your Vue app's source directory and report any critical or high severity data loss risks.