用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/pluginagentmarketplace/custom-plugin-android --skill networking命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | networking |
| description | Retrofit, OkHttp, REST APIs, JSON serialization, network security. |
| version | 2.0.0 |
| sasmp_version | 1.3.0 |
| bonded_agent | 05-networking |
| bond_type | PRIMARY_BOND |
| atomic | true |
| single_responsibility | HTTP networking & API integration |
| parameters | {"api_type":{"type":"string","enum":["rest","graphql"],"default":"rest"},"concern":{"type":"string","enum":["setup","error_handling","security","caching"],"required":false}} |
| retry | {"max_attempts":3,"backoff":"exponential","on_failure":"provide_fallback_pattern"} |
| logging | {"level":"info","include":["api_endpoint","response_code","latency"]} |
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)
val client = OkHttpClient.Builder()
.addInterceptor(HttpLoggingInterceptor())
.connectTimeout(30, TimeUnit.SECONDS)
.certificatePinner(CertificatePinner.Builder()
.add("api.example.com", "sha256/...").build())
.build()
sealed class Result<T> {
data class Success<T>(val data: T) : Result<T>()
data class Error<T>(val exception: Exception) : Result<T>()
}
✅ Use HTTPS always ✅ Implement SSL pinning ✅ Handle errors gracefully ✅ Optimize request/response size ✅ Cache when possible
基于 SOC 职业分类