/d3nexus:setup_variantsfrom d3nexus
Automates the setup of build variants (flavors) for Android and iOS in a default Flutter project, including signing and VS Code launch configuration.
Ships in d3nexus. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill configures dev, stg, and prd build variants for both Android and iOS in a standard Flutter project.
Reference Guide: Setup Development Environments Guide
secureFiles directory with signing keys and flavor configurations (json)android/app/build.gradle.kts:
.agents/skills/setup_variants/resources/android/build_gradle_flavors.kts.signingConfigs map to secureFiles correctly.keystore.properties to android/.gitignore (defensive, in case it is copied locally)../gradlew bundleRelease (or assembleRelease) to ensure gradle syncs and builds correctly.ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme.extract_dart_defines.sh to ios/scripts/.update_project.py and update_project_runner_tests.py to ios/scripts/.copy_google_service_plist.sh to ios/scripts/.extract_dart_defines.sh and copy_google_service_plist.sh executable (chmod +x).python3 ios/scripts/update_project.py --app-name <your_app_name> (e.g. python3 ios/scripts/update_project.py --app-name Wallet) to create Build Configurations.python3 ios/scripts/update_project_runner_tests.py to fix RunnerTests targets.ios/Flutter/{app_name}-defaults.xcconfig using the resource template App-defaults.xcconfig..xcconfig files (e.g. {app_name}-dev.xcconfig, {app_name}.xcconfig) in ios/Flutter/ that import {app_name}.xcconfig and generated Pods configs.extract_dart_defines.sh passes {app_name} as the first argument.Flutter/{app_name}.xcconfig to ios/.gitignore as it is a generated file.CFBundleDisplayName to $(DART_DEFINES_APP_NAME).CFBundleIdentifier to $(PRODUCT_BUNDLE_IDENTIFIER)$(DART_DEFINES_APP_ID_SUFFIX).update_project.py logic or manual xml creation if needed - Note: current script does not create schemes xml, only config. You may need to create scheme XMLs defined in previous steps if not present).dev, stg, prd schemes exist in xcshareddata.:debug and :release.platform :ios, '13.0' (or higher) is set.IPHONEOS_DEPLOYMENT_TARGET in post_install.@copy_secure_configurations skill first to copy your valid GoogleService-Info.plist files to ios/Runner/Firebase/.
GoogleService-Info.dev.plist exist."${SRCROOT}/scripts/copy_google_service_plist.sh"pod install in ios/.launch.json:
.vscode/launch.json using the template from resources.Run the following commands to verify the setup for each environment. These match the configurations in .vscode/launch.json.
Dev Environment:
flutter run --flavor dev --dart-define-from-file=secureFiles/dev/environment-configs.json
Staging Environment:
flutter run --flavor stg --dart-define-from-file=secureFiles/stg/environment-configs.json
Production Environment:
flutter run --flavor prd --dart-define-from-file=secureFiles/prd/environment-configs.json
resources/android/build_gradle_flavors.kts (opens in a new tab)resources/ios/App-defaults.xcconfig (opens in a new tab)resources/ios/scripts/copy_google_service_plist.sh (opens in a new tab)resources/ios/scripts/extract_dart_defines.sh (opens in a new tab)resources/ios/scripts/update_project.py (opens in a new tab)resources/ios/scripts/update_project_runner_tests.py (opens in a new tab)resources/launch.json (opens in a new tab)resources/secureFiles/README.md (opens in a new tab)resources/secureFiles/dev/GoogleService-Info.plist (opens in a new tab)resources/secureFiles/dev/environment-configs.json (opens in a new tab)resources/secureFiles/dev/google-services.json (opens in a new tab)resources/secureFiles/prd/GoogleService-Info.plist (opens in a new tab)resources/secureFiles/prd/environment-configs.json (opens in a new tab)resources/secureFiles/prd/google-services.json (opens in a new tab)resources/secureFiles/signing/README.md (opens in a new tab)resources/secureFiles/signing/debug.keystore (opens in a new tab)resources/secureFiles/signing/keystore.properties.template (opens in a new tab)resources/secureFiles/stg/GoogleService-Info.plist (opens in a new tab)resources/secureFiles/stg/environment-configs.json (opens in a new tab)resources/secureFiles/stg/google-services.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub danhdue/ai-agent-tools --plugin d3nexus72 skills in this plugin
/android-api-integrationGenerates a standardized Network Module, API Interface, Remote Data Source, Repository, UseCase, Models, and ViewModel updates for Android using the Hybrid Network Architecture and MVI Pattern./android-quality-checkRead-only Android quality assurance provider implementing the common quality contract. Executes project-configured Gradle, Spotless, Detekt, and Konsist capabilities from .agents/quality/android-quality.json, enforces BCV and architecture policies, and outputs structured results bound to repository SHA./android-ui-auditAudits Jetpack Compose and Android UI code for recomposition stability, state hoisting, Material3 design system adherence, and modifier best practices.Other plugins' skills for the same job