Skill oficial para integrar Firebase AI Logic (Gemini API) en apps. Cubre configuración, inferencia multimodal, salida estructurada y seguridad.
- Costo de contexto al activarse
- 2.3k tok
- Tamaño del paquete
- 5 archivos
- Última actualización
- hace 7 días
Modifica de forma segura proyectos Xcode (.pbxproj) para añadir Swift Packages y enlazar archivos. Úsalo cuando un proyecto iOS necesite instalar dependencias (por ejemplo Firebase, Alamofire).
Reemplaza a: Modificar manualmente el .pbxproj, Usar el gem xcodeproj de Ruby, Parsear texto o usar sed sobre el .pbxproj
en todo el repo
0–100, la ruta de este skill
último commit aquí
últimos 90 días
44 tok en reposo
17 KB
Funciona con cualquier agente que lea SKILL.md
npx -y skills add firebase/agent-skills --skill xcode-project-setup --agent claude-codeSe instala solo en este repositorio.
Este skill makes network requests, reads environment config.
Di cualquiera de estas frases y el agente debería cargar este skill.
Before performing any Xcode setup or file manipulation, you MUST adhere to the following rules. A hefty fee will be applied if you violate them.
You are strictly forbidden from using Ruby, Rails, or any Ruby gems
(including the xcodeproj gem). Under no circumstances may you write or execute
Ruby scripts.
Modern Xcode projects support folder synchronization. When adding new source
code (.swift) or resource files, simply write them to the correct directory on
disk. They will be automatically included in the Xcode project. Never manually
modify the .pbxproj file to add files.
If you absolutely must write a script to manipulate the project environment
(e.g., configuring SPM packages beyond what the provided xcode_spm_setup
script does), you must use Swift. Only as an absolute last resort, if Swift
is completely unviable, may you use Node.js or TypeScript.
Because this skill relies entirely on a native Swift script, you must verify the environment:
swift --version before proceeding.xcode-select --install on macOS), or
ask if you can attempt to install it for them. Do not attempt to proceed
without Swift.When setting up SPM dependencies that heavily rely on internal Objective-C
categories and +load methods (such as the Firebase iOS SDK suite), the Apple
linker will aggressively strip these methods out if they are linked statically.
This causes fatal runtime crashes (e.g.,
FirebaseAuth/Auth.swift:167: Fatal error: Unexpectedly found nil).
The provided xcode_spm_setup Swift script automatically injects the -ObjC
flag to OTHER_LDFLAGS when adding Firebase products. However, you should
still verify it is present in the build settings if you encounter issues.
If you are asked to build an iOS app or configure Xcode dependencies but no
.xcodeproj or .xcworkspace exists, you MUST ask the user to create the
project first:
"No Xcode project found in this directory. Please create an empty Xcode project manually and let me know when you are ready to proceed."
Wait for the user to confirm they have created the .xcodeproj via Xcode, then
proceed with the Standard Xcode Workflow below.
Do not use raw text parsing, sed, or Ruby scripts to modify .pbxproj files
directly.
Instead, execute the Swift configuration package bundled with this skill
(scripts/xcode_spm_setup) to securely install SPM packages and link optional
config files (like GoogleService-Info.plist).
To ensure access to the latest features and security fixes, always use the most recent version of the Firebase iOS SDK. Check for the latest release version at https://github.com/firebase/firebase-ios-sdk/releases.
11.x.y) in your commands instead
of hardcoded placeholders.When adding a Swift Package to an Xcode project, two distinct steps must occur:
https://github.com/Alamofire/Alamofire).MyApp), navigating to General > Frameworks,
Libraries, and Embedded Content, and hitting the + button to explicitly
link the specific product modules (e.g., Alamofire).The provided xcode_spm_setup Swift script automatically handles BOTH of
these steps for you. By passing the list of modules as arguments, it safely
injects the package dependency and automatically wires those modules to the main
target's Frameworks build phase. You do not need to do any manual linking.
scripts/xcode_spm_setup directory on disk.swift run command using the signature below:swift run --package-path <PATH_TO_SKILL>/scripts/xcode_spm_setup xcode_spm_setup <ProjectPath.xcodeproj> <RepoURL> <VersionRequirement> [--plist <Optional/Path/To/Config.plist>] <Product1> [Product2 ...]
Adding Alamofire to a standard Xcode project. Notice there is no --plist flag.
swift run --package-path /Users/foo/.agents/skills/xcode-project-setup/scripts/xcode_spm_setup xcode_spm_setup MyApp.xcodeproj https://github.com/Alamofire/Alamofire 5.8.1 Alamofire
Adding Firebase and linking the GoogleService-Info.plist to the resources
build phase automatically. Note: Replace 11.0.0 with the actual latest
version from
the releases page.
swift run --package-path /Users/foo/.agents/skills/xcode-project-setup/scripts/xcode_spm_setup xcode_spm_setup MyApp.xcodeproj https://github.com/firebase/firebase-ios-sdk 11.0.0 --plist MyApp/GoogleService-Info.plist FirebaseCore FirebaseAuth FirebaseFirestore
Note: The script is idempotent. It will automatically skip linking files or packages that are already present in the project.
Reproducido de firebase/agent-skills bajo licencia Apache-2.0. Leer esta página en markdown.
5 archivos en el paquete. Solo se lee SKILL.md al activarse — las referencias se cargan si el skill decide que las necesita.
Requiere tener Swift instalado localmente y un entorno macOS.
Variables de entorno:BUILD_DIRDWARF_DSYM_FILE_NAMEDWARF_DSYM_FOLDER_PATHPRODUCT_NAME
Este repo incluye 12 skills. Si instalas uno, normalmente ya tienes los demás.
Skill oficial para integrar Firebase AI Logic (Gemini API) en apps. Cubre configuración, inferencia multimodal, salida estructurada y seguridad.
Guía para configurar y usar Firebase Authentication. Úsala cuando la app necesite inicio de sesión de usuarios, gestión de usuarios o acceso seguro a datos mediante reglas de auth.
Configura la base de Firebase: instala/verifica la CLI, gestiona login (incl. --no-localhost), crea o selecciona proyectos y descarga los archivos de configuración de la app.
Configura, gestiona, consulta y ajusta bases de datos Cloud Firestore (edición Standard/Enterprise): modelado de datos, reglas de seguridad, índices e integraciones SDK (Web, Python, iOS, Android, Flutter).
Convierte una Firebase Extension instalada (o su código fuente) en un codebase de Cloud Functions independiente o en un paquete npm publicable, con upgrade de triggers V1 a V2, lifecycle hooks y seguridad declarativa.
Construye y despliega backends de Firebase SQL Connect (antes Data Connect) con PostgreSQL de forma segura, incluyendo esquemas, queries/mutations autorizadas, tiempo real y SDKs type-safe.
Porta el código de una composición Remotion (React) existente a HTML de HyperFrames. Solo para pedidos explícitos de portar/convertir/migrar una fuente Remotion, en un único sentido.
Ajusta modelos en Microsoft Foundry con SFT (supervisado), DPO (preferencia) o RFT (refuerzo con graders). Cubre preparación de datasets, envío del entrenamiento, despliegue y evaluación.
Empaqueta un video de talking-head/entrevista/podcast existente con tarjetas gráficas superpuestas (títulos, lower-thirds, callouts, citas, PiP) sincronizadas con la transcripción, en 16:9, 9:16 o 4:5; el clip se reproduce intacto debajo.