firebase-patterns

Community

Enforce consistent Firebase/Firestore patterns.

Authorernitpt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures that all Firebase and Firestore operations within the Ernit app adhere to a strict set of best practices for error handling, data fetching, and listener management, preventing common bugs and improving code maintainability.

Core Features & Use Cases

  • Standardized Error Handling: Implements ErrorBoundary for all screens and ensures all catch blocks log errors to Firestore.
  • Consistent Firestore Usage: Enforces the use of service layers for data access and proper cleanup of listeners.
  • User Feedback: Mandates loading, error, and success states for all asynchronous operations and provides user-friendly error messages.
  • Use Case: When developing a new feature that interacts with Firestore, this Skill acts as a linter and guide, ensuring that all data operations are robust, secure, and provide a good user experience.

Quick Start

Ensure all new screens are wrapped in an ErrorBoundary component.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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-patterns
Download link: https://github.com/ernitpt/ernit_test/archive/main.zip#firebase-patterns

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.