android-networking-retrofit-okhttp
Installation
SKILL.md
Android Networking Retrofit OkHttp
When To Use
- Use this skill when the request is about: retrofit android setup, okhttp interceptor android, api error mapping android.
- Primary outcome: Build Android networking stacks with Retrofit, OkHttp, interceptors, API contracts, and resilient error handling.
- Handoff skills when the scope expands:
android-serialization-offline-syncandroid-security-best-practices
Workflow
- Confirm the data source, persistence boundary, sync model, and device capability involved.
- Model contracts explicitly before wiring network, storage, media, or background APIs.
- Apply the recommended AndroidX or platform pattern with migration-safe defaults.
- Validate offline, retry, and process death behavior against the sample apps and scenarios.
- Escalate security, performance, or release risk to the linked supporting skills when needed.
Guardrails
- Prefer typed models and explicit serializers over ad-hoc maps or bundles.
- Keep background work idempotent and cancellation-aware.
- Do not leak storage, media, or networking details into presentation code.
Related skills
More from krutikjain/android-agent-skills
android-di-hilt
Wire Android dependency injection with Hilt, scopes, testing overrides, and module ownership boundaries.
194android-testing-unit
Write fast, focused Android unit tests for reducers, use cases, repositories, and lifecycle-safe state holders.
187android-kotlin-core
Use Kotlin idioms safely in Android apps, including nullability, data classes, sealed types, extension functions, and collection pipelines.
185android-gradle-build-logic
Shape Android build logic with Gradle, version catalogs, plugins, convention patterns, and toolchain compatibility.
185android-coroutines-flow
Use coroutines, Flow, structured concurrency, dispatchers, and cancellation-safe Android async pipelines.
181android-architecture-clean
Apply clean architecture boundaries, use cases, repositories, and lifecycle-aware presentation models in Android projects.
180