Gradle agp workflow
Skill gaelic-ghost/socket/plugins/android-dev-skills/skills/gradle-agp-workflow
Inspect and maintain Android Gradle and Android Gradle Plugin workflows, including Gradle wrapper policy, AGP and Kotlin plugin versions, Java toolchains, Android SDK settings, namespaces, variants, flavors, signing config, version catalogs, dependencies, generated sources, build cache boundaries, and targeted assemble, test, lint, or bundle tasks.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill gradle-agp-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.7 KB, 938 tokens by cl100k_base, as published. Nobody here has run it
Android Gradle And AGP Workflow
Purpose
Keep Android build, dependency, variant, and packaging work grounded in the repository's real Gradle and Android Gradle Plugin configuration.
The practical decision is which Gradle files own the change, which Android modules and variants are affected, and which command proves the change without relying on machine-global state.
Source Check
Use repo-local Gradle files, checked-out dependency sources, and Dash.app Gradle or Java docsets opportunistically. Use official documentation as authority for Android-specific and version-sensitive behavior:
- Android build documentation
- Android Gradle Plugin release notes
- Gradle User Manual
- Gradle Java Toolchains
- Kotlin Gradle plugin documentation
Translate documentation into concrete Gradle files, module names, variants, and commands.
Inspection Workflow
- Identify the Gradle owner:
settings.gradleorsettings.gradle.kts- root
build.gradleorbuild.gradle.kts - module
build.gradleorbuild.gradle.kts gradle/libs.versions.tomlgradle.propertiesgradle/wrapper/gradle-wrapper.properties
- Identify Android plugin shape:
com.android.applicationcom.android.librarycom.android.test- Kotlin Android plugin aliases or IDs
- Inspect toolchain and SDK policy:
- AGP version
- Gradle wrapper version
- Kotlin plugin version
- Java toolchain or source/target compatibility
compileSdk,minSdk, and target SDK policy
- Inspect variants and packaging:
- build types
- product flavors
- signing configs
- namespace and application ID
- app bundles, APKs, ProGuard/R8, and generated outputs
- Inspect dependencies:
- version catalogs
- plugin management
- dependency constraints
- repositories
- generated sources, annotation processors, KSP, KAPT, or codegen plugins
Command Selection
Prefer repository wrappers and narrow module tasks:
./gradlew :app:assembleDebug
./gradlew :app:testDebugUnitTest
./gradlew :app:lintDebug
./gradlew :app:bundleRelease
Use the repository's documented commands when they differ. Run one Gradle command at a time.
Dependency Rules
- Use fetchable repositories or package registries only.
- Do not commit machine-local SDK, Gradle, Maven, or file dependency paths.
- Preserve version catalog and plugin-management patterns.
- Keep dependency updates separate from feature work when the update has broad risk.
- Do not raise AGP, Gradle, Kotlin, Java, compile SDK, min SDK, or target SDK without explaining compatibility impact and validation.
Failure Triage
Classify failures by phase:
- wrapper or Gradle startup
- plugin resolution
- SDK or toolchain selection
- dependency resolution
- manifest merge
- resource processing
- compile or KSP/KAPT/code generation
- unit test
- lint
- package, bundle, signing, or R8
Report the command, module, variant, phase, first meaningful error, likely cause, and smallest next check.
Output Shape
Return:
Build owner: Gradle wrapper, AGP, Kotlin plugin, Java toolchain, and Android SDK policy.Affected modules: module names, plugins, source sets, and variants.Dependency decision: add, update, preserve, or remove.Packaging impact: build types, flavors, signing, bundle, APK, R8, or no packaging impact.Validation path: exact commands.Risk: toolchain, dependency, generated-source, variant, signing, or release risk.
Guardrails
- Do not run Gradle commands concurrently.
- Do not use machine-global Gradle when
./gradlewexists. - Do not change SDK, AGP, Gradle, Kotlin, or Java versions as drive-by cleanup.
- Do not make server-side JVM build decisions inside Android-owned modules.
- Do not start release publishing from a build-tooling pass.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.