Install
$ agentstack add skill-prasad-vennam-awesome-android-ai-agent-skills-android-build-verification ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Android Build Verification 🛠️🔍
A foundational quality guard for Android AI Agents that ensures no code is committed or merged without a successful compilation.
⚡ When to Use
- After EVERY edit: After you modify more than 2 files or 20 lines of code.
- Dependency Changes: After updating
libs.versions.tomlorbuild.gradle.kts. - DI/Schema Changes: After adding a new
@HiltAndroidApp,@Entity, or@Dao. - Resource Changes: If you add new icons or strings to
res/.
🏗️ The Build Workflow
1. Fast Compilation Check
- Command:
./gradlew assembleDebug --parallel --build-cache - Purpose: Verify that the entire project compiles.
2. Unit Verification
- Command:
./gradlew testDebugUnitTest - Purpose: Ensure that logic didn't regress after the build script was changed.
3. Manifest & Resource Consistency (Critical)
- Hilt Entry Point: Verify that the
Applicationclass (annotated with@HiltAndroidApp) is registered inAndroidManifest.xmlunderandroid:name. - Theme Bridge: If using Material 3 XML themes, ensure
com.google.android.material:materialis present in dependencies. - Icon Resources: Check that
res/mipmap-anydpi-v26andres/drawablecontain valid XML vectors for adaptive icons to avoid AAPT linking errors.
🛑 Scaffolding / Empty Project Guardrails
When explicitly tasked to create a project or scaffold a new feature from scratch, agents MUST verify these items before claiming completion:
- Complete Theme Implementation: Did you actually create
Theme.kt,Color.kt, andType.kt? (PreventsTheme not founderrors). - Compose Compiler Symmetry: Did you double-check that the
composeCompilerversion explicitly matches thekotlinplugin version inlibs.versions.toml? - Auxiliary Dependencies: Did you add the required libraries you referenced? (e.g.
coil-compose,hilt-navigation-compose,windowsizeclass). - End-to-End Hookup: Are all UI buttons calling actual ViewModel methods that hit a Repository, or did you accidentally leave an empty
{ /* TODO */ }block? Do not leave disconnected UIs.
🚀 Performance Strategies
- [ ] Daemon Speed: Keep the Gradle daemon warm by running consecutive tasks.
- [ ] Offline Mode: If building frequently without dependency changes, use
--offlineto skip network checks. - [ ] Task Selection: If only one module changed (e.g.,
:feature:auth), only build that module:./gradlew :feature:auth:assembleDebug.
🧪 Error & Symptom Checker
- "Unresolved Reference": Check imports or if the target module is missing from
settings.gradle.kts. - "Duplicate Class": Check for version conflicts in
libs.versions.toml. - "Hilt Error": Ensure the
@AndroidEntryPointor@Moduleclasses have the correct annotations and thatkaptis active. - "Room Schema Export": Verify if you moved database versioning without updating the
exportSchemaconfig.
📐 Continuous Verification Workflow (For Agents)
- Step 1: Make the intended change.
- Step 2: Run
./gradlew assembleDebug. - Step 3: If it fails, fix the code immediately.
- Step 4: Report "Build Successful" alongside the code changes to the user.
📜 Checklist for Reliability
- [ ] Local Build: Did it pass locally before saying "I'm done"?
- [ ] Syncing: Did you run
git add .and commit the new files for the user? - [ ] Lint: Are there no critical lint errors that would prevent a release?
🔗 Related Resources
- [Detekt Expert Skill](../android-detekt-expert/SKILL.md)
- [Unit Testing Skill](../android-unit-testing/SKILL.md)
- [Gradle Expert Skill](../android-gradle-expert/SKILL.md)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: prasad-vennam
- Source: prasad-vennam/Awesome-Android-AI-Agent-Skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.