What problem does it solve?
It prevents Gradle build failures and performance/correctness regressions by reviewing Gradle task and plugin code for compliance with Spine and upstream best practices.
Core Features & Use Cases
- Spine Gradle task conformance checks: verifies every custom task sets
group = "spine" and a correct imperative description.
- Upstream Gradle best-practice enforcement: flags correctness-breaking patterns (e.g.,
Provider.get() during configuration, eager FileCollection/Configuration resolution, wrong output wiring).
- Focused read-only review scopes: covers
config repository buildSrc/ (with a carve-out for module.gradle.kts), Gradle scripts in the consuming project, and production code for Gradle plugins.
- Use Case: After you change build logic or add/update a Gradle plugin task, run this review to ensure tasks are cacheable, lazily configured, and correctly wired before you open a PR.
Quick Start
Run the gradle-review skill against your staged diff to get a categorized report of Must fix, Should fix, and Nit findings.