Run comprehensive checks (ktlint, detekt, tests, build) on the entire project and cleanup Gradle daemons. Use before committing, creating PRs, or validating changes.
This skill runs all quality checks and builds to ensure the project is in a healthy state.
Run the following commands sequentially:
# Step 1: ktlint check
echo "Running ktlint..."
./gradlew ktlintCheck
# Step 2: detekt (frontend only due to Kotlin version compatibility)
echo "Running detekt..."
./gradlew detektMetadataCommonMain
# Step 3: Run tests
echo "Running tests..."
./gradlew test
# Step 4: Build project
echo "Building project..."
./gradlew build
# Step 5: Cleanup
echo "Cleaning up Gradle daemons..."
./gradlew --stop
./gradlew --stop cleanupProvide a summary table:
✅ ktlintCheck - PASSED
✅ detekt - PASSED
❌ test - FAILED (3 tests failed)
✅ build - PASSED
Overall: FAILED (1/4 checks failed)
If any check fails, provide details: