sakulapor/templateagents/dexie-patterns

Claude Code and agent skill by sakulapor/templateagents

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install sakulapor/templateagents/dexie-patterns

SKILL.md

The same SKILL.md was published earlier as sakulapor/templateagents/dexie-patterns.

Dexie Patterns

Offline-first IndexedDB patterns using Dexie.js

When to Use

Use this skill when working with local data persistence in launchpad-offline:

  • Setting up Dexie database schemas and versioning
  • Implementing reactive queries with useLiveQuery
  • Writing migrations for schema changes
  • Designing offline-first data flows

Key Patterns

Database Setup
typescript
import Dexie, { type EntityTable } from 'dexie'
interface Item {
id: string
title: string
createdAt: Date
updatedAt: Date
}
class AppDatabase extends Dexie {
items!: EntityTable<Item, 'id'>
constructor() {
super('AppDatabase')
this.version(1).stores({
items: 'id, createdAt, updatedAt',
})
}
}
export const db = new AppDatabase()
Reactive Queries
typescript
import { useLiveQuery } from 'dexie-react-hooks'
function useItems() {
return useLiveQuery(() => db.items.orderBy('createdAt').reverse().toArray())
}
Repository Pattern
typescript
class ItemRepository extends BaseRepository<Item> {
async findByTitle(title: string): Promise<Item[]> {
return db.items.where('title').startsWithIgnoreCase(title).toArray()
}
}

References

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/sakulapor/templateagents/dexie-patterns/badge)](https://verified-skill.com/skills/sakulapor/templateagents/dexie-patterns)

Something wrong with this skill or its page? Tell us.