firebase

Configure Firebase App Hosting, authentication, Firestore, and Cloud Functions for Next.js SSR apps.

27|5|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Fandry96/k3-agentic-skills --skill firebase-fandry96
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firebase
Source: https://github.com/Fandry96/k3-agentic-skills/tree/main/skills/firebase
Command: npx skills add https://github.com/Fandry96/k3-agentic-skills --skill firebase-fandry96

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Firebase full-stack backend and hosting for Next.js SSR apps, including SSR authentication with HttpOnly cookies and proxy.ts, image optimization via Extensions, Firestore data connections, and comprehensive billing protection.

Core Features & Use Cases

  • App Hosting for Next.js SSR on Cloud Run with secure, scalable hosting
  • Server-side authentication with HttpOnly cookies and session management via proxy.ts
  • Firestore data integration, storage, and Cloud Functions for server logic
  • Image optimization via Firebase Extensions and cost controls
  • Use Case: Deploy a Next.js 16 SSR app with secure auth, dynamic routes, and persistent user data.

Quick Start

Set up App Hosting, configure SSR cookies, and connect Firestore for your Next.js project.

Frequently Asked Questions about firebase

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

FAQPage Schema
How do I set up Firebase App Hosting for a Next.js SSR app?

Firebase App Hosting deploys Next.js SSR apps on Cloud Run. You configure an App Hosting backend, separate server-only code, and manage sessions via proxy.ts to achieve secure, scalable hosting.

How does server-side authentication work with Firebase in Next.js?

Server-side authentication uses HttpOnly cookies and proxy.ts session management. This approach secures user credentials by preventing client-side access and ensures persistent, safe authentication state across dynamic routes.

Can I use Firestore and Cloud Functions with my Next.js Firebase project?

Yes, you can integrate Firestore data connections and Cloud Functions. This enables persistent user data storage and executes server-side logic, fully supporting your Next.js SSR application requirements.

What is the best way to handle image optimization and billing controls in Firebase?

Firebase Extensions provide image optimization capabilities. Combined with comprehensive billing protection and secure controls, this ensures you manage storage and operational costs effectively while optimizing assets.

Do I need to separate server-only code for Firebase Next.js hosting?

Yes, separating server-only code is required. This separation, along with App Hosting backends and proxy.ts session management, meets strict security and performance requirements for production-ready Next.js SSR.