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.
npx skills add Desquared/agents-rules-skills --skill android-kotlin-api-design-reviewergit clone --depth 1 https://github.com/Desquared/agents-rules-skillsWrote 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.
[](https://agentmods.dev/skills/desquared/agents-rules-skills/android-kotlin-api-design-reviewer)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00537 |
| Opus 5.5 | $0.00018 | $0.00215 |
| Sonnet 5.5 | $0.00009 | $0.00107 |
| Haiku 4.5 | $0.00005 | $0.00054 |
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 3mo 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.
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, variablesUpperCamelCase: classes, interfaces, objectsUPPER_SNAKE_CASE: constants- Booleans:
is,has,can,shouldprefix - Collections: plural names (
users, notuserList)
Compose-specific Naming
- Composable functions returning
Unit: use PascalCase nouns (e.g.,UserProfileCard, notuserProfile) - 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
@JvmNamefor interop-friendly naming - Use backing properties (
_internalValue) for observed state - Consider type aliases for repeated complex function types
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.
- 3mo ago First seen · 69 lines · 46 tokens per session scan A c1ec0a8c4dfc
android-kotlin-api-design-reviewer is a skill published in the GitHub repository Desquared/agents-rules-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 46 tokens to every session and 537 once invoked, about $0.0002 per session on Opus 5.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.
android-kotlin-api-design-reviewer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| android-kotlin-api-design-reviewerDesquared/agents-rules-skills | Skill | 4 | 1mo ago | MIT | A | 46 | Claude Code, Codex |
| axiom-audit-codableCharlesWiltgen/Axiom | Skill | 1.3k | 22d ago | MIT | A | 32 | Codex |
| axiom-swift-simplifierCharlesWiltgen/Axiom | Skill | 1.3k | 22d ago | MIT | A | 34 | Codex |
| coding-best-practicesrshankras/claude-code-apple-skills | Skill | 918 | 22d ago | MIT | A | 55 | Claude Code |
| kotlin-concurrency-and-flowchrisbanes/skills | Skill | 1.2k | 3d ago | Apache-2.0 | A | 60 | Claude Code |
| kotlin-api-designchrisbanes/skills | Skill | 1.2k | 3d ago | Apache-2.0 | A | 46 | Claude Code |
| swift-code-reviewexistential-birds/beagle | Skill | 91 | today | Apache-2.0 | A | 47 | Claude Code, Codex |