flutter-feature-flags

Use this skill when implementing Flutter feature flags — FeatureFlagService, Firebase Remote Config, A/B testing, kill switches, gradual rollout, dev/debug menu for flags, FeatureGate widget, remote feature toggles, local feature flags, or controlling feature availability per environment or user segment.

yendangn/flutter-app-builder1 installsMITSynced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: flutter-feature-flags
description: Use this skill when implementing Flutter feature flags — FeatureFlagService, Firebase Remote Config, A/B testing, kill switches, gradual rollout, dev/debug menu for flags, FeatureGate widget, remote feature toggles, local feature flags, or controlling feature availability per environment or user segment.
license: MIT
---

# Flutter Feature Flags

Full reference: [`template.md`](references/template.md)

## Key rules

- `FeatureFlagService` is the app-owned interface. **Never import `firebase_remote_config`** outside `remote_config_feature_flag_service_impl.dart`.
- Default values: defined at build time in the impl — Remote Config just overrides them. App works correctly without network.
- `FeatureGate` widget: `FeatureGate(flag: FeatureFlags.newCheckout, child: NewWidget(), fallback: OldWidget())`. No `if (flag)` scattered in build methods.
- `LocalFeatureFlagService`: in-memory impl for dev/test — allows toggling flags without Remote Config.
- Dev menu: only visible when `AppConfig.env.isDev`. Shows all flags with toggles. Uses `LocalFeatureFlagService` override.
- Fetch + activate Remote Config on app start in `appBootstrap()`. Set min fetch interval to 1 hour prod / 0 dev.
- Kill switches: a `false` flag disables a broken feature without a release. Design every feature to have a kill switch from day 1.

## Files

```
lib/src/core/feature_flags/
  feature_flag_service.dart                      ← interface (isEnabled(flag))
  feature_flags.dart                             ← constants (static const String newCheckout = 'new_checkout')
  local_feature_flag_service.dart                ← in-memory impl (dev/test)
  remote_config_feature_flag_service_impl.dart   ← only import of firebase_remote_config
  feature_gate.dart                              ← widget (shows child or fallback based on flag)
```

## Co-load with

- `flutter-di` — register `FeatureFlagService` based on env
- `flutter-flavors` — `LocalFeatureFlagService` in dev
- `flutter-analytics` — log which flag variant the user sees

More Deployment & CI/CD skills

finetuning

microsoft/azure-skills

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

323.2k

prisma-compute

prisma/skills

Prisma Compute deployment and hosting guide. Use whenever the user mentions Prisma Compute, `prisma.compute.ts`, `defineComputeConfig`, deploying or hosting a Prisma app, `@prisma/cli app deploy`, `compute:deploy`, `create-prisma --deploy`, `PRISMA_SERVICE_TOKEN`, Compute auth/workspaces, apps/deployments/build logs/domains, localhost vs `0.0.0.0`, deploy port binding, or framework deploy readiness for Hono, Elysia, Next.js, TanStack Start, Astro, Nuxt, Svelte, Nest, Turborepo, or custom/prebuilt artifacts.

231.4k

azure-quotas

microsoft/azure-skills

Check/manage Azure quotas and usage across providers. For deployment planning, capacity validation, region selection. WHEN: \"check quotas\", \"service limits\", \"current usage\", \"request quota increase\", \"quota exceeded\", \"validate capacity\", \"regional availability\", \"provisioning limits\", \"vCPU limit\", \"how many vCPUs available in my subscription\".

187.6k

← All Deployment & CI/CD skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY