Agent skill

Testing Strategy

by bladeofgod in bladeofgod/flutter-ai-harness

适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integrationtest、coverage、flaky。

MITAuto-check passedMobile

Install Testing Strategy

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

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

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

At a glance

适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integrationtest、coverage、flaky。

  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 选择最小证明层, 规则 and 稳定性
  • Calls make
  • Tasks that involve Test strategy

What it does

Testing Strategy is an agent skill from bladeofgod/flutter-ai-harness. 适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integrationtest、coverage、flaky。

Its SKILL.md is about 270 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, Test strategy and Integration testing. It works with Flutter, Dart and Kotlin. 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 Test strategy
  • Tasks that involve Integration testing

Example prompts

  • “/testing-strategy”

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

    Shell commands in SKILL.md call:

    • make

    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

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

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

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). 59 words, ~268 tokens.

Download SKILL.mdSave it as .claude/skills/testing-strategy/SKILL.md (or your agent's skills folder).
name
testing-strategy
description
适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integration_test、coverage、flaky。
paths
app/**/test/**/*.dart, app/**/integration_test/**/*.dart, app/**/*_test.dart

Flutter 测试策略

选择最小证明层

  • Mapper/Value 行为:单元测试。
  • Controller/Use Case 状态和副作用:构造注入 Fake/Mock 的单元测试。
  • 渲染和交互:Widget 测试。
  • Redirect 和导航:Router/Widget 测试。
  • Plugin/原生集成和完整用户旅程:Integration 或原生测试。

规则

  • 测试公共行为和边界契约,不测试私有调用顺序。
  • 有状态协作者优先用 Fake,窄交互断言使用 Mock。
  • 不在期望值 Helper 中复制生产算法。
  • teardown 清理 GetX/全局注册、Platform Channel、Storage、Clock 和 Binding。
  • Route 测试使用 MaterialApp.router,不得引入 GetMaterialApp。
  • 按需覆盖加载、成功、空、错误、重试、取消和重复操作。
  • AssetBundle、Font、Plugin 和图片解码都视为显式测试依赖。

稳定性

  • 优先使用有依据的 pump 或状态等待,避免无边界 pumpAndSettle。
  • 只有 Semantics 或自动化需要时才增加稳定 Key。
  • 确认测试确实执行到目标断言,没有因 Setup 静默失败而假通过。
  • 先运行新增测试文件,再运行受影响包测试。
  • 完整用户旅程通过 make integration-test INTEGRATION_DEVICE=<device-id> 在显式设备上运行;该命令不属于快速 make check。

重新确认产品契约前,不得削弱失败断言。

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

Open the folder on GitHubat commit 9f1a1ca

Compare with similar skills

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.

Testing Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Testing Strategy this skillbladeofgod/flutter-ai-harness116—~268Automated safety check: PassMIT
Compose Multiplatformericrisco/rsc-harness156—~2.7kAutomated safety check: PassMIT
Mobile Apps Createforcedotcom/sf-skills1.1k—~1.4kAutomated safety check: PassApache-2.0
Mobile App Developertheneoai/awesome-skills183—~2.1kAutomated safety check: PassMIT
Fory Version Bumpapache/fory4.6k—~1.1kAutomated safety check: PassApache-2.0
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.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 today
    MobileAuto-check passed
  • Mobile Apps Create

    forcedotcom/sf-skills

    The entry point for building any Salesforce native mobile app on iOS or Android.

    1.1k GitHub stars~1.4k tokensUpdated 4 days ago
    MobileAuto-check passed
  • Mobile App Developer

    theneoai/awesome-skills

    Elite Mobile App Developer skill with expertise in native iOS (Swift), native Android (Kotlin), and cross-platform (React Native, Flutter).

    183 GitHub stars~2.1k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Bump Apache Fory release or post-release development versions across Java, Kotlin, Scala, Python, Rust, Go, C++, C, Dart, JavaScript, Swift, integration tests, examples, and source docs.

    4.6k GitHub stars~1.1k tokensUpdated today
    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

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

Questions about Testing Strategy

What does Testing Strategy do?

适用:编写或审查 Dart 单测、Flutter Widget 测试、Route 测试、集成测试、Fake 或 Mocktail Mock。不适用:Kotlin/Swift 测试框架,也不替代生产实现。触发词:testWidgets、flutter test、Mocktail、Fake、Get.reset、integrationtest、coverage、flaky。. Testing Strategy is an agent skill from bladeofgod/flutter-ai-harness.

When should I use Testing Strategy?

Testing Strategy fits situations like: tasks that involve Cross-platform mobile apps; tasks that involve Test strategy; tasks that involve Integration testing.

How do I install Testing Strategy in Claude Code?

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

How do I install Testing Strategy in Codex?

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

Can I use 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 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/testing-strategy, .gemini/skills/testing-strategy, .github/skills/testing-strategy and .opencode/skills/testing-strategy in your project.

What does Testing Strategy need to run?

Going by SKILL.md and its folder, Testing Strategy needs the command-line tools its instructions call (make).

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

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

About 268 tokens (SKILL.md is roughly 1.1k 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 Testing Strategy?

Skills that share tags, products or a category with Testing Strategy: Compose Multiplatform (ericrisco/rsc-harness, 156 stars), Mobile Apps Create (forcedotcom/sf-skills, 1.1k stars), Mobile App Developer (theneoai/awesome-skills, 183 stars) and Fory Version Bump (apache/fory, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 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.