flutter-ai-integration
/flutter-ai-integration
Build or review provider-neutral AI features in Flutter, including streaming responses, conversation state, structured output, tool calls, attachments, cancellation, and safe service boundaries. Use when model behavior is part of the product; do not use for ordinary APIs, product analytics, or generic chat between people.
- Author
- thiennc-tesoglobal ↗
- Repository
- flutter-skills ↗
- Licence
- BSD-3-Clause
- Last repository change
- 05.10.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 4
No signals detected. Repository changed on 05.10.2026, without references to retired models or APIs.
BSD-3-Clause, otwarta.
What it does and when to use it
Build or review provider-neutral AI features in Flutter, including streaming responses, conversation state, structured output, tool calls, attachments, cancellation, and safe service boundaries. Use when model behavior is part of the product; do not use for ordinary APIs, product analytics, or generic chat between people.
Original author description
Build or review provider-neutral AI features in Flutter, including streaming responses, conversation state, structured output, tool calls, attachments, cancellation, and safe service boundaries. Use when model behavior is part of the product; do not use for ordinary APIs, product analytics, or generic chat between people.
How it works
- Preflight
- Load references conditionally
- Boundaries
- Verification
- Sources
SKILL.md preview
--- name: flutter-ai-integration description: Build or review provider-neutral AI features in Flutter, including streaming responses, conversation state, structured output, tool calls, attachments, cancellation, and safe service boundaries. Use when model behavior is part of the product; do not use for ordinary APIs, product analytics, or generic chat between people. --- # Flutter AI Integration Integrate model behavior as an unreliable, asynchronous external capability with an explicit product contract. Preserve the project's provider, backend, networking client, state management, persistence, and UI architecture unless the user requests a migration. Do not add a provider SDK, account setup, credential, or backend merely because this skill was selected. ## Preflight Read `pubspec.yaml`, SDK constraints, existing AI or API adapters, backend boundary, authentication, model configuration, state ownership, persistence, privacy requirements, tests, and platform targets. Clarify the intended capability and failure behavior before choosing a model, provider, SDK, or UI toolkit. Keep model and provider details behind a narrow application-owned interface. Treat output, tool arguments, citations, and structured data as untrusted input. Define cancellation, timeout, retry, partial-result, quota, offline, and unsupported-capability behavior. ## Load references conditionally - Read [service boundary and secrets](references/service-boundary-and-secrets.md) when selecting client versus backend responsibilities, credentials, provider abstraction, safety, privacy, or model configuration. - Read [streaming, tools, and state](references/streaming-tools-and-state.md) when implementing streamed output, conversations, attachments, structured responses, or tool/function calls. - Read [Flutter AI Toolkit and GenUI](references/flutter-ai-toolkit-and-genui.md) only when the project uses or is considering those Flutter packages. Do not introduce them by default. ## Boundaries - `flutter-networking` owns generic HTTP, WebSocket, SSE, authentication refresh, and transport reliability; this skill owns model-specific semantics on top. - `dart-concurrency` owns general stream races, cancellation primitives, and isolate behavior. - `flutter-persistence` owns durable storage and offline synchronization; this skill defines what conversation or model state may be retained. - `flutter-security` owns a broad threat review; this skill enforces the model boundary, credential placement, untrusted output handling, and least-privilege tools. - `flutter-ui-patterns` and `flutter-accessibility` own general interface composition and accessibility. ## Verification Use a deterministic fake model or recorded adapter for ordinary automated tests. Cover partial chunks, cancellation, timeout, malformed structured output, tool denial and failure, repeated or reordered events, quota errors, and provider unavailability. Use a real provider only when credentials, cost, network access, and environment are explicitly in scope; keep such tests separate and non-destructive. Verify the visible stream and state transitions on affected platforms, including restart or restoration when required. Report which behavior was fake-tested, which was exercised end to end, the exact provider/model configuration when relevant, and any cost, safety, or backend boundary not verified. ## Sources - [Flutter AI overview](https://docs.flutter.dev/ai) - [Flutter AI Toolkit](https://docs.flutter.dev/ai/ai-toolkit) - [Flutter GenUI](https://docs.flutter.dev/ai/genui) - [Flutter networking](https://docs.flutter.dev/data-and-backend/networking)
Files in this package (5)
- SKILL.md 4 KB
- evals/cases.json 3 KB
- references/flutter-ai-toolkit-and-genui.md 2 KB
- references/service-boundary-and-secrets.md 3 KB
- references/streaming-tools-and-state.md 3 KB
Versions
The database has no other skills named flutter-ai-integration.
Database snapshot: 13.11.2026 · package version 34ed18cb255e (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90flutter-platform-integration
Implement or review Flutter platform channels, Pigeon APIs, FFI and build hooks, native plugin implementations, platform views, add-to-app boundaries, web interop, and native lifecycle integration. Use when Dart must communicate with native platforms; route reusable package… - 90flutter-core:flutter-platform-integration
Comprehensive guidance on Flutter platform integration including platform channels, native code integration, plugin development, and platform views. Use when working with platform-specific features, creating plugins, or integrating native Android/iOS code with Flutter applications. - 100flutter-setting-up-on-linux
Sets up a Linux environment for Flutter development. Use when configuring a Linux machine to run, build, or deploy Flutter applications. - 90flutter-core:flutter-data-networking
Master HTTP clients, REST APIs, GraphQL integration, WebSockets, and JSON serialization in Flutter applications. Use when implementing API calls, handling network requests, parsing JSON, or working with real-time data. - 90flutter-product-analytics
Design, implement, repair, or review product analytics in Flutter using event contracts, identity, consent, funnels, attribution, experiment exposure, delivery semantics, and backend verification. Use for measuring user behavior and business outcomes; not operational logs, crash… - 100flutter-app-engineering
Build, review, debug, or improve Flutter applications, including Dart implementation, state and widget lifecycles, API efficiency, navigation, secure sessions, smooth UX, native integration, and release reliability. Use for meaningful Flutter app engineering; skip standalone…