Claude Cursor Skill

flutter-build-release

Configure and verify Flutter flavors, environments, signing, versioning, release artifacts, obfuscation symbols, and store-ready builds. Use for local artifact configuration; route CI provider workflows to flutter-ci-cd, and do not publish or change live credentials without expli

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download thienqo-flutter-skills-skills_flutter-build-release-af9552b.zip · 3 KB

Install

skills CLI npx skills add https://github.com/thienqo/flutter-skills/tree/main/skills/flutter-build-release
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install thienqo-flutter-skills@llmmart
Git git clone https://github.com/thienqo/flutter-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole thienqo/flutter-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Flutter Build and Release

Produce reproducible artifacts for the requested platforms while preserving secrets and external-release authority.

Preflight

Read SDK constraints, flavors/schemes, bundle/application IDs, version source, signing configuration, environment injection, CI, native deployment targets, and store requirements. Never print or commit secrets, keystores, provisioning material, or service credentials.

Rules

  • Keep environment selection explicit and fail safely when required values are missing.
  • Align Dart defines, Android variants, Apple schemes/configurations, and service files by environment.
  • Increment versions according to the repository's release policy.
  • Build the exact requested artifact and keep symbols needed for crash deobfuscation.
  • Treat obfuscation as code-hardening, not secret protection.
  • Validate icons, names, permissions, privacy declarations, and target-specific metadata.
  • Make CI use pinned or declared tool versions where practical.
  • Require explicit authorization immediately before store upload, signing-credential mutation, tagging, or publishing.

Verification

Run formatting, analysis, tests, and a clean release build for each intended target/flavor. Verify the produced artifact's signature without uploading it: apksigner verify --print-certs for an APK, jarsigner -verify -certs for an AAB, and codesign --verify --deep --strict for an iOS app bundle, then compare the certificate or signing identity with the intended release key. Install or serve the built artifact and smoke-test startup plus a critical flow. Record artifact path, version, flavor, target, and remaining store-side work.

References

  • Read flavor and scheme alignment when coordinating product flavors, Xcode schemes, application IDs, and service configuration files.
  • Read obfuscation and symbols when configuring Dart AOT obfuscation, symbol splitting, mapping archives, or stack trace deobfuscation.

Sources

Files (flutter-skills)
  • references
    • flavor-and-scheme-alignment.md 2.1 KB
      Loading…
    • obfuscation-and-symbols.md 1.8 KB
      Loading…
  • SKILL.md 2.6 KB
    ---
    name: flutter-build-release
    description: Configure and verify Flutter flavors, environments, signing, versioning, release artifacts, obfuscation symbols, and store-ready builds. Use for local artifact configuration; route CI provider workflows to flutter-ci-cd, and do not publish or change live credentials without explicit authorization.
    ---
    
    # Flutter Build and Release
    
    Produce reproducible artifacts for the requested platforms while preserving secrets and external-release authority.
    
    ## Preflight
    
    Read SDK constraints, flavors/schemes, bundle/application IDs, version source, signing configuration, environment injection, CI, native deployment targets, and store requirements. Never print or commit secrets, keystores, provisioning material, or service credentials.
    
    ## Rules
    
    - Keep environment selection explicit and fail safely when required values are missing.
    - Align Dart defines, Android variants, Apple schemes/configurations, and service files by environment.
    - Increment versions according to the repository's release policy.
    - Build the exact requested artifact and keep symbols needed for crash deobfuscation.
    - Treat obfuscation as code-hardening, not secret protection.
    - Validate icons, names, permissions, privacy declarations, and target-specific metadata.
    - Make CI use pinned or declared tool versions where practical.
    - Require explicit authorization immediately before store upload, signing-credential mutation, tagging, or publishing.
    
    ## Verification
    
    Run formatting, analysis, tests, and a clean release build for each intended target/flavor. Verify the produced artifact's signature without uploading it: `apksigner verify --print-certs` for an APK, `jarsigner -verify -certs` for an AAB, and `codesign --verify --deep --strict` for an iOS app bundle, then compare the certificate or signing identity with the intended release key. Install or serve the built artifact and smoke-test startup plus a critical flow. Record artifact path, version, flavor, target, and remaining store-side work.
    
    ## References
    
    - Read [flavor and scheme alignment](references/flavor-and-scheme-alignment.md) when coordinating product flavors, Xcode schemes, application IDs, and service configuration files.
    - Read [obfuscation and symbols](references/obfuscation-and-symbols.md) when configuring Dart AOT obfuscation, symbol splitting, mapping archives, or stack trace deobfuscation.
    
    ## Sources
    
    - [Flutter deployment](https://docs.flutter.dev/deployment)
    - [Build and release an Android app](https://docs.flutter.dev/deployment/android)
    - [Build and release an iOS app](https://docs.flutter.dev/deployment/ios)
    - [apksigner](https://developer.android.com/tools/apksigner)
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.