CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

flutter-networking

Build or review Flutter remote data and transport boundaries across HTTP, GraphQL, WebSocket, SSE, or Socket.IO. Use for API contracts, authenticated request transport, pagination, retries, reconnection, caching, and error mapping; route sign-in and session semantics to flutter-authentication and local storage ownership to flutter-persistence.

Quality

91%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is thiennc-tesoglobal/flutter-skills

SKILL.md
Quality
Evals
Security

Flutter Networking

Keep transport concerns at the service boundary and expose domain-meaningful results to the rest of the app.

Select the mode

  • Handle ordinary HTTP request-response work with the rules below.
  • For GraphQL operations, generated models, normalized caches, optimistic writes, or subscriptions, read GraphQL clients.
  • For WebSocket, SSE, Socket.IO, connection recovery, or live event delivery, read Realtime transports.
  • For REST or HTTP response debugging, undocumented fields, decoding drift, or comparing Swagger/OpenAPI with deployed behavior, read HTTP response evidence.
  • Read both references for GraphQL subscriptions. Route stream races or subscription leaks to dart-concurrency, durable offline queues to flutter-persistence, and terminated-app alerts to flutter-notifications.

Inspect

Read current client, generated API code, interceptors, model generation, authentication, environment configuration, and tests. Preserve http, Dio, generated clients, or another established choice when it meets the requirement.

Rules

  • Centralize base URLs, headers, timeouts, and environment selection without committing secrets.
  • Decode untrusted responses and messages defensively and distinguish transport, protocol, decoding, authentication, and domain failures.
  • Map wire models to domain models at an explicit boundary.
  • Retry or reconnect only when the operation and protocol make recovery safe; bound backoff, queues, and cancellation.
  • Refresh credentials through one coordinated path to avoid request storms.
  • Define pagination identity, ordering, duplicate handling, terminal conditions, and refresh behavior.
  • Apply cache policy deliberately; do not silently return stale data as fresh.
  • Avoid logging tokens, personal data, or full sensitive payloads.
  • Keep documented schema, documentation examples, controlled fixtures, and observed server responses as separate evidence. Do not present one observed payload as the complete contract or a mock as proof of deployed behavior.

Verification

Use deterministic fake servers or mock transports to cover success, malformed data, timeouts, cancellation, unauthorized refresh, retry exhaustion, pagination boundaries, reconnect and resume behavior, and offline behavior. Run integration tests against a real service only when credentials and environment are explicitly in scope. Report the execution surface and data source separately.

Sources

  • Flutter networking
  • JSON serialization
Repository

thienqo/flutter-skills

Path

skills/flutter-networking/SKILL.md

Last updated
First committed

Canonical home

thiennc-tesoglobal/flutter-skills
In sync

since Aug 24, 2026

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.