
Kotlin quality
Reviews Android Kotlin code for coroutines, Flow, null safety, type design and collections
Kotlin quality is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 21
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Kotlin quality
This skill guides an agent through a structured quality review of Kotlin code in Android projects. It covers five areas: coroutine structured concurrency, Flow operators and collection lifecycle, null handling, type design with sealed classes, data classes and value objects, and collection and functional patterns.
The review runs in phases. The agent first inspects the build file and source tree to decide which categories apply, then scans each applicable area for common anti-patterns, reads the matching files to confirm them, and produces a report of findings. Each finding carries a severity, a file location and a concrete fix. The skill ships reference notes for each category with patterns and rationale, and it loads them on demand.
No scripts are included. The skill works through the agent's own search and file-reading tools and expects an Android project written in Kotlin as input.
When your agent uses it
Kotlin code quality review for Android projects. Covers coroutine structured concurrency, Flow operators, null safety, type design (sealed classes, data classes, value objects), and collection/functional patterns. Use when: reviewing Kotlin code in PRs, auditing coroutine usage, checking null safety patterns, evaluating type design decisions, or improving code readability and correctness.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 6 files (29 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the android-review plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add liuyi0808/android-review
/plugin install android-review@android-reviewOr copy only this skill to ~/.claude/skills/kotlin-quality:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kotlin-quality &&
cp -R "$tmp/skills/kotlin-quality" ~/.claude/skills/kotlin-quality &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/kotlin-quality inside it instead.
Copy the skill folder to ~/.agents/skills/kotlin-quality to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kotlin-quality &&
cp -R "$tmp/skills/kotlin-quality" ~/.agents/skills/kotlin-quality &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/kotlin-quality inside it instead.
Copy the skill folder to ~/.cursor/skills/kotlin-quality to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kotlin-quality &&
cp -R "$tmp/skills/kotlin-quality" ~/.cursor/skills/kotlin-quality &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/kotlin-quality inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/liuyi0808/android-review.git --path skills/kotlin-qualityOr copy the folder to ~/.gemini/skills/kotlin-quality yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kotlin-quality:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/liuyi0808/android-review.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kotlin-quality &&
cp -R "$tmp/skills/kotlin-quality" ~/.copilot/skills/kotlin-quality &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/kotlin-quality inside it instead.
Get the folder:
git clone --depth 1 https://github.com/liuyi0808/android-review.gitThen copy android-review/skills/kotlin-quality into your agent's skills folder as kotlin-quality. Agents that support SKILL.md read one folder per skill.
What it does
- Coroutine lifecycle checks
- Flags misuse of GlobalScope, unhandled launch exceptions, unawaited async results and wrong dispatchers.
- Flow collection review
- Checks lifecycle-aware collection, mutable flow exposure, operator ordering and stateIn versus shareIn choices.
- Null safety audit
- Finds risky non-null assertions, misused lateinit, deep safe-call chains and unsafe casts.
- Type design guidance
- Reviews sealed class exhaustiveness, mutable data class fields, unnamed tuples and primitive wrappers.
- Collection pattern checks
- Looks for side effects in map calls, leaked mutable collections and chains better served by sequences.
- Structured review report
- Groups findings by category and severity with file locations and concrete fixes.
Good for
- Review the Kotlin changes in a pull request for coroutine mistakes
- Audit how an Android app collects Flows from its UI layer
- Find risky !! operators and lateinit fields in a Kotlin codebase
- Check whether sealed class hierarchies are handled exhaustively
- Improve readability of collection-heavy Kotlin functions
Kotlin quality FAQ
Which project does Kotlin quality apply to?
It is written for Android projects using Kotlin. The triage step skips coroutine checks when kotlinx-coroutines is not a dependency and Flow checks when the source does not import kotlinx.coroutines.flow.
Does Kotlin quality change my code?
The skill describes a review process that produces findings with suggested fixes. Its instructions do not direct the agent to edit files.
Does Kotlin quality need any scripts or extra tools?
No scripts are included. It relies on the agent searching and reading source files.
Where do architecture or Compose topics go?
The skill points to separate skills for architecture, Compose UI and performance rather than covering them itself.
How do I install Kotlin quality in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/kotlin-quality to use it in all your projects, or to .claude/skills/kotlin-quality in one project. Or install the android-review plugin, which includes it: /plugin marketplace add liuyi0808/android-review, then /plugin install android-review@android-review.
Does Kotlin quality run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Kotlin quality?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Kotlin quality?
The closest alternatives to Kotlin quality are Performance, Compose UI, Thermo nuclear code quality review, Code review and quality and Code review.
Where this comes from
- Description: from the skill's own SKILL.md.
More from liuyi0808/android-review

Guides an agent to structure Android apps with Clean Architecture, MVVM/MVI and Hilt
- Open source
- 21 GitHub stars
- Developer tools

Guides and reviews Jetpack Compose UI code with Material 3 patterns and accessibility
- Open source
- 21 GitHub stars
- Developer tools

Audits Android Kotlin/Compose apps for performance problems and reports prioritized fixes
- Open source
- 21 GitHub stars
- Developer tools

Audits an Android app's Google Play submission for personal loan compliance and privacy
- Open source
- 21 GitHub stars
- Legal and government

Audits Android app code for security flaws against the OWASP MASVS v2.0 standard
- Open source
- 21 GitHub stars
- Security



