Flutter Patternsのロゴ

Flutter Patterns

コミュニティ
cleydson
flutter-patterns

Comprehensive Flutter development patterns covering widgets, testing, performance, security, and animations. Use when you need quick reference for Flutter best practices, common UI patterns, performance optimization techniques, security guidelines, or animation implementations.

概要

公開者cleydson
リポジトリflutter-claude-code
スキル名flutter-patterns
スター
53
フォーク
14
同梱ファイル
5
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 5個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    cleydsonがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルFlutter PatternsをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/cleydson/flutter-claude-code/tree/main/.claude/skills/flutter-patterns
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cleydson/flutter-claude-code.git /tmp/flutter-claude-code
mkdir -p .claude/skills
cp -r /tmp/flutter-claude-code/.claude/skills/flutter-patterns .claude/skills/flutter-patterns
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでFlutter Patternsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にFlutter Patternsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Flutter Patternsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Flutter Patterns

A comprehensive collection of battle-tested Flutter patterns and best practices for building production-quality applications.

Overview

This skill provides quick-reference patterns for:

  • Widget Patterns: Common UI components (cards, lists, forms, dialogs, navigation)
  • Testing Patterns: Unit, widget, and integration testing approaches
  • Performance Patterns: Optimization techniques and performance checklists
  • Security Patterns: Security best practices and vulnerability prevention
  • Animation Patterns: Common animation implementations and transitions

When to Use This Skill

Use this skill when you need:

  • Quick reference for standard Flutter UI patterns
  • Testing strategy guidance and examples
  • Performance optimization checklists
  • Security vulnerability prevention
  • Animation implementation examples
  • Best practices for common Flutter development scenarios

Pattern Categories

Widget Patterns

See patterns/flutter-widget-patterns.md for:

  • Card patterns (basic, image, custom)
  • List patterns (lazy loading, sectioned)
  • Form patterns with validation
  • Dialog and bottom sheet patterns
  • Loading and empty states
  • Navigation patterns
  • Material 3 widgets (SearchAnchor, SegmentedButton, NavigationBar, DropdownMenu)
  • DecoratedSliver patterns
  • Responsive layouts (with Material 3 WindowSizeClass breakpoints)

Testing Patterns

See patterns/flutter-testing-patterns.md for:

  • Unit test structure and best practices
  • Widget testing approaches
  • Integration test patterns
  • Mock and stub strategies (Mockito and Mocktail)
  • BLoC testing with bloc_test
  • Riverpod testing patterns
  • Patrol testing for native interactions
  • Golden test patterns
  • Test organization and naming conventions
  • Coverage best practices

Performance Patterns

See patterns/flutter-performance-checklist.md for:

  • Impeller rendering engine considerations
  • Build method optimization
  • Widget rebuilding minimization
  • List and grid performance
  • Image loading optimization (WebP/AVIF, caching)
  • Memory leak prevention
  • Isolate.run() for background computation
  • Rendering performance tips
  • Shader compilation (resolved by Impeller)

Security Patterns

See patterns/flutter-security-patterns.md for:

  • Input validation and sanitization
  • Secure storage practices (flutter_secure_storage)
  • API security and certificate pinning (Dio 5.x)
  • Authentication and authorization patterns
  • Biometric authentication (Face ID, fingerprint)
  • iOS Privacy Manifests (required since iOS 17)
  • Data encryption approaches
  • Common vulnerability prevention (XSS, injection, etc.)

Animation Patterns

See patterns/flutter-animation-patterns.md for:

  • Basic animation controllers
  • Tween animations
  • Hero animations
  • Page transitions
  • Implicit animations
  • Material 3 motion patterns (shared axis, container transform)
  • Impeller animation performance notes
  • Custom animation patterns

Usage Examples

Example 1: Need a card UI pattern

User: "I need to create a product card with an image and details"
→ Reference Widget Patterns for image card implementation

Example 2: Writing tests

User: "How should I structure my widget tests?"
→ Reference Testing Patterns for widget test examples

Example 3: Performance issues

User: "My list is laggy when scrolling"
→ Reference Performance Patterns for list optimization techniques

Example 4: Security concern

User: "How do I securely store user credentials?"
→ Reference Security Patterns for secure storage approaches

Example 5: Adding animations

User: "I want to animate a page transition"
→ Reference Animation Patterns for page transition examples

Pattern Quality

All patterns in this skill are:

  • ✓ Production-tested and battle-proven
  • ✓ Following Flutter best practices
  • ✓ Performance-optimized
  • ✓ Security-conscious
  • ✓ Well-documented with code examples

Quick Access

For fast pattern lookup, each category file is self-contained with:

  • Complete, runnable code examples
  • Explanation of when to use each pattern
  • Common pitfalls and how to avoid them
  • Performance and security considerations

Pro tip: Combine patterns from different categories for comprehensive solutions. For example, use Widget Patterns + Performance Patterns + Security Patterns together when building production features.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Flutter Patterns」では何ができますか?

Comprehensive Flutter development patterns covering widgets, testing, performance, security, and animations. Use when you need quick reference for Flutter best practices, common UI patterns, performance optimization techniques, security guidelines, or animation implementations.

TypingMindでFlutter Patternsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Flutter Patternsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにFlutter Patternsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/cleydson/flutter-claude-code/tree/main/.claude/skills/flutter-patternsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Flutter Patternsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Flutter Patternsは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもFlutter Patternsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Flutter Patterns」は無料ですか?

cleydsonがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