flutter-networking
/flutter-networking
Buduje i przegląda warstwę danych zdalnych i transportu we Flutterze przez HTTP, GraphQL, WebSocket, SSE lub Socket.IO: kontrakty API, paginacja, ponowienia, reconnect, cache i mapowanie błędów.
- Autor
- thiennc-tesoglobal ↗
- Repozytorium
- flutter-skills ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 05.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 05.10.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
Co robi i kiedy
Buduje i przegląda warstwę danych zdalnych i transportu we Flutterze przez HTTP, GraphQL, WebSocket, SSE lub Socket.IO: kontrakty API, paginacja, ponowienia, reconnect, cache i mapowanie błędów.
Oryginalny opis (EN)
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.
Jak działa
- Select the mode
- Inspect
- Rules
- Verification
- Sources
Podgląd SKILL.md
--- name: flutter-networking description: 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. --- # 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](references/graphql.md). - For WebSocket, SSE, Socket.IO, connection recovery, or live event delivery, read [Realtime transports](references/realtime-transports.md). - For REST or HTTP response debugging, undocumented fields, decoding drift, or comparing Swagger/OpenAPI with deployed behavior, read [HTTP response evidence](references/http-response-evidence.md). - 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](https://docs.flutter.dev/data-and-backend/networking) - [JSON serialization](https://docs.flutter.dev/data-and-backend/serialization/json)
Pliki w paczce (5)
- SKILL.md 3 KB
- evals/cases.json 6 KB
- references/graphql.md 5 KB
- references/http-response-evidence.md 2 KB
- references/realtime-transports.md 5 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · thiennc-tesoglobal/flutter-skills | 100 | BSD-3-Clause |
| thienqo/flutter-skills | 100 | BSD-3-Clause |
| madteacher/mad-agents-skills | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki f24584685683 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90flutter-persistence
Projektuje i przegląda trwałość danych na urządzeniu we Flutterze: preferencje, pliki, lokalne bazy, cykl życia cache, migracje schematów, trwałe kolejki i synchronizację offline. - 90flutter-core:flutter-data-networking
Wdraża połączenia HTTP, REST, GraphQL i WebSockets we Flutterze oraz serializację JSON dla danych sieciowych i na żywo. - 100api-design-first
Prowadzi projektowanie API HTTP w podejściu design-first: OpenAPI, wersjonowanie, uwierzytelnianie, limity, idempotencja, kontrakty błędów, obserwowalność oraz wybór między REST, webhookami, SSE i WebSocket. - 90flutter-authentication
Implementuje, naprawia i przegląda uwierzytelnianie użytkowników i cykl życia sesji we Flutterze: przekierowania OAuth i OIDC, PKCE, odświeżanie tokenów, wylogowanie, przełączanie kont, passkeys i ponowne uwierzytelnienie. - 100api
Pomaga projektować, recenzować i zmieniać API HTTP, REST lub GraphQL: endpointy, nazwy zasobów, odpowiedzi błędów, paginacja, wersjonowanie, idempotencja i kontrakty między usługami. - 100overview
Porównuje protokoły API, takie jak REST, GraphQL, gRPC czy WebSocket, i pomaga dobrać bramkę API oraz strategię wersjonowania.