source-command-build-release

Builds a production Flutter Android App Bundle with obfuscation and saved debug symbols.

Updated May 11, 2026
One-click install
npx skills add https://github.com/Turgunoff/mebellar_app --skill source-command-build-release-turgunoff
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: source-command-build-release
Source: https://github.com/Turgunoff/mebellar_app/tree/main/.agents/skills/source-command-build-release
Command: npx skills add https://github.com/Turgunoff/mebellar_app --skill source-command-build-release-turgunoff

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Release builds for Flutter apps involve a fragile sequence of steps — cleaning, fetching dependencies, baking in environment variables, enabling obfuscation, and versioning correctly — where a single missed step causes Play Console rejections or unsymbolized crash reports. ## Core Features & Use Cases - Full release pipeline: Runs flutter clean, flutter pub get, and flutter build appbundle --release with --dart-define-from-file=env/prod.json, --obfuscate, and --split-debug-info via tools/build_release.sh. - Pre-build sanity checks: Verifies env/prod.json exists and prompts to bump the versionCode (+N suffix) in pubspec.yaml so Play Console does not reject a duplicate upload. - Post-build reporting: Reports the AAB path, file size, and reminds you to preserve build/symbols/ for Crashlytics symbolication without committing it. - Use Case: Before submitting a new Woody marketplace release to Google Play, run this skill to produce an obfuscated, environment-configured AAB with symbols archived for later crash analysis. ## Quick Start Ask the assistant to run the build-release command to produce a production AAB, confirming the version code bump when prompted.

Frequently Asked Questions about source-command-build-release

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a release AAB for a Flutter app?▼

Run the build_release.sh script from the project root, which executes flutter clean, flutter pub get, and flutter build appbundle --release with obfuscation and split debug info. The output lands at build/app/outputs/bundle/release/app-release.aab.

How do I pass environment variables into a Flutter release build?▼

Use the --dart-define-from-file flag pointing to env/prod.json, which this build script applies automatically. If env/prod.json is missing, create it from env/example.json before building.

Why does Play Console reject my AAB upload?▼

Play Console rejects uploads that reuse an existing versionCode. Bump the +N suffix in the version field of pubspec.yaml before building so each upload has a unique, higher code.

What should I do with Flutter split-debug-info symbols after a release build?▼

Keep the build/symbols/ directory somewhere accessible but never commit it to the repository. These symbols let you deobfuscate Crashlytics stack traces later using flutter symbolize.

What happens if the Flutter release build fails?▼

The skill prints the last 20 lines of stderr and stops. It does not modify dependencies or build settings to attempt a fix without explicit confirmation.