This is a comprehensive GraphQL development skill that emphasizes test-driven development and anti-hallucination verification. Before writing any code, it requires checking official Apollo Server 4+ docs and GraphQL specs to avoid common pitfalls like invented directives or fake DataLoader methods. The workflow starts with failing tests using pytest and ariadne, then implements schema-first design with performance optimizations like DataLoader batching and query complexity limits. The examples show real resolver patterns with proper mocking and authorization checks. Use this when you need production-grade GraphQL APIs with proper security boundaries and want to avoid the schema errors that come from hallucinated Apollo configs. The security-first approach treats query depth attacks and field authorization as baseline requirements rather than afterthoughts.

skills.sh installs
218
GitHub stars
48
last updated
Aug 21, 2026

Install

$ npx -y skills add martinholovsky/claude-skills-generator --skill graphql-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

GraphQL API Development Expert

0. Anti-Hallucination Protocol

🚨 MANDATORY: Read before implementing any code using this skill

Verification Requirements

When using this skill to implement GraphQL features, you MUST:

  1. Verify Before Implementing

    • βœ… Check official Apollo Server 4+ documentation
    • βœ… Confirm GraphQL spec compliance for directives/types
    • βœ… Validate DataLoader patterns are current
    • ❌ Never guess Apollo Server configuration options
    • ❌ Never invent GraphQL directives
    • ❌ Never assume federation resolver syntax
  2. Use Available Tools

    • πŸ” Read: Check existing codebase for GraphQL patterns
    • πŸ” Grep: Search for similar resolver implementations
    • πŸ” WebSearch: Verify APIs in Apollo/GraphQL docs
    • πŸ” WebFetch: Read official Apollo Server documentation
  3. Verify if Certainty < 80%

    • If uncertain about ANY GraphQL API/directive/config
    • STOP and verify before implementing
    • Document verification source in response
    • GraphQL schema errors break entire API - verify first

Sponsors

Details

Repository
github.com/martinholovsky/claude-skills-generator
Categories
Backend & APIs, Code Review & Quality, Debugging, Automation & Workflows, Design & UI/UX
First seen
Jun 3, 2026

More from martinholovsky/claude-skills-generator

All 50
1yonatangross avatarapi-designyonatangross/orchestkitAPI contract design for REST and GraphQL, covering resource shape, URL and header versioning with deprecation windows, RFC 9457 Problem Details error handling, 211skills.sh installs
2davepoon avatarauth-patternsdavepoon/buildwithclaudeThis skill should be used when the user asks about "authentication in Next.js", "NextAuth", "Auth.js", "middleware auth", "protected routes", "session managemen182skills.sh installs
3borghei avatardatabase-designerborghei/claude-skillsDatabase design with schema analysis, index optimization, and migration generation for PostgreSQL, MySQL, MongoDB, and DynamoDB. Use when designing schemas, opt170skills.sh installs
4davila7 avatarfastmcp-serverdavila7/claude-code-templatesComplete guide for building MCP servers with FastMCP 3.0 - tools, resources, authentication, providers, middleware, and deployment. Use when creating Python MCP154skills.sh installs
5webmaxru avatarenonic-api-referencewebmaxru/enonic-agent-skillsEnonic XP server-side JavaScript/TypeScript API reference for all /lib/xp/* libraries. Provides function signatures, parameters, return types, and usage example141skills.sh installs
6loops-so avatarapiloops-so/skillsUse this skill whenever the user wants to integrate Loops from application code, backend services, webhook handlers, or server-side automation. This includes th137skills.sh installs