API Designer
Jeffallan/claude-skills
Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.
Guide for designing and changing GraphQL schemas following industry best practices.
$ npx skills add apollographql/skills --skill graphql-schema -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install apollographql/skills graphql-schema --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/graphql-schema .claude/skills/graphql-schema && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .claude/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/apollographql/skills/tree/main/skills/graphql-schemaType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add apollographql/skills --skill graphql-schema -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install apollographql/skills graphql-schema --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/graphql-schema .agents/skills/graphql-schema && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .agents/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add apollographql/skills --skill graphql-schema -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install apollographql/skills graphql-schema --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/graphql-schema .cursor/skills/graphql-schema && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .cursor/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/apollographql/skills.git --path skills/graphql-schema--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add apollographql/skills --skill graphql-schema -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install apollographql/skills graphql-schema --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/graphql-schema .gemini/skills/graphql-schema && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .gemini/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install apollographql/skills graphql-schemaInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add apollographql/skills --skill graphql-schema -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/graphql-schema .github/skills/graphql-schema && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .github/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add apollographql/skills --skill graphql-schema -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install apollographql/skills graphql-schema --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/apollographql/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/graphql-schema .opencode/skills/graphql-schema && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "graphql-schema" agent skill from https://github.com/apollographql/skills/tree/main/skills/graphql-schema into .opencode/skills/graphql-schema/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "graphql-schema", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
graphql-schemaGuide for designing and changing GraphQL schemas following industry best practices.
Graphql Schema is an agent skill from apollographql/skills. Guide for designing and changing GraphQL schemas following industry best practices. Use this skill whenever you create or edit GraphQL SDL, such as a schema.graphql file or typeDefs, including when: (1) designing a new GraphQL schema or API, (2) adding or changing types, fields, arguments, mutations, or descriptions in an existing schema, (3) reviewing existing schema for improvements, (4) deciding on type structures or nullability, (5) implementing pagination or error patterns, (6) ensuring security in schema…
Its SKILL.md is about 1.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/errors.md`, `references/naming.md` and `references/pagination.md`). Compatibility notes: Any GraphQL implementation (Apollo Server, graphql-js, Yoga, etc.)
It sits in Backend & APIs, covering GraphQL. It works with GraphQL. The repository describes itself as: Apollo GraphQL Agent Skills. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5f02fcf. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
Bash(npm:*)Bash(npx:*)ReadWriteEditGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are graphql).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Any GraphQL implementation (Apollo Server, graphql-js, Yoga, etc.)
From compatibility in the SKILL.md frontmatter.
Graphql Schema loads about 1.3k tokens when it runs, and up to ~11k if it reads all its reference files. Until then it costs about 136 tokens; SKILL.md has 436 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from apollographql/skills at commit 5f02fcf, republished under its MIT licence (© apollographql). 436 words, ~1,262 tokens.
.claude/skills/graphql-schema/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.This guide covers best practices for designing GraphQL schemas that are intuitive, performant, and maintainable. Schema design is primarily a server-side concern that directly impacts API usability.
"""
A user in the system.
"""
type User {
id: ID!
email: String!
name: String
posts(first: Int = 10, after: String): PostConnection!
createdAt: DateTime!
}| Pattern | Meaning |
|---|---|
| String | Nullable - may be null |
| String! | Non-null - always has value |
| [String] | Nullable list, nullable items |
| [String!] | Nullable list, non-null items |
| [String]! | Non-null list, nullable items |
| [String!]! | Non-null list, non-null items |
Best Practice: Use [Type!]! for lists - empty list over null, no null items.
# Output type - what clients receive
type User {
id: ID!
email: String!
createdAt: DateTime!
}
# Input type - what clients send
input CreateUserInput {
email: String!
name: String
}
# Mutation using input type
type Mutation {
createUser(input: CreateUserInput!): User!
}interface Node {
id: ID!
}
type User implements Node {
id: ID!
email: String!
}
type Post implements Node {
id: ID!
title: String!
}union SearchResult = User | Post | Comment
type Query {
search(query: String!): [SearchResult!]!
}Detailed documentation for specific topics:
mutation(input: InputType!)Node interface for refetchabilityQuery.users or Post.comments: return a connection and give first a default page sizeID type for identifiers, not String or Int© apollographql, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in skills/graphql-schema of apollographql/skills.
Open the folder on GitHubat commit 5f02fcf
Graphql Schema next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Graphql Schema this skillapollographql/skills | 117 | — | ~1.3k | Automated safety check: Pass | MIT | |
| API DesignerJeffallan/claude-skills | 12k | 2 repos | ~2k | Automated safety check: Pass | MIT | |
| Nodejs Backend Patternsever-works/ever-works | 158 | 18 repos | ~4k | Automated safety check: Pass | AGPL-3.0 | |
| GraphQL Operations with CodegenChrisWiles/claude-code-showcase | 6.1k | 3 repos | ~1.5k | Automated safety check: Pass | None | |
| API Design Principlesjh941213/my-cc-harness | 126 | 20 repos | ~3.4k | Automated safety check: Pass | None | |
| API And Interface Designdzhalaevd/Donatello | 135 | 9 repos | ~2.6k | Automated safety check: Pass | Apache-2.0 |
Jeffallan/claude-skills
Designs REST and GraphQL APIs from resource modeling to an OpenAPI 3.1 contract, with versioning, pagination and RFC 7807 error handling.
ever-works/ever-works
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices.
ChrisWiles/claude-code-showcase
Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.
jh941213/my-cc-harness
REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.
dzhalaevd/Donatello
Guides stable API and interface design. An agent skill from dzhalaevd/Donatello.
CloudAI-X/claude-workflow-v2
Designs REST and GraphQL APIs including endpoints, error handling, versioning, and documentation.
apollographql/skills
Guide for authoring Apollo Federation subgraph schemas. An agent skill from apollographql/skills.
apollographql/skills
Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift.
apollographql/skills
Build and iterate on an Apollo Connectors subgraph for a GraphOS supergraph from a REST API, with or without an OpenAPI or Swagger spec, in a dedicated git workspace that records what the API…
apollographql/skills
Guide for writing GraphQL operations (queries, mutations, fragments) following best practices.
apollographql/skills
Guide for building React applications with Apollo Client 4.x.
apollographql/skills
DEPRECATED: superseded by the graphos-factory skill (npx skills add apollographql/skills@graphos-factory), which builds and maintains a Connectors subgraph from a REST API with recorded decisions…
Works with
Categories
Guide for designing and changing GraphQL schemas following industry best practices. Graphql Schema is an agent skill from apollographql/skills. Guide for designing and changing GraphQL schemas following industry best practices.
Graphql Schema fits situations like: edit GraphQL SDL; such as a schema.graphql file; including when:; designing a new GraphQL schema.
Run `npx skills add apollographql/skills --skill graphql-schema -a claude-code`. Or copy the skill folder (skills/graphql-schema in apollographql/skills) into .claude/skills/graphql-schema in your project. Claude Code loads it when a task matches its description.
Run `npx skills add apollographql/skills --skill graphql-schema -a codex`. Or copy the skill folder (skills/graphql-schema in apollographql/skills) into .agents/skills/graphql-schema in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add apollographql/skills --skill graphql-schema -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/graphql-schema, .gemini/skills/graphql-schema, .github/skills/graphql-schema and .opencode/skills/graphql-schema in your project.
SKILL.md names no scripts, command-line tools or credentials: Graphql Schema is instructions for the agent only. Its frontmatter pre-approves these tools: Bash(npm:*), Bash(npx:*), Read, Write, Edit, Glob, Grep. Compatibility (from SKILL.md): Any GraphQL implementation (Apollo Server, graphql-js, Yoga, etc.).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Graphql Schema is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Graphql Schema: API Designer (Jeffallan/claude-skills, 12k stars), Nodejs Backend Patterns (ever-works/ever-works, 158 stars), GraphQL Operations with Codegen (ChrisWiles/claude-code-showcase, 6.1k stars) and API Design Principles (jh941213/my-cc-harness, 126 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
apollographql (a GitHub organization) maintains it in apollographql/skills, which has 117 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 7, 2026.
Source: apollographql/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.