首页/移动开发/apollo-kotlin
A

apollo-kotlin

by @apollographqlv1.0.0
0.0(0)

Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP, (2) configuring schema download and codegen for GraphQL services, (3) configuring an `ApolloCl

Apollo GraphQLKotlinGraphQL ClientMobile API IntegrationGitHub
安装方式
npx skills add apollographql/skills --skill apollo-kotlin
compare_arrows

Before / After 效果对比

0

description 文档


name: apollo-kotlin description: > Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP, (2) configuring schema download and codegen for GraphQL services, (3) configuring an ApolloClient with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions, license: MIT compatibility: JVM 8+, Kotlin 1.9+, Gradle 8+, Android/JVM/Kotlin Multiplatform projects. metadata: author: apollographql version: "1.0.1" allowed-tools: Bash(./gradlew:) Bash(gradle:) Bash(curl:*) Read Write Edit Glob Grep WebFetch

Apollo Kotlin Guide

Apollo Kotlin is a strongly typed GraphQL client that generates Kotlin models from your GraphQL operations and schema, that can be used in Android, JVM, and Kotlin Multiplatform projects.

Process

Follow this process when adding or working with Apollo Kotlin:

  • [ ] Confirm target platforms (Android, JVM, KMP), GraphQL endpoint(s), and how schemas are sourced.
  • [ ] Configure Gradle and code generation, including custom scalars
  • [ ] Create a shared ApolloClient with auth, logging, and caching.
  • [ ] Implement operations.
  • [ ] Validate behavior with tests and error handling.

Reference Files

  • Setup - Gradle plugin, schema download, codegen config (including scalars), client configuration (auth, logging, interceptors)
  • Operations - Queries, mutations, subscriptions, and how to execute them
  • Caching - Setup and use the normalized cache

Scripts

Key Rules

  • Use Apollo Kotlin v4+, do not use v3 or older versions.
  • Keep schema and operations in source control to make builds reproducible.

forum用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价,来写第一条吧

统计数据

安装量0
评分0.0 / 5.0
版本1.0.0
更新日期2026年3月17日
对比案例0 组

用户评分

0.0(0)
5
0%
4
0%
3
0%
2
0%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code

时间线

创建2026年3月17日
最后更新2026年3月17日