kaeawc/auto-mobile/android-gradlew

Claude Code and agent skill by kaeawc/auto-mobile

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Helper skill for Android-specific validation or build work in the android/ subdirectory; use it when another task needs Gradle wrapper commands run from android/.

Install

npx vskill@latest install kaeawc/auto-mobile/android-gradlew

SKILL.md

Android Gradle Wrapper

Run Android work from android/ via the Gradle wrapper. Never run Gradle tasks from the repo root.

Prerequisites

  • A new worktree needs android/local.properties copied from a working checkout. It is gitignored and Gradle cannot resolve the SDK without it. Never commit it.
  • Never read or print ~/.gradle/gradle.properties; it holds publishing credentials.

Running tasks

  • Default: bash scripts/android/gradlew_task.sh <task> [flags]. It works from any cwd, runs ./gradlew from android/ with the arguments unchanged, and returns Gradle's exit code. Combined stdout and stderr are shown and saved to scratch/gradlew-<UTC timestamp>-<pid>.log; the log path is printed to stderr before and after the run. -h or --help as the first argument prints usage.
  • Modes:
  • Plain (when build-brief is absent, CI is non-empty, or AUTOMOBILE_GRADLEW_NO_BUILD_BRIEF is non-empty): as above, full log shown and tee'd to scratch/.
  • build-brief (when build-brief is on PATH, CI is unset/empty and the opt-out is unset/empty): runs build-brief -- <args> from android/ with BUILD_BRIEF_LOG_DIR=<repo>/scratch. Only build-brief's summary reaches stdout (it prints the raw log path on failure); the wrapper adds no tee and, on a non-zero exit, prints the log directory to stderr. Exit code is Gradle's.
  • Opt out with AUTOMOBILE_GRADLEW_NO_BUILD_BRIEF=1 when you need the full Gradle output.
  • build-brief is optional and third-party. The owner installs it with Homebrew, pinned: brew install static-var/tap/build-brief (pinned version: <VERSION - owner fills in after installing>). Never use a curl | bash installer; agents must not install it.
  • Equivalent without the script: (cd android && ./gradlew <task>).
  • Use module-scoped tasks that match the request, for example :junit-runner:test, :playground:app:test or :auto-mobile-sdk:apiDump.
  • To reproduce CI's Detekt job run the type-resolved detektMain detektTest; a per-module :module:detekt run does not reproduce it.
  • Write long output to scratch/ (the script already does) and read excerpts instead of pasting full logs.

Related skills

  • prepush-android for the fast pre-push smoke check (scripts/prepush-android.sh).
  • validate and test for broader lint, build and test runs.
  • check-ci for exact-head CI logs and artifacts.

Treat this as a building-block skill for those, not as the primary workflow when the user asks for a broader task.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
52
Repository forks
7
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/kaeawc/auto-mobile/android-gradlew/badge)](https://verified-skill.com/skills/kaeawc/auto-mobile/android-gradlew)

Something wrong with this skill or its page? Tell us.