Skip to content
Back to skills

Android Deployment

ASecurity

Use CI secrets/environment variables for the keystore path and passwords, and keep the keystore outside the repository. For example, in `app/build.gradle.kts`: ```kotlin import java.io.File val keystorePath = System.getenv("ANDROID_KEYSTORE_PATH") val keystorePassword = System.getenv("ANDROID_KEYSTORE_PASSWORD") val keyAlias = System.getenv("ANDROID_KEY_ALIAS") val keyPassword = System.getenv("ANDROID_KEY_PASSWORD") android { signingConfigs { create("release") { check(keystorePath != null) { ...

  • 584 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
developmentjavakotlin

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill android-deployment --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Deployment?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Deployment
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-android-deployment-agent-skills-standard/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-android-deployment-agent-skills-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
Use CI secrets/environment variables for the keystore path and passwords, and keep the keystore outside the repository. For example, in `app/build.gradle.kts`:

```kotlin
import java.io.File

val keystorePath = System.getenv("ANDROID_KEYSTORE_PATH")
val keystorePassword = System.getenv("ANDROID_KEYSTORE_PASSWORD")
val keyAlias = System.getenv("ANDROID_KEY_ALIAS")
val keyPassword = System.getenv("ANDROID_KEY_PASSWORD")

android {
    signingConfigs {
        create("release") {
            check(keystorePath != null) { "ANDROID_KEYSTORE_PATH is required for release signing" }
            check(keystorePassword != null) { "ANDROID_KEYSTORE_PASSWORD is required for release signing" }
            check(keyAlias != null) { "ANDROID_KEY_ALIAS is required for release signing" }
            check(keyPassword != null) { "ANDROID_KEY_PASSWORD is required for release signing" }

            storeFile = File(keystorePath!!)
            storePassword = keystorePassword
            this.keyAlias = keyAlias
            this.keyPassword = keyPassword
        }
    }

    buildTypes {
        release {
            signingConfig = signingConfigs.getByName("release")
        }
    }
}
```

Have CI materialize the keystore from its secret store at `ANDROID_KEYSTORE_PATH`, set the four variables, build, and remove the temporary keystore in cleanup. Never commit the keystore, passwords, or signing credentials. For Play Store distribution, prefer producing a signed `.aab`; use a signed APK only where an APK is specifically required.

Files in this skill

  • eval-1.baseline.md2 KB
  • eval-1.with-skill.md1.5 KB
  • eval-2.baseline.md1.4 KB
  • eval-2.with-skill.md683 B
  • eval-3.baseline.md1.3 KB
  • eval-3.with-skill.md651 B
  • trigger-1.md129 B
  • trigger-10.md142 B
  • trigger-11.md156 B
  • trigger-2.md142 B
  • trigger-3.md127 B
  • trigger-4.md145 B
  • trigger-5.md154 B
  • trigger-6.md135 B
  • trigger-7.md138 B
  • trigger-8.md124 B
  • trigger-9.md143 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.