agentleFS
mabykomabyko/AgentSkills/skills/flutter-flavors/SKILL.md

flutter-flavors

Skill0 starsChanged 33 days agoMITView on GitHub

Use when setting up, auditing, or switching Flutter flavors, flutter_flavorizr, flavorizr.yaml, or platform-specific app identities (app IDs, display names, launch configs) across Android, iOS, macOS, web, Windows, and Linux.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user asks to configure, audit, or switch Flutter flavors, build environments, app IDs, display names, launch …

    line 8
  2. Very specific:

    Do not use profile as a synonym for beta.

    line 16
  3. Distinctive:

    When Flavorizr config and native platform files both exist, treat them as separate sources until reconciled.

    line 19
  4. Very specific:

    Read references/identifier-rules.md before writing any app ID, bundle identifier, or derived slug.

    line 27
  5. Very specific:

    Read references/mobile-identities.md for canonical team identities and personal Apple Developer/local device testing identities.

    line 28
  6. Very specific:

    Read references/flutter-flavorizr.md when a project already uses flutter_flavorizr, has flavorizr.yaml, or the user asks to generate/manage …

    line 29
  7. Very specific:

    Read references/example-prompts.md only when the user asks for example prompts or usage examples.

    line 30
  8. Very specific:

    If the user invokes only $flutter-flavors without a concrete task, ask for the intended action and do not edit files.

    line 34
  9. Distinctive:

    Stop and report when signing, export, store, CI/CD, provisioning, capabilities, notarization, package identity, or release-path decisions …

    line 42
  10. Distinctive:

    Verify with the smallest available Flutter/native check that does not require unavailable signing credentials.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Flutter Flavors

Use this skill when the user asks to configure, audit, or switch Flutter flavors, build environments, app IDs, display names, launch configs, or platform-specific app identities.

Core Rule

Flutter flavor/environment and Flutter build mode are separate axes.

  • Flavor/environment defines which app identity or deployment profile is built.
  • Build mode (debug, profile, release) defines how the Flutter runtime is compiled.
  • Do not use profile as a synonym for beta.
  • Do not use release as a synonym for prod.
  • Validate every app ID against references/identifier-rules.md before editing. That reference owns platform character rules, cross-platform ID differences, slug derivation from display names, and the ban on applying example IDs literally.
  • When Flavorizr config and native platform files both exist, treat them as separate sources until reconciled. Before applying canonical or personal changes, identify which one is source of truth and update the other to match; if they conflict, ask before editing.
  • Preserve unknown or extra flavors unless the user explicitly asks to remove or rename them. If applying canonical or personal policy, ask whether extra flavors should be updated, mapped, or left untouched.
  • If multiple flavor meanings coexist, such as environment flavors (dev, test, beta, prod) plus custom flavors (custom_flavor_a, custom_flavor_b), ask whether to flatten combinations or keep them independent. When kept independent, add VS Code debug launch configs for custom-only flavors unless the user requests profile/release variants.

Scope

Current bundled references cover generic Android/iOS mobile setup:

  • Read references/identifier-rules.md before writing any app ID, bundle identifier, or derived slug.
  • Read references/mobile-identities.md for canonical team identities and personal Apple Developer/local device testing identities.
  • Read references/flutter-flavorizr.md when a project already uses flutter_flavorizr, has flavorizr.yaml, or the user asks to generate/manage Flutter Flavorizr configuration.
  • Read references/example-prompts.md only when the user asks for example prompts or usage examples.

For macOS, web, Windows, or Linux, first inspect existing project docs and native platform files. Only apply platform-specific identity changes when the requested target and source of truth are clear. Otherwise, report the likely files and ask for a platform policy.

If the user invokes only $flutter-flavors without a concrete task, ask for the intended action and do not edit files.

Workflow

  1. Identify requested target: canonical, personal, switch canonical to personal, switch personal to canonical, audit only, or add a new platform policy.
  2. Load only the relevant reference file.
  3. Inspect existing Android/iOS/macOS/web/Windows/Linux project files before editing.
  4. Preserve unrelated launch configs, schemes, build files, signing settings, and app logic.
  5. Stop and report when signing, export, store, CI/CD, provisioning, capabilities, notarization, package identity, or release-path decisions need human confirmation.
  6. Verify with the smallest available Flutter/native check that does not require unavailable signing credentials.

For an implementation, correct in-scope flavor/configuration errors found during verification, including pre-existing errors that prevent the requested outcome, and rerun the affected check. Report unrelated defects separately and unavailable SDKs, signing access, or unresolved source-of-truth decisions as pending verification; do not change signing, install tools, or broaden platform scope to make a check pass without authorization. An audit reports discrepancies without applying fixes.

Platform Notes

  • Android uses Gradle Kotlin DSL product flavors, lowercase applicationId, and manifest label placeholders.
  • iOS and macOS use Xcode schemes/build configurations, bundle identifiers, display names, and signing settings.
  • Web usually uses deployment environment/profile settings rather than a native installable flavor.
  • Windows/Linux usually use package/app metadata and build-time environment profiles rather than Android-style product flavors.

Output

Report what identity set was applied or audited, which platform files changed, which checks ran, and any human decisions still required.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.