Agent skill

Kotlin Android Standards

by bladeofgod in bladeofgod/flutter-ai-harness

适用:编写或审查 Android Kotlin Native Module、Bridge Adapter、Host 接线、Manifest、Gradle 和原生 UI。不适用:Swift/iOS、Dart Client 或 Wire Contract 设计。触发词:Kotlin、Android、Gradle、Manifest、Coroutine、Flow、CameraX、Activity。

MITAuto-check passedMobile

Install Kotlin Android Standards

skills CLI
$ npx skills add bladeofgod/flutter-ai-harness --skill kotlin-android-standards -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install bladeofgod/flutter-ai-harness kotlin-android-standards --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/bladeofgod/flutter-ai-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/kotlin-android-standards .claude/skills/kotlin-android-standards && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kotlin-android-standards
GitHub stars
116
Token cost
~352 tokens
SKILL.md length
101 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

适用:编写或审查 Android Kotlin Native Module、Bridge Adapter、Host 接线、Manifest、Gradle 和原生 UI。不适用:Swift/iOS、Dart Client 或 Wire Contract 设计。触发词:Kotlin、Android、Gradle、Manifest、Coroutine、Flow、CameraX、Activity。

  • Tasks that involve Android development
  • SKILL.md covers API 与边界, 并发与生命周期, Android 工程 and 验证
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Kotlin Android Standards is an agent skill from bladeofgod/flutter-ai-harness. 适用:编写或审查 Android Kotlin Native Module、Bridge Adapter、Host 接线、Manifest、Gradle 和原生 UI。不适用:Swift/iOS、Dart Client 或 Wire Contract 设计。触发词:Kotlin、Android、Gradle、Manifest、Coroutine、Flow、CameraX、Activity。

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Android development. It works with Android, Kotlin, Gradle and Dart. The repository describes itself as: An AI-native engineering harness for production Flutter and hybrid mobile app repositories. The licence is MIT.

When your agent uses it

  • Tasks that involve Android development

Example prompts

  • “/kotlin-android-standards”

What it can do on your machine

Read from SKILL.md and the folder at commit 9f1a1ca. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kotlin Android Standards loads about 352 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 101 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~352

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from bladeofgod/flutter-ai-harness at commit 9f1a1ca, republished under its MIT licence (© bladeofgod). 101 words, ~352 tokens.

