apollo-client
Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries…
Guide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to update an existing skill, (3) users ask about skill structure or best practices, (4) users need help writing SKILL.md
$ npx -y skills add apollographql/skills --skill skill-creator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/skill-creatorContext preview
The summary Claude sees to decide when to auto-load this skill.
Guide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to update an existing skill, (3) users ask about skill structure or best practices, (4) users need help writing SKILL.md
name: skill-creator description: > Guide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to update an existing skill, (3) users ask about skill structure or best practices, (4) users need help writing SKILL.md files. license: MIT compatibility: Works with Claude Code and similar AI coding assistants that support Agent Skills. metadata: author: apollographql version: "1.1.0" allowed-tools: Read Write Edit Glob Grep
This guide helps you create effective skills for Apollo GraphQL and GraphQL development following the [Agent Skills specification](https://agentskills.io/specification).
A skill is a directory containing instructions that extend an AI agent's capabilities with specialized knowledge, workflows, or tool integrations. Skills activate automatically when agents detect relevant tasks.
A skill requires at minimum a `SKILL.md` file:
skill-name/ ├── SKILL.md # Required - main instructions ├── references/ # Optional - detailed documentation │ ├── topic-a.md │ └── topic-b.md ├── scripts/ # Optional - executable helpers │ └── validate.sh ├── templates/ # Optional - config/code templates │ └── config.yaml └── assets/ # Optional - static resources (images, schemas, data files)
--- name: skill-name description: > A clear description of what this skill does and when to use it. Include trigger conditions: (1) first condition, (2) second condition. license: MIT compatibility: Works with Claude Code and similar AI coding assistants. metadata: author: your-org version: "1.0.0" allowed-tools: Read Write Edit Glob Grep ---
| Field | Required | Description | |-------|----------|-------------| | `name` | Yes | Lowercase, hyphens only. Must match directory name. Max 64 chars. | | `description` | Yes | What the skill does and when to use it. Max 1024 chars. | | `license` | No | License name (e.g., MIT, Apache-2.0). | | `compatibility` | No | Environment requirements. Max 500 chars. | | `metadata` | No | Key-value pairs for author, version, etc. | | `allowed-tools` | No | Space-delimited list of pre-approved tools. Do not include `Bash(curl:*)`. |
Good: `apollo-client`, `graphql-schema`, `rover` Bad: `Apollo-Client`, `-apollo`, `apollo--client`
Write descriptions that help agents identify when to activate the skill:
# Good - specific triggers and use cases description: > Guide for designing GraphQL schemas following industry best practices. Use this skill when: (1) designing a new GraphQL schema or API, (2) reviewing existing schema for improvements, (3) deciding on type structures or nullability, (4) implementing pagination or error patterns. # Bad - vague and unhelpful description: Helps with GraphQL stuff.
The markdown body contains instructions the agent follows. Structure it for clarity:
1. **Overview** - Brief explanation of the skill's purpose 2. **Process** - Step-by-step workflow (use checkboxes for multi-step processes) 3. **Quick Reference** - Common patterns and syntax 4. **Security** - Risks, mitigations, and validation (if the skill touches anything security-sensitive) 5. **Reference Files** - Links to detailed documentation 6. **Key Rules** - Important guidelines organized by topic 7. **Ground Rules** - Critical do's and don'ts
# Skill Title
Brief overview of what this skill helps with.
## Process
Follow this process when working on [task]:
- [ ] Step 1: Research and understand requirements
- [ ] Step 2: Implement the solution
- [ ] Step 3: Validate the result
## Quick Reference
### Common Pattern
\`\`\`graphql
type Example {
id: ID!
name: String
}
\`\`\`
## Security
> **Risk: [brief description of what can go wrong].**
> [What the user MUST do to prevent it.]
- ALWAYS [secure default behavior]
- NEVER [dangerous configuration] in production
## Reference Files
- [Topic A](references/topic-a.md) - Detailed guide for topic A
- [Topic B](references/topic-b.md) - Detailed guide for topic B
## Key Rules
### Category One
- Rule about this category
- Another rule
### Category Two
- Rule about this category
## Ground Rules
- ALWAYS do this important thing
- NEVER do this problematic thing
- PREFER this approach over that approachWhen a skill generates configuration, code, or guidance that could cause security issues if misused, the skill MUST make those risks explicit and visible to the LLM. An LLM cannot infer security implications from context alone — it needs clearly labeled signals.
If any of these apply, the skill is security-sensitive:
1. **Dedicated Security section** in SKILL.md or a reference file, labeled `## Security`. Not "Private data" or "Customization" — use the word "Security" so the LLM recognizes the category.
2. **Explicit warnings at the point of risk** — place security guidance next to the config or code that creates the risk, not in a separate file the LLM may not load:
### Response caching scope > **Security: data leakage risk.** All cache
A collection of skills for AI coding agents working with Apollo GraphQL tools and technologies. Apollo Skills follow the Agent Skills format and are available on skills.sh.
Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries…
Guide for integrating REST APIs into GraphQL supergraphs using Apollo Connectors with @source and @connect directives. Use this skill when the user: (1)…
Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated supergraph, (2) defining or…
Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift. Use this skill when: (1) adding Apollo iOS to a…
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…
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining…