graphql-architect

graphql-architect is a skill for Claude Code from Jeffallan/claude-skills. It costs 38 tokens per session (1,193 once invoked), scanned A, original, MIT.

A guide for designing GraphQL APIs, which let clients request exactly the data they need. It covers schemas, resolvers, Apollo Federation for joining separate graphs, and real-time subscriptions.

In plain words
What is it for?
Use it to design GraphQL types, connect separate GraphQL services, build resolvers, add real-time updates, and improve query performance.
Why use it?
It helps avoid mismatched definitions between services, slow or expensive queries, and inefficient data loading. It also guides checks for access control and query limits.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fullstack-dev-skills plugin — 71 skills, 2 commands, 8 agents, 4 hooks shipped together

Good fit Use it to design GraphQL types, connect separate GraphQL services, build resolvers, add real-time updates, and improve query performance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeffallan/claude-skills/graphql-architect
About the project

claude-skills is a collection of specialized skills that extends Claude Code for full-stack development. Developers use it for programming languages, frameworks, infrastructure, APIs, testing, DevOps, security, data and machine learning, platform tasks, and project workflows.

Jeffallan/claude-skills · 12,556 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Jeffallan/claude-skills --skill graphql-architect
Clone the repo
git clone --depth 1 https://github.com/Jeffallan/claude-skills

Made for: Claude Code.

Or install fullstack-dev-skills, the plugin that ships this one along with the rest of its 71 skills, 2 commands, 8 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for graphql-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeffallan/claude-skills/graphql-architect/github.svg)](https://agentmods.dev/skills/jeffallan/claude-skills/graphql-architect)
Your own site
<a href="https://agentmods.dev/skills/jeffallan/claude-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/jeffallan/claude-skills/graphql-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for graphql-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeffallan/claude-skills/graphql-architect"><img src="https://agentmods.dev/badge/skills/jeffallan/claude-skills/graphql-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,193 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 4 Oct 2026
  • Snyk pass 4 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01193
Opus 5.5 $0.00015 $0.00477
Sonnet 5.5 $0.00008 $0.00239
Haiku 4.5 $0.00004 $0.00119

Measured 1mo ago against content hash 48f2b8c386de, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

graphql-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

plugin/skills/graphql-architect/SKILL.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GraphQL Architect

Senior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.

Core Workflow

  1. Domain Modeling - Map business domains to GraphQL type system
  2. Design Schema - Create types, interfaces, unions with federation directives
  3. Validate Schema - Run schema composition check; confirm all @key entities resolve correctly
    • If composition fails: review entity @key directives, check for missing or mismatched type definitions across subgraphs, resolve any @external field inconsistencies, then re-run composition
  4. Implement Resolvers - Write efficient resolvers with DataLoader patterns
  5. Secure - Add query complexity limits, depth limiting, field-level auth; validate complexity thresholds before deployment
    • If complexity threshold is exceeded: identify the highest-cost fields, add pagination limits, restructure nested queries, or raise the threshold with documented justification
  6. Optimize - Performance tune with caching, persisted queries, monitoring

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Schema Design references/schema-design.md Types, interfaces, unions, enums, input types
Resolvers references/resolvers.md Resolver patterns, context, DataLoader, N+1
Federation references/federation.md Apollo Federation, subgraphs, entities, directives
Subscriptions references/subscriptions.md Real-time updates, WebSocket, pub/sub patterns
Security references/security.md Query depth, complexity analysis, authentication
REST Migration references/migration-from-rest.md Migrating REST APIs to GraphQL

Constraints

MUST DO

  • Use schema-first design approach
  • Implement proper nullable field patterns
  • Use DataLoader for batching and caching
  • Add query complexity analysis
  • Document all types and fields
  • Follow GraphQL naming conventions (camelCase)
  • Use federation directives correctly
  • Provide example queries for all operations

Read the full file on GitHub · 152 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +3 lines 48f2b8c386de
  2. 3mo ago First seen · 149 lines · 38 tokens per session scan A 0a4e1eb5f4a3

Subscribe to this mod's changes

graphql-architect is a skill published in the GitHub repository Jeffallan/claude-skills (12,556 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 1,193 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

graphql-architect compared with skills from other repositories

graphql-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
graphql-architectJeffallan/claude-skillsSkill13ktodayMITA38Claude Code
dotnet-graphqllandim32/awesome-ai-skillsSkill12d agoMITA79Claude Code
nnews-guidelandim32/awesome-ai-skillsSkill12d agoMITA56Claude Code
dotnet-architecturelandim32/awesome-ai-skillsSkill12d agoMITA82Claude Code
dotnet-multi-tenantlandim32/awesome-ai-skillsSkill12d agoMITA72Claude Code
dotnet-authlandim32/awesome-ai-skillsSkill12d agoMITA89Claude Code
ztools-guidelandim32/awesome-ai-skillsSkill12d agoMITA61Claude Code