indexeddb-operations

Perform IndexedDB operations with Dexie.js, including CRUD, transactions, and migrations.

52|1|Updated Aug 2, 2025
One-click install
npx skills add https://github.com/codename-co/devs --skill indexeddb-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: indexeddb-operations
Source: https://github.com/codename-co/devs/tree/main/.github/skills/indexeddb-operations
Command: npx skills add https://github.com/codename-co/devs --skill indexeddb-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides comprehensive guidance on performing database operations using Dexie.js, a wrapper for IndexedDB, within the DEVS platform, simplifying data persistence management.

Core Features & Use Cases

  • Database Schema Definition: Understand how to define tables, fields, and indexes for client-side data storage.
  • CRUD Operations: Learn to create, read, update, and delete data efficiently.
  • Advanced Features: Implement soft deletes, transactions, and schema migrations.
  • Real-time Updates: Utilize live queries for reactive UI updates.
  • Use Case: When asked to add a new table for user preferences or to update existing task statuses, this Skill will guide the process of modifying the IndexedDB schema and executing the necessary operations.

Quick Start

Use the indexeddb-operations skill to add a new record to the 'agents' table with the provided data.

Frequently Asked Questions about indexeddb-operations

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

FAQPage Schema
How do I perform CRUD operations on IndexedDB using Dexie.js?

Live queries in Dexie.js enable reactive UI updates by automatically re-rendering components when underlying IndexedDB data changes. This ensures your interface stays synchronized with client-side database modifications in real time.

What's the best way to define an IndexedDB schema with Dexie.js?

Dexie.js handles schema migrations by versioning your database definitions. When modifying table structures or adding new fields, you increment the version number and define the migration logic to update existing client-side data.

Can I implement soft deletes and transactions in IndexedDB with Dexie.js?

Yes, Dexie.js works within the DEVS platform to manage client-side data persistence. It provides comprehensive guidance on database operations including schema definition, CRUD operations, and live queries for reactive updates.

Why use Dexie.js instead of raw IndexedDB for client-side data persistence?

Dexie.js wraps IndexedDB with a cleaner Promise-based API, eliminating boilerplate for database connections and cursor management. It adds features like live queries and simplified schema migrations that raw IndexedDB lacks.