Download SKILL.mdSave it as .claude/skills/kotlin-android-standards/SKILL.md (or your agent's skills folder).
name
kotlin-android-standards
description
适用:编写或审查 Android Kotlin Native Module、Bridge Adapter、Host 接线、Manifest、Gradle 和原生 UI。不适用:Swift/iOS、Dart Client 或 Wire Contract 设计。触发词:Kotlin、Android、Gradle、Manifest、Coroutine、Flow、CameraX、Activity。
paths
app/native/android/**, app/apps/*/android/**, app/packages/*/android/**

Kotlin / Android 编码规范

API 与边界

  • 默认使用最小可见性;只让真实消费者需要的类型进入 public API。
  • 公共 API 使用非空、带类型的 Kotlin Model 和稳定错误,不暴露 Flutter、Wire Map、Host 类型或不必要的 Android SDK 对象。
  • 使用构造函数注入协作者、CoroutineDispatcher、Clock 和 Framework Wrapper;生产代码 不直接查找全局依赖。
  • Native Module 不 import Flutter;Flutter 类型、Channel DTO 和错误映射只留在 Bridge Adapter。
  • 避免 !!、平台类型扩散和宽泛 Any;在系统或 Java 边界立即完成空值和类型校验。

并发与生命周期

  • 使用由明确所有者提供的 CoroutineScope 和结构化并发;不创建 GlobalScope 或无所有者任务。
  • 注入 I/O、CPU 和测试 Dispatcher;只在 Android UI/System API 要求时切到 Main Dispatcher。
  • Flow 明确冷/热语义、重放策略和收集生命周期;UI 收集绑定可见生命周期并可取消。
  • 取消必须继续传播,不把 CancellationException 映射成普通失败。
  • Activity、Fragment、Service、Engine detach 和配置变化时,资源所有者必须确定地停止并释放。
  • close、stop、cancel 和 detach 可重复调用,并覆盖并发竞态。

Android 工程

  • Manifest、权限和组件声明保持最小;导出组件、Intent 和 URI 输入必须显式验证。
  • Native Module 的 Gradle 依赖声明在模块自身,Bridge Adapter 只声明对 Module 的 project dependency。
  • UI 状态由单一所有者管理;不得在 View/Composable 中启动无法取消的能力任务。
  • 底层异常可以保留为内部 cause,对外只暴露稳定、可测试且不含敏感详情的错误。

验证

运行 Kotlin 单元测试和受影响 Gradle 构建。依赖相机、权限对话框或设备硬件的行为必须单独 列为模拟器/真机验证,不能用 Fake 结果代替。

© bladeofgod, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/kotlin-android-standards of bladeofgod/flutter-ai-harness.

Open the folder on GitHubat commit 9f1a1ca

Compare with similar skills

Kotlin Android Standards next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kotlin Android Standards compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kotlin Android Standards this skillbladeofgod/flutter-ai-harness116—~352Automated safety check: PassMIT
Compose Multiplatformericrisco/rsc-harness174—~2.7kAutomated safety check: PassMIT
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Composewebview Developmentparkwoocheol/compose-webview103—~1.3kAutomated safety check: PassMIT
Upgrade React NativeShopify/flash-list7.2k—~1.9kAutomated safety check: PassMIT

Similar skills

  • Compose Multiplatform

    ericrisco/rsc-harness

    A skill your agent uses when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform…

    174 GitHub stars~2.7k tokensUpdated 2 days ago
    MobileAuto-check passed
  • Claude Android Ninja

    Drjacky/claude-android-ninja

    Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

    124 GitHub stars~5.2k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Expo Brownfield Integration

    mweinbach/agent-coworker

    Helps add Expo and React Native to an existing native iOS or Android app, and choose between a prebuilt AAR or XCFramework and a fully integrated build.

    156 GitHub starsUsed in 2 repos~900 tokens
    MobileAuto-check: notes
  • Composewebview Development

    parkwoocheol/compose-webview

    Builds, tests, and formats ComposeWebView multiplatform library.

    103 GitHub stars~1.3k tokensUpdated 1 mo ago
    MobileAuto-check passed
  • Upgrade React Native

    Shopify/flash-list

    Official

    Upgrade the React Native fixture app to a new version. An agent skill from Shopify/flash-list.

    7.2k GitHub stars~1.9k tokensUpdated 8 days ago
    MobileAuto-check passed
  • Platform Sync

    brim-borium/spotify_sdk

    Synchronize method channels and event streams across Dart, Android (Kotlin), iOS (Swift), and Web.

    166 GitHub stars~456 tokensUpdated yesterday
    MobileAuto-check passed

More from bladeofgod/flutter-ai-harness

All 11 skills in this repo
  • Getx Patterns

    bladeofgod/flutter-ai-harness

    适用:代码使用 GetxController、GetxService、Rx、Obx、GetBuilder、Get.find、Bindings 或 Worker。不适用:GetX 路由、Dialog、Snackbar,或 Controller 内隐式查找 API。触发词:GetX、Obx、.obs、Rx、Get.find、GetxService、Worker、Binding。

    116 GitHub stars~462 tokensUpdated 1 mo ago
    Auto-check passed
  • UI Behavior Spec

    bladeofgod/flutter-ai-harness

    适用:根据已批准任务、产品规则、原型或 Figma 输入生成、审计或执行 Version 1 UI 行为 Spec。不适用:替代产品决策、实现 UI、操作系统原生界面或探索未定义流程。触发词:UI Spec、行为契约、plan-spec、spec-writer、spec-auditor、app-operator、Marionette 验收。

    116 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Flutter Debug Runtime

    bladeofgod/flutter-ai-harness

    适用:在 App Operator 或 Marionette 验证前,为 Android/iOS 构建、安装并启动 Flutter Debug App,获取 VM Service URI。不适用:Release 构建、签名配置、系统权限自动化、账号登录或测试数据准备。触发词:flutter run、Debug App、设备安装、VM Service URI、App Operator 前置环境。

    116 GitHub stars~274 tokensUpdated 1 mo ago
    Auto-check passed
  • Dart Coding Standards

    bladeofgod/flutter-ai-harness

    适用:编写或审查 Dart/Flutter 生产代码,尤其是 Controller、Service、Stream、异步任务和依赖注入。不适用:Kotlin、Swift 或生成代码规范。触发词:Dart、Controller、Service、StreamSubscription、unawaited、dynamic、DI、重构。

    116 GitHub stars~228 tokensUpdated 1 mo ago
    Auto-check passed
  • Figma To Flutter

    bladeofgod/flutter-ai-harness

    适用:读取 Figma 或根据节点实现 Flutter UI,包括 Token 反查、Auto Layout、组件 Variant、Asset 和视觉验证。不适用:替代产品决策,或从像素推断设计稿不可见的数据行为。触发词:Figma URL、node-id、design-to-code、视觉还原、Auto Layout、design token。

    116 GitHub stars~270 tokensUpdated 1 mo ago
    Auto-check passed
  • Go Router

    bladeofgod/flutter-ai-harness

    适用:新增 Route、Redirect、ShellRoute/StatefulShellRoute、DeepLink、路由参数、Observer 或 Route 级 Controller 装配。不适用:GetX 导航或没有明确兼容边界的任意 Navigator Stack。触发词:GoRouter、GoRoute、redirect、deep link、shell…

    116 GitHub stars~295 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Kotlin Android Standards

What does Kotlin Android Standards do?

适用:编写或审查 Android Kotlin Native Module、Bridge Adapter、Host 接线、Manifest、Gradle 和原生 UI。不适用:Swift/iOS、Dart Client 或 Wire Contract 设计。触发词:Kotlin、Android、Gradle、Manifest、Coroutine、Flow、CameraX、Activity。. Kotlin Android Standards is an agent skill from bladeofgod/flutter-ai-harness.

When should I use Kotlin Android Standards?

Kotlin Android Standards fits situations like: tasks that involve Android development.

How do I install Kotlin Android Standards in Claude Code?

Run `npx skills add bladeofgod/flutter-ai-harness --skill kotlin-android-standards -a claude-code`. Or copy the skill folder (.claude/skills/kotlin-android-standards in bladeofgod/flutter-ai-harness) into .claude/skills/kotlin-android-standards in your project. Claude Code loads it when a task matches its description.

How do I install Kotlin Android Standards in Codex?

Run `npx skills add bladeofgod/flutter-ai-harness --skill kotlin-android-standards -a codex`. Or copy the skill folder (.claude/skills/kotlin-android-standards in bladeofgod/flutter-ai-harness) into .agents/skills/kotlin-android-standards in your project. Codex loads it when a task matches its description.

Can I use Kotlin Android Standards in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bladeofgod/flutter-ai-harness --skill kotlin-android-standards -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kotlin-android-standards, .gemini/skills/kotlin-android-standards, .github/skills/kotlin-android-standards and .opencode/skills/kotlin-android-standards in your project.

What does Kotlin Android Standards need to run?

SKILL.md names no scripts, command-line tools or credentials: Kotlin Android Standards is instructions for the agent only.

Does Kotlin Android Standards access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kotlin Android Standards safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kotlin Android Standards use?

Kotlin Android Standards is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kotlin Android Standards use?

About 352 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kotlin Android Standards?

Skills that share tags, products or a category with Kotlin Android Standards: Compose Multiplatform (ericrisco/rsc-harness, 174 stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars), Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars) and Composewebview Development (parkwoocheol/compose-webview, 103 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kotlin Android Standards?

bladeofgod (a GitHub user) maintains it in bladeofgod/flutter-ai-harness, which has 116 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 7, 2026.

Source: bladeofgod/flutter-ai-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.