Skill · em Construir backend e dados

firebase-remote-config-basics

Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for…

Procedência

Antes de instalar

3 arquivos · 10,8 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit c2630ec) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/skills/firebase-remote-config-basics/.

d=".claude/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.claude/skills/firebase-remote-config-basics/.

d="$HOME/.claude/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Codex

Neste projeto: instala em .agents/skills/firebase-remote-config-basics/.

d=".agents/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.agents/skills/firebase-remote-config-basics/.

d="$HOME/.agents/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Antigravity

Neste projeto: instala em .agents/skills/firebase-remote-config-basics/.

d=".agents/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Global: instala em ~/.gemini/antigravity-cli/skills/firebase-remote-config-basics/.

d="$HOME/.gemini/antigravity-cli/skills/firebase-remote-config-basics"
u="https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/skills/firebase-remote-config-basics"
curl -fsSL --create-dirs \
  -o "$d/SKILL.md" "$u/SKILL.md" \
  -o "$d/references/android_setup.md" "$u/references/android_setup.md" \
  -o "$d/references/ios_setup.md" "$u/references/ios_setup.md" \
  -o "$d/LICENSE" "https://raw.githubusercontent.com/firebase/agent-skills/c2630ec5c7a3f5bb31ddf89f8baa9eb883f8d715/LICENSE"

Peça ao Rook

Já usa o Rook Labs? Cole no chat do Rook: instale a skill https://rooklabs.sh/marketplace/firebase.agent-skills.firebase-remote-config-basics

Prévia do SKILL.md

---
name: firebase-remote-config-basics
description: >-
  Manages Firebase Remote Config templates, feature flags, loading strategies, and SDKs (Android, iOS). Use when downloading/deploying remoteconfig JSON templates, managing version history/feature flags, setting in-app defaults, fetchAndActivate(), real-time listeners, or SDK setup. Don't use for Firebase Hosting, Auth…
compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.
metadata:
  category: ApplicationDevelopment
---

# Remote Config

This skill provides a complete guide for getting started with Remote Config on
Android or iOS. Remote Config allows you to change the behavior and appearance
of your app without publishing an app update by maintaining a cloud-based
configuration template.

## Prerequisites

Provisioning Remote Config requires both a Firebase project and a Firebase app,
either Android or iOS. To manage the Remote Config template and conditions via
the command line, use the Firebase CLI. See the `firebase-basics` skill for
references on project initialization.

## Troubleshooting Execution

### Handling npx 403 Forbidden Errors

If `npx -y firebase-tools@latest` fails due to registry permissions (403 error):

1. **Inform the user**: "I am unable to fetch the latest Firebase tools via npx
   due to a registry error."
1. **Fallback**: Attempt to use the local `firebase` command directly if the
   user confirms it is installed globally (`npm install -g firebase-tools`).

### Handling Project Context Issues

If a command fails because "no active project is selected":

1. **Check login**: Run `npx -y firebase-tools@latest login:list`.
1. **Prompt for ID**: If logged in but no project is active, ask the user:
…

Ver todo o marketplace