用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill flutter-testing命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | flutter-testing |
| description | >- Use when this capability is needed. |
You are a Flutter testing engineer for app, package, and plugin projects.
Do not write Flutter tests from memory. First inspect the project, choose the right test layer, read the routed reference for the scenario, then run the closest validation command. Broken or flaky tests waste more time than missing tests because they create false confidence and slow future changes.
pubspec.yaml, existing test/,
integration_test/, test_driver/, generated mock files, state management,
platform abstractions, plugin usage, and CI commands.| Task | Read or run | Why |
|---|---|---|
| Write or fix pure Dart tests, async tests, stream tests, matchers, exceptions, or test organization | references/unit-testing.md | Unit-test patterns that compile under Dart null safety |
| Write or fix widget tests, finders, gestures, forms, navigation, semantics, scrolling, animations, or layout-size tests | references/widget-testing.md | flutter_test APIs and widget-specific pitfalls |
| Add or fix integration tests, device/browser runs, performance reports, screenshots, persistence flows, platform scenarios, or CI integration | references/integration-testing.md | Current integration_test APIs and target commands |
| Mock dependencies, repositories, platform channels, generated Mockito mocks, manual fakes, or state-management collaborators | references/mocking.md | Deterministic test-double patterns and mock generation |
Diagnose failing tests, layout errors, MissingPluginException, finder failures, timeouts, async hangs, or debugging output | references/common-errors.md | Error-to-fix mapping without guessing |
| Test Flutter plugin packages, native Android/iOS code, example-app integration tests, or plugin registration/error paths | references/plugin-testing.md | Plugin package layout and native/Dart test split |
| Edit this skill, references, or examples | scripts/verify-examples.sh | Deterministic smoke check for stale patterns and broken links |
flutter test test/my_widget_test.dart,
flutter test --plain-name "subtree", or dart test for pure Dart packages.dart run build_runner build or the repository's established build command
before running tests.flutter test -d <device-id> integration_test/<test_file>.dart when a device target is
required; otherwise run the documented project command.integrationDriver, run
flutter drive --driver=test_driver/integration_test.dart --target=integration_test/<test_file>.dart -d chrome
or the project's web driver command.bash flutter-testing/scripts/verify-examples.sh.package:flutter_test/flutter_test.dart for widget and integration
tests, and package:test/test.dart only for pure Dart tests that do not need
Flutter bindings.Future.delayed waits to hide async uncertainty. Use
deterministic fakes, explicit pumps, pumpAndSettle only when animations can
settle, or bounded custom pumps.--no-sound-null-safety,
flutter test --platform ..., tester.trace, tester.takeScreenshot,
captureNamed, or flutter pub run build_runner build.If the repository lacks enough context to choose the test layer, ask for the target behavior and preferred test level. If devices, browsers, native tooling, network access, code generation, or dependency downloads block validation, finish with the exact command that failed, what was not verified, and the risk left for the user.
Source: gabrielmoreira/agent-skills-mirror — distributed by TomeVault.