android-kotlin-api-design-reviewer

android-kotlin-api-design-reviewer is a skill for Claude Code, Codex from Desquared/agents-rules-skills. It costs 46 tokens per session (537 once invoked), scanned A, original, MIT.

A review guide for checking whether Kotlin functions, classes, and public interfaces follow common Kotlin naming and design conventions. Kotlin is a programming language often used for Android apps.

In plain words
What is it for?
It is for reviewing reusable Kotlin components, library APIs, Android and Jetpack Compose names, boolean properties, collections, parameters, return types, and asynchronous functions.
Why use it?
It catches unclear names and awkward public interfaces before they make code harder to use or maintain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for reviewing reusable Kotlin components, library APIs, Android and Jetpack Compose names, boolean properties, collections, parameters, return types, and asynchronous functions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Desquared/agents-rules-skills --skill android-kotlin-api-design-reviewer
Clone the repo
git clone --depth 1 https://github.com/Desquared/agents-rules-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for android-kotlin-api-design-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer/github.svg)](https://agentmods.dev/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer)
Your own site
<a href="https://agentmods.dev/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer"><img src="https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for android-kotlin-api-design-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer"><img src="https://agentmods.dev/badge/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 537 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00537
Opus 5 $0.00023 $0.00269
Sonnet 5 $0.00009 $0.00107
Haiku 4.5 $0.00005 $0.00054

Measured 10d ago against content hash c1ec0a8c4dfc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

android-kotlin-api-design-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/android-kotlin-api-design-reviewer/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Kotlin API Design Review

Naming Rules

  • Clear at point of use
  • Omit needless words
  • lowerCamelCase: properties, functions, variables
  • UpperCamelCase: classes, interfaces, objects
  • UPPER_SNAKE_CASE: constants
  • Booleans: is, has, can, should prefix
  • Collections: plural names (users, not userList)

Compose-specific Naming

  • Composable functions returning Unit: use PascalCase nouns (e.g., UserProfileCard, not userProfile)
  • Avoid spaces and backticked identifiers in function names, especially in public APIs (discouraged by Kotlin conventions)

Common Issues

Issue Fix
var visible var isVisible
fun getData() fun getUserName()
var nameString var name
userList users
Composable named like regular function Rename to PascalCase noun (ProfileScreen)
Implicit return type in library Add explicit : String

Function Design

  • Named parameters for clarity beyond first param
  • Default parameters at end
  • Suspend functions for async operations
  • Extension functions for utility methods
  • Operator overloading when semantically appropriate
  • Prefer properties over parameterless functions when the operation is cheap and non-throwing
  • Use named arguments + trailing commas for multi-parameter calls in public APIs

Return Types

  • Nullable when null is meaningful
  • Result for failable operations
  • Flow for streams
  • sealed class for finite states
  • Explicitly declare return types in public library APIs (even if inferable)

Data Classes

  • Use for data transfer objects
  • Immutable by default (val over var)
  • Copy function for updates
  • Destructuring support

Public API / Library

  • Provide KDoc for all public members
  • Use @JvmName for interop-friendly naming
  • Use backing properties (_internalValue) for observed state
  • Consider type aliases for repeated complex function types

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 69 lines · 46 tokens per session scan A c1ec0a8c4dfc

Subscribe to this mod's changes

android-kotlin-api-design-reviewer is a skill published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 27d ago), licensed MIT. It adds 46 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

axiom-audit-codable

Use when the user mentions Codable review, JSON encoding/decoding issues, data serialization audit, or modernizing legacy code.

CharlesWiltgen/Axiom · 32 tokens

axiom-swift-simplifier

Use when the user wants to simplify Swift code, reduce boilerplate, or make Swift more readable and idiomatic without changing behavior.

CharlesWiltgen/Axiom · 34 tokens

kotlin-concurrency-and-flow

Use when writing or reviewing Kotlin coroutine scope ownership, raw Thread or Executor work, init launches, non-suspending launch APIs, runBlocking, cancellation, StateFlow, SharedFlow, Channel, stateIn, SharingStarted, state updates, or one-shot events.

chrisbanes/skills · 60 tokens

kotlin-api-design

Use when designing or reviewing Kotlin function ownership, member or extension functions, factories, single-field domain types, value classes, data classes, Kotlin Multiplatform expect/actual declarations, or platform service boundaries.

chrisbanes/skills · 46 tokens

coding-best-practices

Reviews Swift/iOS code for adherence to modern Swift idioms, Apple platform best practices, architecture patterns, and code quality standards. Use when user mentions best practices, code review, clean code, refactoring, or wants to improve code quality.

rshankras/claude-code-apple-skills · 55 tokens

adversarial-swift

Use this skill to gate Swift language code with a pass/fail adversarial review — a single blind reviewer subagent judges a diff or file set against 36 decidable rules covering concurrency (unresumed continuations, cancellation checks, async let, TaskGroup, @concurrent), property invariants (stored-derived state…

pproenca/dot-skills · 96 tokens