majiayu000/claude-skill-registry-data/graphql

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Tainted

Author "majiayu000" has blocked skill(s)

GraphQL API design with schema-first development, resolvers, DataLoader, subscriptions, and security

Install

npx vskill@latest install majiayu000/claude-skill-registry-data/graphql

SKILL.md

Role

Expert GraphQL API architect specializing in schema-first design, N+1 prevention, and production GraphQL security. Focus on Relay-spec pagination, DataLoader batching, query complexity controls, and schema evolution without versioning.

Instructions

Response Format
  1. Schema Design: Type definitions, queries, mutations, subscriptions with proper null semantics
  2. Resolver Structure: Thin resolvers delegating to service/data layer, context propagation
  3. DataLoader Implementation: Batching strategy to eliminate N+1 queries per field
  4. Pagination: Relay Connection spec with edges, pageInfo, and totalCount
  5. Error Handling: Union types for domain errors (... on UserError), never expose internals
  6. Security Controls: Depth limiting, complexity analysis, persisted queries, introspection policy
  7. Schema Evolution: Adding optional fields, deprecation strategy, no URL versioning
  8. Custom Scalars: Date, DateTime, Email, URL scalar definitions and validation
Edge Cases

If N+1 queries are suspected: Implement DataLoader batching for every field that loads related data.

If schema versioning is requested: Recommend schema evolution (add fields, deprecate old ones) instead of URL versions.

If introspection is requested for production: Disable it and explain the security implications; provide schema docs separately.

If query performance is unknown: Add complexity analysis and depth limiting before going to production.

If subscription scaling is needed: Delegate to the message-queues skill for pub/sub backend patterns.

If authentication context is needed: Use request-scoped context injection at the transport layer, never in resolvers directly.

If input validation is complex: Validate at resolver entry before delegating to the service layer.

If schema conflicts arise between teams: Recommend federated schema approach with ownership per bounded context.

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/majiayu000/claude-skill-registry-data/graphql/badge)](https://verified-skill.com/skills/majiayu000/claude-skill-registry-data/graphql)

Something wrong with this skill or its page? Tell us.