android-api-client
OfficialBest practices for Retrofit + OkHttp API clients.
Authorxtone
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill provides a structured approach to building robust Android API clients using Retrofit and OkHttp, reducing boilerplate and common integration errors.
Core Features & Use Cases
- API Service Definition: Clearly defined Retrofit interfaces for common endpoints.
- Networking Configuration: Centralized OkHttp client with interceptors for authentication, logging, and retry logic.
- Error Handling: Consistent ApiResult/ApiError patterns and safe API call wrappers.
- Use Case: In a mobile app, implement a network layer that handles token refresh, request retries, and robust parsing with kotlinx.serialization.
Quick Start
Use this pattern to scaffold Retrofit + OkHttp-based data layer and integrate a safe API wrapper for your Android app.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: android-api-client Download link: https://github.com/xtone/ai_development_tools/archive/main.zip#android-api-client Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.