关于
This skill provides a comprehensive framework for integrating the Firebase Admin SDK within Next.js applications, ensuring high-security standards through the mandatory use of the 'server-only' package. It guides developers through robust initialization patterns, secure token verification via middleware, and the implementation of Role-Based Access Control (RBAC) using custom claims. By providing ready-to-use patterns for Server Components, API Routes, and Server Actions, it eliminates common security risks like credential leakage while enabling privileged Firestore and Storage operations that bypass standard security rules.