Technical & DevelopmentIntermediate
graphql-operations
Write GraphQL queries, mutations, and subscriptions following best ...
Developer Setup
Setup & Installation
bash
npx skills add https://github.com/apollographql/skills --skill graphql-operationsnpx skills add https://github.com/apollographql/skills --skill graphql-operationsOr paste this URL into your assistant to install:
Overview
What This Skill Does
Write GraphQL queries, mutations, and subscriptions following best practices
Application
When to use this Skill
- Integrating graphql operations into your development workflow.
- Following best practices for write graphql queries, mutations, and subscriptions following best practices.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
GraphQL Operations Guide
This guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable.
Operation Basics
Query Structure
query GetUser($id: ID!) {
user(id: $id) {
id
name
email
}
}
Mutation Structure
mutation CreatePost($input: CreatePostInput!) {
createPost(input: $input) {
id
title
createdAt
}
}
Lines 1 - 29 of 227
Recommendations
Explore other random skills
OfficeAdvanced
security-ownership-map
Map people-to-file ownership, compute bus factor, and identify risks
EnterpriseAdvanced
security-threat-model
Generate repo-specific threat models identifying trust boundaries
EnterpriseIntermediate
sentry
Inspect Sentry issues, summarize production errors, and pull health data