Skip to content
Agentmart
Submit a tool

android-code-review-expert

Use when performing a code review for Android pull requests, focusing on architecture, memory safety, and UI excellence.

Skill by prasad-vennam

IndexedMIT★ 11
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/prasad-vennam-android-code-review-expert

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when performing a code review for Android pull requests, focusing on architecture, memory safety, and UI excellence.

Use cases: design

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/android-code-review-expert

What's inside

Skill name
android-code-review-expert
Description
Use when performing a code review for Android pull requests, focusing on architecture, memory safety, and UI excellence.
License
MIT
Instructions
81 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Android Code Review Excellence 🧐🛡️

A rigorous framework for AI agents and developers to perform high-quality, professional Android code reviews.

## ⚡ When to Use

- **PR Review**: Analyzing a Pull Request for logic, style, and regressions.
- **Pre-commit Audit**: Self-checking code before pushing.
- **Architectural Check**: Ensuring new features follow the established team patterns.
- **Security Audit**: Spotting sensitive data exposure or insecure networking.
- **Performance Audit**: Detecting potential memory leaks or UI jank.

## 🏗️ Review Checklist

### 1. Architecture & Design

- [ ] **Clean Architecture**: Is logic properly separated into Domain/Data/Presentation?
- [ ] **State Flow**: Does the ViewModel expose `StateFlow`? Is state properly hoisted?
- [ ] **Dependency Injection**: Are dependencies injected via Hilt/Koin? No manual `new Class()` for dependencies.
- [ ] **Manifest Scaffolding**: Are required permissions (like `INTERNET` for Coil/Retrofit) actually defined? Is the `@HiltAndroidApp` class correctly designated in `AndroidManifest.xml` via `android:name`?
- [ ] **Type-Safe Navigation**: Is the app using Compose `NavHost` with Kotlin Serialization (type-safe routes) instead of anti-pattern manual state swapping?
- [ ] **Modularity**: Is the code placed in the correct module?

### 2. Jetpack Compose (UI)

- [ ] **Recomposition**: Are there expensive calculations inside `@Composable`? Use `remember`.
- [ ] **Previews**: Does the new component have `@Preview` for light/dark mode and accessibility?
- [ ] **Stability**: Are domain models marked `@Stable` or `@Immutable`?
- [ ] **Material 3**: Is the code using the theme's `MaterialTheme.colorScheme` instead of hardcoded hex values?
- [ ] **Theme Bridge**: If XML resources are used (e.g. `res/`), is the **Material Components XML Bridge** correctly set up in themes?

### 3. Stability & Networking

- [ ] **Error Handling**: Are network calls wrapped in `Result` or `try/catch` with proper UI feedback?
- [ ] **Coroutine Scopes**: Use `viewModelScope` for ViewModels and `lifecycleScope` for Fragments/Activities.
- [ ] **Flow Lifecycle**: Is `collectAsStateWithLifecycle()` used instead of base `collectAsState()`? (Critical for avoiding resource leaks when the app goes into the background).
- [ ] **Room TypeConverters**: If caching domain models with complex definitions (e.g. `LocalDateTime`, `List<String>`), did you verify a `@TypeConverter` is written and registered on the Database? ROOM WILL CRASH without this.

### 4. Performance & Memory

- [ ] **Memory Leaks**: Are there references to `Context` held in long-lived objects?
- [ ] **Lazy Lists**: Are `key` parameters provided for `items()` in `LazyColumn`/`LazyRow`?
- [ ] **Heavy Work**: Is heavy computation moved to `Dispatchers.Default`?

### 5. Security & Privacy

- [ ] **Sensitive Data**: Ensure NO passwords, keys, or PII are logged or stored in plain text.
- [ ] **Networking**: Is all communication over HTTPS? No `cleartextTraffic` allowed.
- [ ] **Permissions**: Is the app requesting minimum necessary permissions?

## 📜 Reviewer Best Practices

- **The "Why", Not Just the "What"**: Explain the reasoning behind a request (e.g., "Use `remember` here to prevent re-calculating on every frame").
- **Prioritize**: Distinguish between "Critical" (security, crashes) and "Nitpick" (formatting, naming).
- **Compliment**: Acknowledge good code, elegant solutions, and clear documentation.

## 🧪 Verification Commands (For Agents)

### Check Lint

  ```bash
  ./gradlew lintDebug
  ```

### Check Style

  ```bash
  ./gradlew ktlintCheck
  ```

### Run Logic Tests

  ```bash
  ./gradlew testDebugUnitTest
  ```

## 🔗 Related Resources
- [Google Official Review Guide](https://google.github.io/eng-practices/review/)
- [Lint & Quality Skill](../android-lint-and-quality/SKILL.md)

From prasad-vennam/Awesome-Android-AI-Agent-Skills, MIT.

More from prasad-vennam/Awesome-Android-AI-Agent-Skills

Signals

Stars
11
Forks
0
Open issues
0
Last commit (this folder)
Apr 1, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from prasad-vennam

Cite this page

android-code-review-expert skill. Agent Mart. https://agentmart.dev/skills/prasad-vennam-android-code-review-expert (last updated 2026-10-24)