madteacher/flutter-testing

Flutterテスト(単体テスト、ウィジェットテスト、結合テスト)の作成、修正、レビュー、デバッグ、検証を行います。アプリ、パッケージ、プラグインのテスト追加時に使用します。

flutter-testing とは?

このスキルは、Flutterプロジェクトにおけるテストのライフサイクル全体を支援します。単体テスト、ウィジェットテスト、結合テストの作成から、MethodChannelやプラグインのモック、Mockito/mocktailを用いたテストダブルの生成、ゴールデンテストやアクセシビリティチェック、CIテストコマンドの設定、テスト失敗のデバッグ、MissingPluginExceptionへの対処、pump/pumpAndSettleの問題解決、finderエラー、build_runnerによるモック生成、デバイス/Web統合テスト、不安定なテスト(flaky test)の修正まで幅広くカバーします。特に、Flutterのテストフレームワークに精通していない開発者や、テストの品質を向上させたいチームにとって有用です。また、CodexやCursorなどのAIエージェントと連携して、コードベースの文脈を理解しながら自動的にテストコードを提案・修正します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/madteacher/mad-agents-skills/tree/main/skills/flutter-testing

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

flutter-testing は何をしますか?

Flutterテスト(単体テスト、ウィジェットテスト、結合テスト)の作成、修正、レビュー、デバッグ、検証を行います。アプリ、パッケージ、プラグインのテスト追加時に使用します。単体テストの追加、ウィジェットテスト、結合テスト、MethodChannelまたはプラグインのモック、Mockitoやmocktailのテストダブル、ゴールデンテストやアクセシビリティチェック、CIテストコマンド、テスト失敗、MissingPluginException、pumpやpumpAndSettleの問題、finderエラー、build_runnerのモック生成、デバイス統合テスト、Web統合テスト、Flutterの不安定なテスト(flaky test)などに対応します。

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

madteacher/flutter-adaptive-ui

Build, fix, review, and validate adaptive or responsive Flutter UIs for mobile, tablet, desktop, web, large screens, foldables, and mixed input devices. Use when creating breakpoint-driven layouts, responsive navigation, adaptive dialogs/lists/grids, keyboard/mouse/touch behavior, window-size decisions with MediaQuery or LayoutBuilder, or Capability and Policy patterns for platform-specific behavior.

madteacher/flutter-animations

Add, fix, refactor, debug, test, or explain Flutter animations and motion effects. Use when working with implicit animations such as AnimatedContainer, AnimatedOpacity, AnimatedSwitcher, and TweenAnimationBuilder; explicit animations using AnimationController, Tween, CurvedAnimation, AnimatedWidget, AnimatedBuilder, and built-in transitions; Hero/shared-element route transitions; staggered or sequenced animations; physics-based motion, gestures, springs, flings, scroll physics, curves, performance, accessibility, reduced motion, and animation lifecycle bugs.

madteacher/flutter-architecture

Design, refactor, review, or implement Flutter app architecture using MVVM, layered UI/Data/optional Domain boundaries, feature-first or layer-first project structure, repositories, services, dependency injection, Result and Command patterns, offline-first or optimistic UI flows. Use when asked to add a Flutter feature, audit layer dependencies, fix cross-feature imports, migrate to feature-first, choose architecture for a Flutter project, or create scalable maintainable Flutter code organization.

関連スキル