firestore-migration

Migrate local mock data from in-browser memory to Firestore collections.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/captazm/MU-Accounting --skill firestore-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firestore-migration
Source: https://github.com/captazm/MU-Accounting/tree/main/.agents/skills/firestore-migration
Command: npx skills add https://github.com/captazm/MU-Accounting --skill firestore-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local development often uses in-memory mock data. This workflow explains how to export local mock data to the cloud and migrate to Firestore so you can test against the real database.

Core Features & Use Cases

  • Migration of mock data to Firestore collections (crew, bills, payments, slips, crewPayments) with a single action.
  • Verification via UI indicators (Local Mode vs Firestore Connected) and migration confirmation.
  • Supports batch processing of larger datasets (e.g., migrating 145 crew records).

Quick Start

Migrate your local mock data to Firestore by clicking the [Migrate to Firestore] button in the app's sidebar.

Frequently Asked Questions about firestore-migration

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

FAQPage Schema
How do I migrate local mock data to Firestore?

To migrate local mock data to Firestore, you use a batch processing action triggered by a Migrate to Firestore button in your app, transferring in-browser memory records directly to cloud collections. This enables cloud-backed development and testing.

What is the process for moving in-browser memory data to Firestore collections?

Moving in-browser memory data to Firestore collections involves executing a single-action batch process that exports local mock data, such as crew and bills, to the cloud, providing UI indicators and a confirmation toast upon successful migration.

Can I batch process large datasets when migrating from offline to Firestore?

Yes, you can batch process larger datasets when migrating from offline to Firestore. The migration workflow supports handling substantial record sets, such as migrating 145 crew records, directly from local memory to cloud collections in a single action.

Do I need a specific UI setup to switch from local mock data to Firestore?

Yes, switching from local mock data to Firestore requires your app to expose a Migrate to Firestore button in the sidebar. Upon success, the workflow requires UI indicators showing Firestore Connected and a migration confirmation toast.

Which Firestore collections are supported when exporting local mock data?

Exporting local mock data supports migrating to specific Firestore collections including crew, bills, payments, slips, and crewPayments. These collections are targeted during the batch processing transfer from in-browser memory.