Agent skill

Native Testing Strategy

by bladeofgod in bladeofgod/flutter-ai-harness

适用:设计或审查 Kotlin/Swift 原生模块、Bridge Adapter、Host 编译、模拟器/设备和系统能力验证。不适用:纯 Dart/Flutter 测试或用 Fake 代替相机和权限真机验证。触发词:JUnit、XCTest、Robolectric、instrumented test、Swift Testing、Framework Fake、Gradle…

MITAuto-check passedMobile

Install Native Testing Strategy

skills CLI
$ npx skills add bladeofgod/flutter-ai-harness --skill native-testing-strategy -a claude-code

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

GitHub CLI
$ gh skill install bladeofgod/flutter-ai-harness native-testing-strategy --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/native-testing-strategy .claude/skills/native-testing-strategy && 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
native-testing-strategy
GitHub stars
116
Token cost
~345 tokens
SKILL.md length
69 words
Files
1
Skills in repo
11
Repo updated
First seen
Licence
MIT

At a glance

适用:设计或审查 Kotlin/Swift 原生模块、Bridge Adapter、Host 编译、模拟器/设备和系统能力验证。不适用:纯 Dart/Flutter 测试或用 Fake 代替相机和权限真机验证。触发词:JUnit、XCTest、Robolectric、instrumented test、Swift Testing、Framework Fake、Gradle…

  • Works in 6 steps: 纯单元测试:状态机、值类型、错误、取消、并发和资源所有权;不启动 Flutter… → Framework Fake:把… → Bridge Adapter 测试:使用 Native Module Fake… → …
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 选择证明层级 and 规则
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Native Testing Strategy is an agent skill from bladeofgod/flutter-ai-harness. 适用:设计或审查 Kotlin/Swift 原生模块、Bridge Adapter、Host 编译、模拟器/设备和系统能力验证。不适用:纯 Dart/Flutter 测试或用 Fake 代替相机和权限真机验证。触发词:JUnit、XCTest、Robolectric、instrumented test、Swift Testing、Framework Fake、Gradle test、xcodebuild、模拟器、真机。

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 Cross-platform mobile apps, iOS development and Test strategy. It works with Xcode, Gradle, Flutter and JUnit. 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 Cross-platform mobile apps
  • Tasks that involve iOS development
  • Tasks that involve Test strategy

Example prompts

  • “/native-testing-strategy”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. 纯单元测试:状态机、值类型、错误、取消、并发和资源所有权;不启动 Flutter 或系统 UI。
  2. Framework Fake:把 Camera、文件、Clock、Dispatcher/Executor 等平台边界包在窄接口后,
  3. Bridge Adapter 测试:使用 Native Module Fake 验证 Wire/Native 映射、线程切换、listener 和 detach。
  4. Host 编译:用 Gradle 或 Xcode/SwiftPM 构建真实依赖图,证明 Module、Adapter、注册和平台配置可解析。
  5. 模拟器/设备测试:验证 Activity/Scene 生命周期、平台线程、配置变化及支持的系统交互。
  6. 真机系统能力:相机、麦克风、系统权限、硬件中断和性能必须在明确设备上留证。

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

Native Testing Strategy loads about 345 tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 69 words of instructions outside code blocks.

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

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). 69 words, ~345 tokens.

