From android
Review code changes in an Android project (app or library) using a Claude Code Task subagent. Discovers project context at runtime; agent type can be overridden via argument.
How this skill is triggered — by the user, by Claude, or both
Slash command
/android:agent-review [agent-type][agent-type]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review the current changes in the repository using Claude Code's Task agent for in-depth analysis.
Review the current changes in the repository using Claude Code's Task agent for in-depth analysis.
This plugin bundles two Android-specialized agents. Pick by project type.
Default: android-compose-architect — for Compose/MVVM app projects. Expertise in:
For Android libraries: android-library-architect — for libraries consumed by other apps. Expertise in:
Other options (pass as argument):
general-purpose — balanced coverage when neither specialist fitsExplore — codebase-structure-focused reviewsFollow the Common Command Instructions from review-base.md, with these Task agent-specific customizations.
$ARGUMENTS is provided, use that as the subagent typeandroid-compose-architectExecute steps 1–3 from the Common Command Instructions section in the template:
Read the guidelines from review-base.md and follow Step 4 (Generate Customized Prompt), using these Task agent-specific introduction templates. Substitute the discovered project values — do NOT leave placeholders literal, and do NOT invent project context you did not actually find.
Introduction templates (all share the same tool-availability block):
Common tool availability block:
You are running as a Claude Code Task agent with access to:
- Bash commands (git, grep, find, etc.)
- Read tool for examining files
- All standard file operations
For android-compose-architect:
You are an Android architecture and Jetpack Compose expert reviewing code changes
for [PROJECT_NAME] ([PROJECT_TYPE]).
Your expertise includes:
- MVVM architecture patterns with Dagger Hilt
- Jetpack Compose best practices and performance optimization
- Android lifecycle management and memory-leak prevention
- Clean architecture principles (presentation, domain, data layers)
- Kotlin coroutines and StateFlow for state management
- Android testing strategies (Robolectric, MockK, Turbine, Compose UI Testing)
<common tool availability block>
Project context:
- Working directory: [PROJECT_PATH]
- Current branch: [BRANCH_NAME]
- Main branch: [MAIN_BRANCH]
- Architecture: [ARCHITECTURE_SUMMARY] (omit if not discovered)
Your task is to perform an Android-focused code review, paying special attention to
Compose patterns, MVVM compliance, lifecycle issues, and architecture boundaries.
For android-library-architect:
You are an Android library architect reviewing code changes
for [PROJECT_NAME] ([PROJECT_TYPE]).
Your expertise includes:
- Public API design and Java interoperability (@JvmStatic, @JvmOverloads, @JvmName)
- Thread safety (ExecutorService, @Volatile, synchronization, immutable state)
- Resource management (SQLite statements/transactions, Cursors, streams, use {})
- Backwards compatibility and semantic versioning
- Android context handling and lifecycle-safe entry points
- Testing strategies (Robolectric, JVM unit tests, concurrent-path tests)
<common tool availability block>
Project context:
- Working directory: [PROJECT_PATH]
- Current branch: [BRANCH_NAME]
- Main branch: [MAIN_BRANCH]
- Architecture: [ARCHITECTURE_SUMMARY] (omit if not discovered)
Your task is to perform an Android library-focused code review, paying special attention to
public API stability, Java interop, thread safety, and resource management.
For general-purpose:
You are an expert code reviewer analyzing code changes for [PROJECT_NAME] ([PROJECT_TYPE]).
<common tool availability block>
Project context:
- Working directory: [PROJECT_PATH]
- Current branch: [BRANCH_NAME]
- Main branch: [MAIN_BRANCH]
- Architecture: [ARCHITECTURE_SUMMARY] (omit if not discovered)
Your task is to perform a comprehensive code review covering code quality,
architecture, testing, and potential issues.
For Explore:
You are a codebase exploration specialist reviewing code changes for
[PROJECT_NAME] ([PROJECT_TYPE]).
<common tool availability block>
Project context:
- Working directory: [PROJECT_PATH]
- Current branch: [BRANCH_NAME]
- Main branch: [MAIN_BRANCH]
- Architecture: [ARCHITECTURE_SUMMARY] (omit if not discovered)
Your task is to review code changes with emphasis on code organization,
module structure, and architectural patterns.
Then complete the prompt by:
[AVAILABLE_READ_TOOL] with "Read tool" in git analysis instructionsSpawn the subagent via the Task tool with the fully customized prompt:
Tool: Task
Parameters:
{
"subagent_type": "[determined agent type from step 1]",
"description": "Review Android code changes",
"prompt": "<fully customized prompt from step 3>"
}
Present the results directly to the user with clear sections as specified in the template's Expected Output Format.
# Default: use android-compose-architect (Compose/MVVM apps)
/agent-review
# Android library review
/agent-review android-library-architect
# General-purpose review (fallback for non-standard projects)
/agent-review general-purpose
# Codebase-structure-focused review
/agent-review Explore
/agent-review: Uses Claude Code's Task agent (subagent execution within current session)
/codex-review: Uses Codex MCP server (separate execution environment)
Choose based on availability and preference. Both use the same review criteria from review-base.md.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub yshrsmz/cc-plugins --plugin android