Androidbooster network
Skill huhx0015/AndroidBooster/claude/skills/androidbooster-network
Network and Retrofit setup for AndroidBooster. Use when adding API endpoints, Retrofit interfaces, or configuring network layer. Uses Retrofit, OkHttp, Gson.From its SKILL.md
npx -y skills add huhx0015/AndroidBooster --skill androidbooster-networkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.1 KB, 233 tokens by cl100k_base, as published. Nobody here has run it
AndroidBooster Network
Retrofit Interface
Define API endpoints in core/network/src/main/kotlin/com/huhx0015/androidbooster/network/interfaces/RetrofitInterface.kt. Extend or use this interface for your API calls.
NetworkModule
core/network/.../modules/NetworkModule.kt provides:
Retrofitwith base URL fromAndroidConstants.API_URLGsonwithLOWER_CASE_WITH_UNDERSCORESfield namingOkHttpClientwith cache (10MB) andHttpLoggingInterceptor(BODY)RetrofitInterfaceviaretrofit.create(RetrofitInterface::class.java)
Base URL
Configure in core/common/.../constants/AndroidConstants.kt:
API_URL— Base URL for RetrofitAPI_VERSION_1,CURRENT_API_VERSION— Version constants
Usage
Inject Retrofit or RetrofitInterface in activities/fragments/ViewModels. Add endpoint methods to RetrofitInterface (or create interfaces and obtain via retrofit.create()).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.