android-networking

Installation
SKILL.md

Android Networking Standards

Priority: P0 (CRITICAL)

1. Configure HTTP Stack

  • Use Retrofit 2 with OkHttp 4 for all backend communication.
  • Use Kotlinx Serialization with @SerialName for JSON field mapping.
  • Implement Certificate Pinning for sensitive production domains.

See setup & wrappers for DTO and API examples.

2. Define API Endpoints

  • All API calls must suspend functions.
  • Declare endpoints only in API interface — handle errors in Repository.

See setup & wrappers for API endpoint definitions.

3. Add Cross-Cutting Concerns

Installs
2
GitHub Stars
575
First Seen
Sep 10, 2026