game-db

Manage Dexie/IndexedDB schema for multiplayer game worlds and players.

1|Updated Jun 6, 2026
One-click install
npx skills add https://github.com/diadia0000/ForWanna --skill game-db
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: game-db
Source: https://github.com/diadia0000/ForWanna/tree/main/.claude/skills/save/GameDB
Command: npx skills add https://github.com/diadia0000/ForWanna --skill game-db

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill manages the database schema for the Forager Multiplayer game, simplifying the process of rebuilding database tables and defining version, primary keys, and indexes.

Core Features & Use Cases

  • Schema Definition: Manages Dexie/IndexedDB schema for the game's database.
  • Typed Tables: Provides typed access to worlds and players tables.
  • Database Instance: Offers a single, global instance of the GameDB class.
  • Use Case: When the game's database needs to be rebuilt or tables reset, this Skill defines the necessary schema structure.

Quick Start

Use the game-db skill to initialize the game database.

Frequently Asked Questions about game-db

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

FAQPage Schema
How do I define an IndexedDB schema for a multiplayer game using Dexie?

To define an IndexedDB schema for a multiplayer game using Dexie, you need to establish table structures, version numbers, and primary keys for game entities like worlds and players. This Skill handles that schema definition automatically.

What is the best way to structure Dexie database tables for worlds and players?

The best way to structure Dexie database tables for worlds and players is to use a typed schema management approach that explicitly defines primary keys and indexes. This Skill provides typed access to these specific tables, ensuring data integrity for the Forager game.

How do I reset and rebuild my game database tables when the schema changes?

To reset and rebuild your game database tables when the schema changes, you must update the versioning and data typing definitions in your Dexie ORM setup. This Skill simplifies rebuilding database tables by managing the necessary schema structure.

Does this database schema management approach provide typed access to game tables?

Yes, this database schema management approach provides typed access to the `worlds` and `players` tables. It defines the necessary schema structure within a Dexie/IndexedDB database, ensuring proper data typing for multiplayer game sessions.

When do I need a global database instance for my game's IndexedDB setup?

You need a global database instance for your game's IndexedDB setup when you require a single, centralized point of access for managing world and player data across the application. This Skill offers a global GameDB class to streamline this process.

Can I use Dexie ORM to manage versioning and data typing for a browser-based game?

Yes, you can use Dexie ORM to manage versioning and data typing for a browser-based game. This Skill handles versioning and data typing for worlds and players directly within a Dexie/IndexedDB database environment.