Backend & APISûr100100/100
Apollo Kotlin
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,
ou envoie-le directement à ton agent.
Installer dans ton projet
$ npx arboris-cli@latest install apollo-kotlinApollo
affaan-m/ECC
Contenu à copier
--- 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: origin: Apollo author: apollographql version: "1.0.3" 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](references/setup.md) - Gradle plugin, schema download, codegen config (including scalars), client configuration (auth, logging, interceptors) - [Operations](references/operations.md) - Queries, mutations, subscriptions, and how to execute them - [Caching](references/caching.md) - Setup and use the normalized cache - [Migration Guide](references/migrating-from-4.md) - Migrate from Apollo Kotlin 4 ## Scripts - [list-apollo-kotlin-versions.sh](scripts/list-apollo-kotlin-versions.sh) - List versions of Apollo Kotlin - [list-apollo-kotlin-normalized-cache-versions.sh](scripts/list-apollo-kotlin-normalized-cache-versions.sh) - List versions of the Apollo Kotlin Normalized Cache library ## Key Rules - Prefer Apollo Kotlin v5+. Do not use v3 or older versions. - Keep schema and operations in source control to make builds reproducible.
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait 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.
Comment utiliser Apollo Kotlin
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Apollo Kotlin
Dis simplement à ton agent quelque chose comme :
Applique le skill apollo-kotlin à cette tâche
Utilise apollo-kotlin pour améliorer cette implémentation
Passe en revue ce sujet avec apollo-kotlin
Skills liés à Apollo Kotlin
Activate Site (Microsoft)
Activates and provisions a Power Pages website in a Power Platform environment via the Power Platform REST API. Use when the user wants to activate, provision, turn on, or enable a Power Pages website or portal.IA Core (TanStack)
Entry point for TanStack AI skills. Routes to chat-experience, tool-calling, media-generation, structured-outputs, adapter-configuration, ag-ui-protocol, middleware, locks, custom-backend-integration, and debug-logging, plus the skills shipped by companion packages (@tanstack/ai-persistence, @tanstack/ai-code-mode). Use chat() not streamText(), openaiText() not createOpenAI(), toServerSentEventsResponse() not manual SSE, middleware hooks not onEnd callbacks.api-connector-builder
Build a new API connector or provider by matching the target repo's existing integration pattern exactly. Use when adding one more integration without inventing a second architecture.