firebase-schema-generator

Official

Auto-generate robust Firestore schemas with Zod.

Authordfrabik
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generate standardized Zod schemas for Firestore entities, including automatic timestamp handling, audit fields, and parsing helpers, to reduce boilerplate and ensure consistency across projects.

Core Features & Use Cases

  • Automatic Firestore timestamp handling via a firestoreDate helper that accepts Date, string, or Firestore timestamps.
  • Standard audit fields: createdAt, updatedAt, createdBy, updatedBy with sensible defaults.
  • Parse helpers: parseDocument and parseDocuments to safely convert raw data into typed entities.
  • Enforces common field patterns (enums, optional fields, references) and provides reusable schema templates for new entities.
  • Use cases include creating new Firestore schemas, validating existing schemas, and generating type-safe models for TypeScript apps.

Quick Start

Describe the Firestore entity fields you need and I will generate a complete Zod schema with timestamps, audit fields, and parse helpers.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: firebase-schema-generator
Download link: https://github.com/dfrabik/dev-portfolio/archive/main.zip#firebase-schema-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.