gradle-build-performance
Skill by livekit
Gradle Build Performance is a skill for debugging and speeding up slow Android and Gradle builds. It guides the assistant through baselines, build scans, bottleneck analysis and 12 optimization patterns, plus CI/CD cache setup.
Install gradle-build-performance
Built from the published package, never by AI.
git clone --depth 1 https://github.com/livekit/client-sdk-android /tmp/client-sdk-android && mkdir -p ~/.claude/skills && cp -r /tmp/client-sdk-android/.agent/skills/gradle-build-performance ~/.claude/skills/gradle-build-performanceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install gradle-build-performance in Claude Code
git clone --depth 1 https://github.com/livekit/client-sdk-android /tmp/client-sdk-android && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/client-sdk-android/.agent/skills/gradle-build-performance ~/.gemini/antigravity-cli/skills/gradle-build-performanceAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install gradle-build-performance in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Gradle Build Performance is a skill that helps an AI assistant diagnose and speed up slow Android and Gradle builds. It follows a workflow that measures clean and incremental baseline times, generates a build scan with the --scan flag, and identifies whether time is lost in configuration, execution or dependency resolution. It then applies one change at a time and compares the results against the baseline.
The skill covers 12 optimization patterns, including configuration cache, build cache, parallel execution, JVM heap tuning, migrating kapt to KSP, pinning dependency versions and lazy task registration. It also lists common causes of slow configuration, slow compilation and cache misses, along with CI/CD guidance for remote build caches and Develocity. It is aimed at Android developers and teams whose local builds or CI pipelines have become slow.
Written from the project's SKILL.md and checked against it.
What it can do
- Baseline measurementMeasures clean and incremental build times before any change is made.
- Build scan analysisGenerates a build scan with --scan and reads the build timeline to find slow phases.
- Bottleneck identificationSorts slowdowns into configuration, execution or dependency resolution issues.
- Configuration cache setupShows how to enable the Gradle configuration cache for AGP 8.0 and later.
- Build and parallel settingsCovers build cache, parallel execution and JVM heap settings in gradle.properties.
- KSP migration guidanceExplains how to move annotation processing from kapt to KSP.
- Build hygiene checksFlags dynamic dependency versions, configuration-time I/O and eager task creation.
- CI/CD cache configurationShows a remote build cache setup and a Develocity build scan configuration.
What you need
- Android project built with Gradle
- Android Gradle Plugin 8.0 or later for some settings
- Android Studio for the IDE settings described
Try asking
- My Android builds are slow, how can I speed them up?
- How do I analyze a Gradle build scan for my project?
- Why is kapt so slow in my Gradle build, and can I move to KSP?
Good to know
- Several examples depend on version, such as AGP 8.0+ and Develocity 3.17.
- The remote cache URL in the example is a placeholder (cache.example.com).
- The source marks the Android Studio 'Configure on demand' setting as deprecated.
- The 80% build cache hit rate target is a checklist guideline, not a fixed requirement.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agent/skills/gradle-build-performance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
.openskills.json291 B -
SKILL.md8 KB
Alternatives to gradle-build-performance
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
gradle-build-performance: common questions
What should I measure before changing my Gradle build?
The skill starts with clean and incremental build times as a baseline. It then generates a build scan with ./gradlew assembleDebug --scan to see where time is spent.
Does the skill recommend changing many settings at once?
No. The workflow says to apply one optimization at a time and then measure the improvement against the baseline.
Why does the skill recommend KSP over kapt?
The source states that KSP is 2x faster than kapt for Kotlin. It shows how to change kapt dependency declarations to ksp.
How do I install gradle-build-performance?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gradle-build-performance free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gradle-build-performance safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gradle-build-performance?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
