What problem does it solve?
This Skill helps you design, review, and debug Android networking code so API calls are reliable, secure, testable, and easier to maintain.
Core Features & Use Cases
- Retrofit API Design: Build typed suspend-based service interfaces for clean REST integration.
- OkHttp Client Setup: Configure interceptors, logging, retries, timeouts, authentication, and certificate pinning correctly.
- Error Handling and Mapping: Convert HTTP and network failures into domain-safe results before they reach the UI.
- Testing and Validation: Use fakes and MockWebServer to verify networking behavior without calling real services.
- Use Case: A mobile team can use this Skill to implement a secure media API layer, add token refresh handling, prevent release logging leaks, and stabilize flaky network tests.
Quick Start
Ask the skill to implement or review an Android Retrofit and OkHttp network layer for your feature, including DTOs, interceptors, error handling, and tests.