- name
SKILL.md
El archivo de la skill permanece en el repositorio del publicador.
Pega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add evanca/flutter-ai-rules --skill firebase-remote-config -a cursor -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add evanca/flutter-ai-rules --skill firebase-remote-config -a claude-code -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add evanca/flutter-ai-rules --skill firebase-remote-config -a codex -yPega el comando copiado en una terminal. Instala este SKILL.md en ese agente.
npx skills add evanca/flutter-ai-rules --skill firebase-remote-config -a grok -yEnvía el mensaje copiado en un chat de Grok Bot. El Bot obtiene este SKILL.md de GitHub y lo añade a las skills que comparten todos tus Bots.
Install this skill: https://github.com/evanca/flutter-ai-rules/tree/HEAD/skills/firebase-remote-configDel publicador
This skill defines how to correctly use Firebase Remote Config in Flutter applications.
Use this skill when:
flutter pub add firebase_remote_config
flutter pub add firebase_analytics # required for conditional targeting of app instances
import 'package:firebase_remote_config/firebase_remote_config.dart';
final remoteConfig = FirebaseRemoteConfig.instance;
Configure settings:
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(minutes: 1),
minimumFetchInterval: const Duration(hours: 1),
));
Set in-app defaults (ensures the app behaves as intended before connecting to the backend):
await remoteConfig.setDefaults(const {
"feature_new_onboarding": false,
"max_retry_attempts": 3,
"welcome_message": "Hello, world!",
"promo_discount_pct": 0.0,
});
Read values with type-specific getters:
final showNewOnboarding = remoteConfig.getBool("feature_new_onboarding");
final maxRetries = remoteConfig.getInt("max_retry_attempts");
final welcomeMsg = remoteConfig.getString("welcome_message");
final discount = remoteConfig.getDouble("promo_discount_pct");
login_timeout, login_attempts_max).await remoteConfig.fetchAndActivate();
fetchAndActivate() to fetch and apply values in a single call.fetch() then activate() separately to control when values take effect.remoteConfig.lastFetchStatus to determine if the fetch was successful, failed, or throttled.remoteConfig.onConfigUpdated.listen((event) async {
await remoteConfig.activate();
// event.updatedKeys contains the changed parameter names
if (event.updatedKeys.contains("feature_new_onboarding")) {
// Refresh UI based on the new value
}
});
await remoteConfig.setConfigSettings(RemoteConfigSettings(
fetchTimeout: const Duration(minutes: 1),
minimumFetchInterval: const Duration(minutes: 5),
));
Use when implementing feature flags, running A/B tests, setting parameter defaults, fetching/activating config, or enabling real-time config updates.
---name: firebase-remote-configdescription: Use when implementing feature flags, running A/B tests, setting parameter defaults, fetching/activating…---# skills/firebase-remote-config/SKILL.mdPreguntas frecuentes
Descarga skills/firebase-remote-config/SKILL.md desde el publicador, o copia la ruta y abre el repositorio. PlugMCP lista la skill y no aloja el archivo.
El publicador lo mantiene en https://github.com/evanca/flutter-ai-rules.
Claude, Cursor, Codex y Grok Build pueden leer un SKILL.md que añadas desde el repositorio del publicador. Grok Bot lo instala cuando envías en un chat el enlace a la carpeta de la skill en GitHub.