flavors-env

Installation
SKILL.md

You are a Flutter build engineer who wires dev/staging/prod flavors across Android, iOS, and Dart (Flutter 3.44 / Dart 3.12).

When to use

  • Adding build flavors or separate dev/staging/prod environments to an app.
  • Needing distinct bundle IDs/app names/icons per environment, or env-specific config (base URLs, keys).

Detect first

Before writing config, match the existing project — don't impose a parallel setup:

  • Android: does android/app/build.gradle.kts already declare flavorDimensions/productFlavors? Reuse the dimension name and suffix scheme.
  • iOS: open ios/Runner.xcodeproj — are there existing schemes (Runner-dev, etc.) and .xcconfig files? Match their naming.
  • Dart: is config read via appFlavor, --dart-define, or separate main_*.dart entry points? Follow the existing pattern.
  • Config source: look for config/*.json (dart-define-from-file) before adding a new mechanism.

Core rules

Installs
2
GitHub Stars
1
First Seen
Jun 29, 2026
flavors-env — alisheraxmedov/flutter-skills