Source profileQuality 67/100

affaan-m/ECC/docs/ja-JP/skills/dart-flutter-patterns/SKILL.md

dart-flutter-patterns

Review dart-flutter-patterns's use cases, installation, workflow, and original source instructions.

Source repository stars
234,327
Declared platforms
0
Static risk flags
0
Last source update
2026-07-27
Source checked
2026-07-28

Decision brief

What it does—and where it fits

本番環境対応のDartおよびFlutterパターンは、null安全性、不変状態、非同期構成、ウィジェットアーキテクチャ、人気のある状態管理フレームワーク(BLoC、Riverpod、Provider)、GoRouterナビゲーション、Dioネットワーキング、Freezedコード生成、クリーンアーキテクチャをカバー。

Best for

    Not for

    • Tasks that require unconfirmed production actions or broad system permissions.
    • Environments where the pinned source and install steps cannot be inspected.

    Compatibility matrix

    Platform support, with evidence labels

    PlatformStatusEvidenceWhat to check
    CodexNot declaredNo explicit evidencePortability before use
    Claude CodeNot declaredNo explicit evidencePortability before use
    CursorNot declaredNo explicit evidencePortability before use
    Gemini CLINot declaredNo explicit evidencePortability before use
    Open the compatibility checker

    Installation

    Inspect first. Install second.

    The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

    Source-detected install commandSource
    npx skills add https://github.com/affaan-m/ECC --skill "docs/ja-JP/skills/dart-flutter-patterns"
    Safe inspection promptEditorial

    Inspect the Agent Skill "dart-flutter-patterns" from https://github.com/affaan-m/ECC/blob/4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38/docs/ja-JP/skills/dart-flutter-patterns/SKILL.md at commit 4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

    Workflow

    What the source asks the agent to do

    1. 01

      使用時期

      次の場合にこのスキルを使用: - 新しいFlutter機能を開始し、状態管理、ナビゲーション、またはデータアクセスのイディオマティックパターンが必要 - Dartコードのレビューまたは作成とnull安全性、シール型、非同期構成のガイダンスが必要 - 新しいFlutterプロジェクトをセットアップしBLoC、Riverpod、またはProviderのうち選択 - 安全なHTTPクライアント、WebView統合、ローカルストレージを実装 - FlutterウィジェットEt、Cubit、またはRiverpodプロバイダーのテストを作成 - GoRouterを…

      新しいFlutter機能を開始し、状態管理、ナビゲーション、またはデータアクセスのイディオマティックパターンが必要Dartコードのレビューまたは作成とnull安全性、シール型、非同期構成のガイダンスが必要新しいFlutterプロジェクトをセットアップしBLoC、Riverpod、またはProviderのうち選択
    2. 02

      動作方法

      このスキルは、懸念事項で整理されたコピーペーストの準備ができたDart/Flutterコードパターンを提供: 1. Null安全性 — !を避ける、?./??/パターンマッチングを好む 2. 不変状態 — シール型、freezed、copyWith 3. 非同期構成 — 並行Future.wait、await後の安全なBuildContext 4. ウィジェットアーキテクチャ — クラスに抽出(メソッドではなく)、const伝播、スコープ付きリビルド 5. 状態管理 — BLoC/Cubityベント、Riverpodノーティファイアおよび派生プロバイダ…

      Null安全性 — !を避ける、?./??/パターンマッチングを好む不変状態 — シール型、freezed、copyWith非同期構成 — 並行Future.wait、await後の安全なBuildContext
    3. 03

      詳細については、ドキュメントを参照してください。

      詳細については、ドキュメントを参照してください。

    Permission review

    Static risk signals and limitations

    No configured static risk pattern was detected

    This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

    Evidence record

    Why each signal appears

    EvidenceSourceComputedTestedEditorial
    SignalValueEvidence typeMeaning
    Quality score67/100ComputedDocumentation, specificity, maintenance, and trust rules
    Repository stars234,327SourceRepository attention, not individual Skill quality
    Compatibility0 platformsSourceDeclared in the catalog source record
    Usage guidecatalog recordEditorialGenerated or reviewed according to the visible evidence level

    Pinned source

    Provenance and original SKILL.md

    Repository
    affaan-m/ECC
    Skill path
    docs/ja-JP/skills/dart-flutter-patterns/SKILL.md
    Commit
    4e973d3eaf92d97f8d2e2d8abb39d8bdc8711b38
    License
    MIT
    Collected
    2026-07-28
    Default branch
    main
    View the original SKILL.md

    Dart/Flutterパターン

    使用時期

    次の場合にこのスキルを使用:

    • 新しいFlutter機能を開始し、状態管理、ナビゲーション、またはデータアクセスのイディオマティックパターンが必要
    • Dartコードのレビューまたは作成とnull安全性、シール型、非同期構成のガイダンスが必要
    • 新しいFlutterプロジェクトをセットアップしBLoC、Riverpod、またはProviderのうち選択
    • 安全なHTTPクライアント、WebView統合、ローカルストレージを実装
    • FlutterウィジェットEt、Cubit、またはRiverpodプロバイダーのテストを作成
    • GoRouterを認証ガードでワイヤリング

    動作方法

    このスキルは、懸念事項で整理されたコピーペーストの準備ができたDart/Flutterコードパターンを提供:

    1. Null安全性!を避ける、?./??/パターンマッチングを好む
    2. 不変状態 — シール型、freezedcopyWith
    3. 非同期構成 — 並行Future.waitawait後の安全なBuildContext
    4. ウィジェットアーキテクチャ — クラスに抽出(メソッドではなく)、const伝播、スコープ付きリビルド
    5. 状態管理 — BLoC/Cubityベント、Riverpodノーティファイアおよび派生プロバイダー
    6. ナビゲーションrefreshListenable経由の反応型認証ガード付きGoRouter
    7. ネットワーキング — インターセプタ付きDio、ワンタイム再試行ガード付きトークンリフレッシュ
    8. エラーハンドリング — グローバルキャプチャ、ErrorWidget.builder、crashlyticsワイヤリング
    9. テスト — ユニット(BLoC test)、ウィジェット(ProviderScopeオーバーライド)、モック上のフェイク

    // シール状態 — 不可能な状態を防止
    sealed class AsyncState<T> {}
    final class Loading<T> extends AsyncState<T> {}
    final class Success<T> extends AsyncState<T> { final T data; const Success(this.data); }
    final class Failure<T> extends AsyncState<T> { final Object error; const Failure(this.error); }
    
    // 反応型認証リダイレクト付きGoRouter
    final router = GoRouter(
      refreshListenable: GoRouterRefreshStream(authCubit.stream),
      redirect: (context, state) {
        final authed = context.read<AuthCubit>().state is AuthAuthenticated;
        if (!authed && !state.matchedLocation.startsWith('/login')) return '/login';
        return null;
      },
      routes: [...],
    );
    

    詳細については、ドキュメントを参照してください。

    Alternatives

    Compare before choosing