skills/github/github-actions/SKILL.md
Orchestrate CI/CD pipelines with GitHub Actions for Flutter apps. Use when setting up quality gates, automated builds, semantic versioning, code signing, or deployment workflows.
npx skillsauth add dhruvanbhalara/skills github-actionsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
push to main and on all Pull Requests- name: Analyze
run: flutter analyze --fatal-infos --fatal-warnings
- name: Format Check
run: dart format --set-exit-if-changed .
- name: Run Tests
run: flutter test --coverage
--fatal-infos ensures no info-level issues pass--set-exit-if-changed to enforce consistent formatting- name: Build APK
run: flutter build apk --flavor prod --dart-define-from-file=config/prod.json --release
- name: Build IPA
run: flutter build ipa --flavor prod --dart-define-from-file=config/prod.json --release --export-options-plist=ios/ExportOptions.plist
--flavor prod and --dart-define-from-file=config/prod.jsonmain.dart — do NOT pass -t lib/main_prod.dartMAJOR.MINOR.PATCH+BUILDPATCH for bug fixes, MINOR for features, MAJOR for breaking changespubspec.yaml: version: 1.2.3+45+BUILD number MUST auto-increment in CI (use build number from CI environment)*.jks, *.keystore, *.p12, or *.mobileprovision filesmain: no direct pushes, require status checkspubspec.yamlv1.2.3)development
Perform REST API networking operations (GET, POST, PUT, DELETE) using the lightweight and robust standard `http` package, including platform configurations and background parsing models.
development
Configure internationalization and localization support using Flutter's built-in l10n system, App Resource Bundle (ARB) files, and ICU formatting syntax.
development
Create model classes with fromJson/toJson using dart:convert and Dart 3 pattern matching. Use when manually mapping JSON to classes, parsing HTTP responses, or choosing between manual and code-generated serialization.
data-ai
Diagnose and fix Flutter layout constraint violations (RenderFlex overflow, unbounded height/width, ParentData misuse). Use when encountering layout exceptions, yellow-black overflow stripes, or red error screens.