/kalera-claude-code:gradle-buildfrom kalera-claude-code
Fixes Gradle build errors for Android and Kotlin Multiplatform projects by detecting configuration, parsing errors, and applying targeted fixes in a loop.
Ships in kalera-claude-code. Installing the plugin adds it to Claude Code.
Incrementally fix Gradle build and compilation errors for Android and Kotlin Multiplatform projects.
Identify the project type and run the appropriate build:
| Indicator | Build Command |
|---|---|
build.gradle.kts + composeApp/ (KMP) | ./gradlew composeApp:compileKotlinMetadata 2>&1 |
build.gradle.kts + app/ (Android) | ./gradlew app:compileDebugKotlin 2>&1 |
settings.gradle.kts with modules | ./gradlew assemble 2>&1 |
| Detekt configured | ./gradlew detekt 2>&1 |
Also check gradle.properties and local.properties for configuration.
For each error:
build.gradle.ktsStop and ask the user if:
Report:
| Error | Fix |
|---|---|
Unresolved reference in commonMain | Check if the dependency is in commonMain.dependencies {} |
| Expect declaration without actual | Add actual implementation in each platform source set |
| Compose compiler version mismatch | Align Kotlin and Compose compiler versions in libs.versions.toml |
| Duplicate class | Check for conflicting dependencies with ./gradlew dependencies |
| KSP error | Run ./gradlew kspCommonMainKotlinMetadata to regenerate |
| Configuration cache issue | Check for non-serializable task inputs |
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub kalera-labs/kalera-claude-code --plugin kalera-claude-code50 commands in this plugin
/context-budgetContext Budget Optimizer (Legacy Shim)Legacy slash-entry shim for the context-budget skill. Prefer the skill directly./cpp-buildC++ Build and FixFix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes./cpp-reviewC++ Code ReviewComprehensive C++ code review for memory safety, modern C++ idioms, concurrency, and security. Invokes the cpp-reviewer agent./cpp-testC++ TDD CommandEnforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov./flutter-buildFlutter Build and FixFix Dart analyzer errors and Flutter build failures incrementally. Invokes the dart-build-resolver agent for minimal, surgical fixes./flutter-reviewFlutter Code ReviewReview Flutter/Dart code for idiomatic patterns, widget best practices, state management, performance, accessibility, and security. Invokes the flutter-reviewer agent.97 plugins ship this exact command · first indexed Mar 11, 2026
Other plugins' commands for the same job