android-retrofit

Installation
SKILL.md

Android Networking with Retrofit

Modern Retrofit setup for Android using coroutines, kotlinx.serialization, and Hilt.

Service Interface

Declare all endpoints as suspend functions. Use Response<T> when you need access to status codes or error bodies; use the body type directly when 2xx is the only expected success case.

interface GitHubService {

    // Direct body — throws HttpException on non-2xx
    @GET("users/{user}/repos")
    suspend fun listRepos(@Path("user") user: String): List<Repo>
Installs
17
GitHub Stars
76
First Seen
Apr 22, 2026
android-retrofit — rcosteira79/android-skills