Agent skill
kotlin-composable-review
Strict technical code review for Kotlin Jetpack Compose. Analyzes @Composable functions for recomposition issues, stability violations, memory leaks, state management antipatterns, accessibility gaps, and performance problems.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/kotlin-composable-review
SKILL.md
Kotlin Composable Code Review
Strict technical code review skill for Jetpack Compose. Identifies bugs, performance issues, and architectural violations.
When to Use
- Reviewing any
@Composablefunction - Analyzing recomposition and stability issues
- Checking state management patterns
- Validating side effect usage
- Reviewing accessibility implementation
- Auditing memory leak potential
Review Categories
- Recomposition & Stability - Unstable parameters, inline lambdas
- State Management - Lifecycle-aware collection, state hoisting
- Side Effects - LaunchedEffect, DisposableEffect usage
- Memory Leaks - Context leaks, lambda captures
- LazyList - Keys, item stability
- Modifier Chain - Propagation, ordering
- Remember & Derivation - Expensive ops, derivedStateOf
- Accessibility - Semantics, touch targets
- Architecture - Route/Screen separation
- Preview Quality - State coverage, configurations
Severity Levels
| Level | Criteria |
|---|---|
| CRITICAL | Bugs, crashes, memory leaks, data loss |
| HIGH | Performance degradation, architectural violations |
| MEDIUM | Suboptimal patterns that scale poorly |
| LOW | Conventions, readability, minor improvements |
Verdict Criteria
| Verdict | Criteria |
|---|---|
| REJECT | Any CRITICAL, or 3+ HIGH |
| NEEDS_CHANGES | Any HIGH, or 3+ MEDIUM |
| APPROVED | No HIGH/CRITICAL, ≤2 MEDIUM |
References
references/review-checklist.md- Complete technical checklistreferences/architectural-patterns.md- Route/Screen, state patternsreferences/naming-conventions.md- File and function naming
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?