Build with Apollo: schema design, resolver implementation, caching strategies, subscriptions, federation, and client-side state management with Apollo Client.
When to use this skill
- Setting up Apollo Server
- Implementing GraphQL caching
- Using Apollo Client hooks
Core concepts
This skill provides guidance on apollo graphql best practices, patterns, and common pitfalls. It is designed to be loaded on demand when a relevant task is detected.
Installation
curl -LO https://opencode-skills.example/downloads/integration/apollo-graphql.zip
unzip apollo-graphql.zip -d ~/.config/opencode/skills/
Restart OpenCode — the skill loads automatically.
When it triggers
- setting up Apollo Server
- implementing GraphQL caching
- using Apollo Client hooks