Download SKILL.mdSave it as .claude/skills/native-testing-strategy/SKILL.md (or your agent's skills folder).
name
native-testing-strategy
description
适用:设计或审查 Kotlin/Swift 原生模块、Bridge Adapter、Host 编译、模拟器/设备和系统能力验证。不适用:纯 Dart/Flutter 测试或用 Fake 代替相机和权限真机验证。触发词:JUnit、XCTest、Robolectric、instrumented test、Swift Testing、Framework Fake、Gradle test、xcodebuild、模拟器、真机。
paths
app/native/android/**/src/test/**, app/native/android/**/src/androidTest/**, app/apps/*/android/**/src/test/**, app/apps/*/android/**/src/androidTest/**…

原生测试策略

选择证明层级

  1. 纯单元测试:状态机、值类型、错误、取消、并发和资源所有权;不启动 Flutter 或系统 UI。
  2. Framework Fake:把 Camera、文件、Clock、Dispatcher/Executor 等平台边界包在窄接口后, 确定性验证模块编排;Fake 不是系统能力验证。
  3. Bridge Adapter 测试:使用 Native Module Fake 验证 Wire/Native 映射、线程切换、listener 和 detach。
  4. Host 编译:用 Gradle 或 Xcode/SwiftPM 构建真实依赖图,证明 Module、Adapter、注册和平台配置可解析。
  5. 模拟器/设备测试:验证 Activity/Scene 生命周期、平台线程、配置变化及支持的系统交互。
  6. 真机系统能力:相机、麦克风、系统权限、硬件中断和性能必须在明确设备上留证。

规则

  • 测试公共行为,不绑定私有调用顺序;Clock、Dispatcher/Executor 和 Framework Wrapper 可替换。
  • 覆盖成功、拒绝、受限、取消、重复 stop、并发竞争、后台/前台和资源释放。
  • Android local test、instrumented test 与 iOS unit/UI test 的能力边界必须准确记录。
  • Host 编译不能替代 Native Module 单测,Fake 通过不能宣称 Camera 或系统权限已验证。
  • 环境缺少 SDK、Xcode、模拟器或真机时,列出未运行命令、受影响文件和剩余风险。
  • 证据不得记录设备 ID、用户名、主机路径、真实媒体、账号或其他敏感信息。

© 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/native-testing-strategy of bladeofgod/flutter-ai-harness.

Open the folder on GitHubat commit 9f1a1ca

Compare with similar skills

Native Testing Strategy 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.

Native Testing Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Native Testing Strategy this skillbladeofgod/flutter-ai-harness116—~345Automated safety check: PassMIT
Compose Multiplatformericrisco/rsc-harness156—~2.7kAutomated safety check: PassMIT
Mobile App Builderrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Expo Brownfield Integrationmweinbach/agent-coworker1562 repos~900Automated safety check: NotesCustom licence
Jvm Helpershepherdjerred/monorepo112—~1.9kAutomated safety check: PassGPL-3.0

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…

    156 GitHub stars~2.7k tokensUpdated yesterday
    MobileAuto-check passed
  • Mobile App Builder

    revfactory/harness-100

    Full mobile app development pipeline. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo 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 8 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
  • Jvm Helper

    shepherdjerred/monorepo

    Current Java, Kotlin, Gradle, Maven, JUnit, JVM diagnostics, packaging, and performance guidance.

    112 GitHub stars~1.9k tokensUpdated today
    MobileAuto-check passed
  • Android Native Dev

    HHU3637kr/skills

    A skill your agent uses when the user is developing, reviewing, or troubleshooting a native Android app, especially Kotlin/Compose, Material Design 3, Gradle project setup, Android accessibility…

    145 GitHub stars~5.6k tokensUpdated 14 days ago
    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 Native Testing Strategy

What does Native Testing Strategy do?

适用:设计或审查 Kotlin/Swift 原生模块、Bridge Adapter、Host 编译、模拟器/设备和系统能力验证。不适用:纯 Dart/Flutter 测试或用 Fake 代替相机和权限真机验证。触发词:JUnit、XCTest、Robolectric、instrumented test、Swift Testing、Framework Fake、Gradle…. Native Testing Strategy is an agent skill from bladeofgod/flutter-ai-harness.

When should I use Native Testing Strategy?

Native Testing Strategy fits situations like: tasks that involve Cross-platform mobile apps; tasks that involve iOS development; tasks that involve Test strategy.

How do I install Native Testing Strategy in Claude Code?

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

How do I install Native Testing Strategy in Codex?

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

Can I use Native Testing Strategy 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 native-testing-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/native-testing-strategy, .gemini/skills/native-testing-strategy, .github/skills/native-testing-strategy and .opencode/skills/native-testing-strategy in your project.

What does Native Testing Strategy need to run?

SKILL.md names no scripts, command-line tools or credentials: Native Testing Strategy is instructions for the agent only.

Does Native Testing Strategy 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 Native Testing Strategy 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 Native Testing Strategy use?

Native Testing Strategy 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 Native Testing Strategy use?

About 345 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 Native Testing Strategy?

Skills that share tags, products or a category with Native Testing Strategy: Compose Multiplatform (ericrisco/rsc-harness, 156 stars), Mobile App Builder (revfactory/harness-100, 1.3k stars), Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars) and Expo Brownfield Integration (mweinbach/agent-coworker, 156 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Native Testing Strategy?

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.