Gradle build
Skill GDvega/super-android-kotlin-firebase-skill/skills/gradle-build
A modular Agent Skills repository for Android, Kotlin, Jetpack Compose and Firebase development.
npx -y skills add GDvega/super-android-kotlin-firebase-skill --skill gradle-buildAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 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 author says it does
Copied from the file, not written here
Use for Gradle Kotlin DSL, Android Gradle Plugin, Kotlin plugin, version catalogs, Firebase BoM, convention plugins, build variants and modularized Android builds.
SKILL.md
3.0 KB, as published. Nobody here has run it
Purpose
Keep the Android build reproducible, compatible and easy to evolve.
When to use
- Fixing Gradle sync/build errors.
- Adding dependencies or plugins.
- Migrating to version catalogs or convention plugins.
- Changing build variants, flavors, AGP, Kotlin or Firebase BoM.
Inputs to inspect
- settings.gradle(.kts), build.gradle(.kts), gradle/libs.versions.toml.
- Gradle, AGP, Kotlin and Java versions.
- Full build error and command.
- CI workflow if relevant.
Required workflow
- Read current version strategy before changing versions.
- Check compatibility between Gradle, AGP, Kotlin and Firebase BoM.
- Change the narrowest build file.
- Run sync/build validation.
- Document impact and rollback path.
Rules
- Do not upgrade versions blindly.
- Do not duplicate Firebase dependency versions outside the BoM.
- Keep Kotlin DSL consistent.
- Keep signing secrets out of Gradle files.
- Use convention plugins only when the project already benefits from them.
Related existing skills
Local skills to invoke
- android-core
- agp9-kotlin-migration
- dependency-upgrade-safety
- debugging
External companion skills to use when installed
Do not assume these companion skills are installed. Prefer the local skills above first, then consult Companion Skills for install and verification commands.
- android/skills — use for official Android workflow alignment around edge-to-edge, adaptive UI, Navigation 3, R8, AGP or testing setup.
- vercel-labs/skills — use for Agent Skills CLI, packaging and multi-agent installation patterns when repository maintenance guidance is needed.
Files commonly touched
settings.gradle.ktsbuild.gradle.ktsgradle/libs.versions.tomlbuild-logic/*.github/workflows/*
Commands to validate
./gradlew help
./gradlew assembleDebug
./gradlew test
./gradlew lint
./gradlew --version
Common mistakes to avoid
- Changing AGP and Kotlin together without reason.
- Mixing Groovy and Kotlin DSL patterns.
- Adding duplicate plugin declarations.
- Committing local SDK paths or secrets.
Checklist
- Version compatibility checked.
- BoM used correctly.
- Variants preserved.
- Build command passes or failure is documented.
- CI considered.
Example prompts
- Use $super-android-kotlin-firebase to fix this Gradle sync error.
- Use $super-android-kotlin-firebase to add Firebase BoM using version catalogs.
Expected response style
Respond with: brief diagnosis, change plan, affected files, code or diff summary, validation commands, tests added or recommended, risks, and next step. For review tasks, lead with findings ordered by severity.
References
- ../../docs/audits/FUENTES_LOCALES.md
- references/version-catalogs-and-agp.md
- templates/version-catalog-template.md