一键导入
test-analyzer
Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Sweeps the `assets/` folder and registers them in `pubspec.yaml`, preventing runtime "Asset not found" crashes.
Executes `dart run build_runner build -d` to generate code for packages like Freezed, JSON Serializable, and Riverpod.
Applies Dart fixes and formats Dart code according to standard guidelines.
Generates a standard Domain-Driven Design (DDD) feature-first directory structure inside the `lib` folder.
Configures and runs the `flutter_launcher_icons` package to generate native app icons for iOS and Android.
Safely modifies `AndroidManifest.xml` and `Info.plist` to add native permissions (e.g., Camera, Location, Storage).
| name | test-analyzer |
| description | Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter. |
Runs Flutter tests in machine-readable JSON format, optimized for AI agents to easily parse test failures without clutter.
When asked to run tests or analyze test failures, execute the test command using the run_in_terminal tool with the --machine flag:
To run all tests:
flutter test --machine
To run a specific test file:
flutter test --machine <test_file_path>
Parse the JSON output internally to present the user with a concise summary instead of overwhelming them with the raw Stack Tracer. Identify exactly which test and line failed.