Agent skill

Writing Graphql Operations

by saleor in saleor/apps

A skill your agent uses when writing or editing GraphQL operations (queries, mutations, fragments, webhook subscriptions) in a Saleor app — adding a .graphql file, adding fields to an existing one…

Custom licenceAuto-check passedBackend & APIs

Install Writing Graphql Operations

skills CLI
$ npx skills add saleor/apps --skill writing-graphql-operations -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install saleor/apps writing-graphql-operations --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/saleor/apps.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/writing-graphql-operations .claude/skills/writing-graphql-operations && rm -rf skills-src

Use ~/.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/

Facts

Skill name
writing-graphql-operations
GitHub stars
162
Token cost
~544 tokens
SKILL.md length
212 words
Files
1
Skills in repo
6
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when writing or editing GraphQL operations (queries, mutations, fragments, webhook subscriptions) in a Saleor app — adding a .graphql file, adding fields to an existing one…

  • Works in 4 steps: Add or edit the .graphql file under… → Check every new field against… → Run pnpm --filter generate (some apps… → …
  • Editing GraphQL operations (queries
  • SKILL.md covers Never use deprecated fields, Workflow and Selection sets
  • Calls pnpm

What it does

Writing Graphql Operations is an agent skill from saleor/apps. Use when writing or editing GraphQL operations (queries, mutations, fragments, webhook subscriptions) in a Saleor app — adding a .graphql file, adding fields to an existing one, or regenerating types.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Backend & APIs, covering GraphQL. It works with GraphQL. The repository describes itself as: OSS mirror for public Saleor Apps.

When your agent uses it

  • Editing GraphQL operations (queries
  • Webhook subscriptions) in a Saleor app — adding a .graphql file
  • Adding fields to an existing one
  • Regenerating types

Example prompts

  • “/writing-graphql-operations”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Add or edit the .graphql file under apps//graphql/.
  2. Check every new field against graphql/schema.graphql for @deprecated.
  3. Run pnpm --filter generate (some apps also have
  4. Import the generated *Document from @/generated/graphql and use it with

What it can do on your machine

Read from SKILL.md and the folder at commit 4400af6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Writing Graphql Operations loads about 544 tokens when it runs. Until then it costs about 57 tokens; SKILL.md has 212 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~57
When it runs · the whole SKILL.md, loaded when a task matches
~544

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 212 words (~544 tokens).

“Operations live in apps//graphql/ as .graphql files, one operation per file, kebab-case name matching the operation:”

— opening of SKILL.md by saleor, Custom licence
name
writing-graphql-operations

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/writing-graphql-operations of saleor/apps.

Open the folder on GitHubat commit 4400af6

Compare with similar skills

Writing Graphql Operations 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.

Writing Graphql Operations compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Writing Graphql Operations this skillsaleor/apps162—~544Automated safety check: PassCustom licence
Nodejs Backend Patternsever-works/ever-works16218 repos~4kAutomated safety check: PassAGPL-3.0
API DesignerJeffallan/claude-skills12k1 repos~2kAutomated safety check: PassMIT
GraphQL Operations with CodegenChrisWiles/claude-code-showcase6.1k3 repos~1.5kAutomated safety check: PassNone
API Design Principlesjh941213/my-cc-harness12518 repos~3.4kAutomated safety check: PassNone
API And Interface Designdzhalaevd/Donatello1358 repos~2.6kAutomated safety check: PassApache-2.0

Similar skills

  • Nodejs Backend Patterns

    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.

    162 GitHub starsUsed in 18 repos~4k tokens
    Backend & APIsAuto-check passed
  • 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.

    12k GitHub starsUsed in 1 repo~2k tokens
    Backend & APIsAuto-check passed
  • GraphQL Operations with Codegen

    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.

    6.1k GitHub starsUsed in 3 repos~1.5k tokens
    Backend & APIsAuto-check passed
  • API Design Principles

    jh941213/my-cc-harness

    REST 및 GraphQL API 설계 원칙 가이드. An agent skill from jh941213/my-cc-harness.

    125 GitHub starsUsed in 18 repos~3.4k tokens
    Backend & APIsAuto-check passed
  • API And Interface Design

    dzhalaevd/Donatello

    Guides stable API and interface design. An agent skill from dzhalaevd/Donatello.

    135 GitHub starsUsed in 8 repos~2.6k tokens
    Backend & APIsAuto-check passed
  • Registers a new syncable entity in three NestJS modules and adds its service and GraphQL resolver layers when contributing to the Twenty server.

    58k GitHub stars~2.9k tokensUpdated today
    Backend & APIsAuto-check passed

More from saleor/apps

  • Scaffold a new shared package in the saleor-apps monorepo under ./packages/.

    162 GitHub stars~608 tokensUpdated 4 days ago
    Auto-check passed
  • A skill your agent uses when adding a changeset, writing changelog or release notes, or when a functional change (feature, fix) is ready to commit.

    162 GitHub stars~514 tokensUpdated 4 days ago
    Auto-check passed
  • Saleor App UI

    saleor/apps

    Styling and layout guide for Saleor Apps using modern macaw-ui and @saleor/apps-ui-next.

    162 GitHub stars~5.8k tokensUpdated 4 days ago
    Auto-check passed
  • A skill your agent uses when asked to create a pull request, write a PR description, or update/rewrite an existing PR description.

    162 GitHub stars~630 tokensUpdated 4 days ago
    Auto-check passed
  • Pinact

    saleor/apps

    Read pinact's documentation with pinact docs list and pinact docs show <name before answering.

    162 GitHub stars~685 tokensUpdated 4 days ago
    Auto-check passed

Works with

Categories

Questions about Writing Graphql Operations

What does Writing Graphql Operations do?

A skill your agent uses when writing or editing GraphQL operations (queries, mutations, fragments, webhook subscriptions) in a Saleor app — adding a .graphql file, adding fields to an existing one…. Writing Graphql Operations is an agent skill from saleor/apps.graphql file, adding fields to an existing one, or regenerating types.

When should I use Writing Graphql Operations?

Writing Graphql Operations fits situations like: editing GraphQL operations (queries; webhook subscriptions) in a Saleor app — adding a .graphql file; adding fields to an existing one; regenerating types.

How do I install Writing Graphql Operations in Claude Code?

Run `npx skills add saleor/apps --skill writing-graphql-operations -a claude-code`. Or copy the skill folder (.claude/skills/writing-graphql-operations in saleor/apps) into .claude/skills/writing-graphql-operations in your project. Claude Code loads it when a task matches its description.

How do I install Writing Graphql Operations in Codex?

Run `npx skills add saleor/apps --skill writing-graphql-operations -a codex`. Or copy the skill folder (.claude/skills/writing-graphql-operations in saleor/apps) into .agents/skills/writing-graphql-operations in your project. Codex loads it when a task matches its description.

Can I use Writing Graphql Operations in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add saleor/apps --skill writing-graphql-operations -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/writing-graphql-operations, .gemini/skills/writing-graphql-operations, .github/skills/writing-graphql-operations and .opencode/skills/writing-graphql-operations in your project.

What does Writing Graphql Operations need to run?

Going by SKILL.md and its folder, Writing Graphql Operations needs the command-line tools its instructions call (pnpm).

Does Writing Graphql Operations access the network?

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.

Is Writing Graphql Operations safe to install?

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.

What licence does Writing Graphql Operations use?

Writing Graphql Operations has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Writing Graphql Operations use?

About 544 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Writing Graphql Operations?

Skills that share tags, products or a category with Writing Graphql Operations: Nodejs Backend Patterns (ever-works/ever-works, 162 stars), API Designer (Jeffallan/claude-skills, 12k stars), GraphQL Operations with Codegen (ChrisWiles/claude-code-showcase, 6.1k stars) and API Design Principles (jh941213/my-cc-harness, 125 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Writing Graphql Operations?

saleor (a GitHub organization) maintains it in saleor/apps, which has 162 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 7, 2026.

Source: saleor/apps on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.