pluginagentmarketplace/custom-plugin-android · Archived

networking

Retrofit, OkHttp, REST APIs, JSON serialization, network security.

First seen Jan 29, 2026

Installation

$ npx skills add pluginagentmarketplace/custom-plugin-android --skill networking

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from pluginagentmarketplace/custom-plugin-android.

npx skills add pluginagentmarketplace/custom-plugin-android

Browse all from pluginagentmarketplace/custom-plugin-android

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 5
License LICENSE
Default branch main
Open issues 2
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Version2.0.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,251 B
  • docs SUMMARY.md 84 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 17 installs

SKILL.md

API Integration Skill

Quick Start

Retrofit Setup

interface UserApi {
    @GET("/users/{id}")
    suspend fun getUser(@Path("id") id: Int): UserDto
    
    @POST("/users")
    suspend fun createUser(@Body user: UserDto): UserDto
}

val retrofit = Retrofit.Builder()
    .baseUrl("https://api.example.com/")
    .addConverterFactory(GsonConverterFactory.create())
    .build()

val api = retrofit.create(UserApi::class.java)

OkHttp Configuration

val client = OkHttpClient.Builder()
    .addInterceptor(HttpLoggingInterceptor())
    .connectTimeout(30, TimeUnit.SECONDS)
    .certificatePinner(CertificatePinner.Builder()
        .add("api.example.com", "sha256/...").build())
    .build()

Error Handling

sealed class Result<T> {
    data class Success<T>(val data: T) : Result<T>()
    data class Error<T>(val exception: Exception) : Result<T>()
}

Key Concepts

HTTP Methods

  • GET: Fetch data
  • POST: Create resource
  • PUT/PATCH: Update
  • DELETE: Remove

Retrofit Features

  • Type-safe interfaces
  • Automatic serialization
  • Suspend function support
  • Error callbacks

Network Security

  • HTTPS/TLS enforcement
  • SSL pinning
  • Certificate validation
  • Secure token storage

Best Practices

✅ Use HTTPS always ✅ Implement SSL pinning ✅ Handle errors gracefully ✅ Optimize request/response size ✅ Cache when possible

Resources