/ecc:kotlin-reviewfrom ecc
Runs a comprehensive Kotlin code review covering idiomatic patterns, null safety, coroutine safety, and security. Produces a categorized report with severity levels and automated static analysis results.
Ships in ecc. Installing the plugin adds it to Claude Code.
This command invokes the kotlin-reviewer agent for comprehensive Kotlin-specific code review.
.kt and .kts files via git diff./gradlew build, detekt, ktlintCheck!! usage, platform type handling, unsafe castsUse /kotlin-review when:
!! without justificationwhen on sealed types# Build check
./gradlew build
# Static analysis
./gradlew detekt
# Formatting check
./gradlew ktlintCheck
# Tests
./gradlew test
User: /kotlin-review
Agent:
# Kotlin Code Review Report
## Files Reviewed
- src/main/kotlin/com/example/service/UserService.kt (modified)
- src/main/kotlin/com/example/routes/UserRoutes.kt (modified)
## Static Analysis Results
✓ Build: Successful
✓ detekt: No issues
WARNING: ktlint: 2 formatting warnings
## Issues Found
[CRITICAL] Force-Unwrap Null Safety
File: src/main/kotlin/com/example/service/UserService.kt:28
Issue: Using !! on nullable repository result
```kotlin
val user = repository.findById(id)!! // NPE risk
```
Fix: Use safe call with error handling
```kotlin
val user = repository.findById(id)
?: throw UserNotFoundException("User $id not found")
```
[HIGH] GlobalScope Usage
File: src/main/kotlin/com/example/routes/UserRoutes.kt:45
Issue: Using GlobalScope breaks structured concurrency
```kotlin
GlobalScope.launch {
notificationService.sendWelcome(user)
}
```
Fix: Use the call's coroutine scope
```kotlin
launch {
notificationService.sendWelcome(user)
}
```
## Summary
- CRITICAL: 1
- HIGH: 1
- MEDIUM: 0
Recommendation: FAIL: Block merge until CRITICAL issue is fixed
| Status | Condition |
|---|---|
| PASS: Approve | No CRITICAL or HIGH issues |
| WARNING: Warning | Only MEDIUM issues (merge with caution) |
| FAIL: Block | CRITICAL or HIGH issues found |
/kotlin-test first to ensure tests pass/kotlin-build if build errors occur/kotlin-review before committing/code-review for non-Kotlin-specific concernsagents/kotlin-reviewer.mdskills/kotlin-patterns/, skills/kotlin-testing/What the command file sets; muted values are Claude Code's defaults
kotlin, code-review, static-analysis, null-safety, coroutines
7-day visitors to each command page
94 commands in this plugin
/asideAside CommandAnswer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering./auto-updateAuto UpdatePull the latest ECC repo changes and reinstall the current managed targets./build-fixBuild and FixDetect the project build system and incrementally fix build/type errors with minimal safe changes.npx claudepluginhub krismithreddy12/ecc --plugin ecc78 plugins ship this exact command · first indexed Mar 30, 2026
Showing 6 of 78 plugins, one per repository first
Other plugins' commands for the same job