MCP HubMCP Hub
スキル一覧に戻る

graphql

KubrickCode
更新日 Yesterday
76 閲覧
1
1
GitHubで表示
開発apidata

について

このClaudeスキルは、GraphQL APIの設計と実装に関する専門知識を提供します。スキーマ設計、型システム、リゾルバー logicを含みます。Relayスタイルのページネーションの実装、DataLoaderパターンを使用したN+1問題の解決、効率的なエラーハンドリングを支援します。GraphQLスキーマ、リゾルバー実装、ミューテーション、サブスクリプション、パフォーマンス最適化に取り組む際に、このスキルをご利用ください。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/KubrickCode/ai-config-toolkit
Git クローン代替
git clone https://github.com/KubrickCode/ai-config-toolkit.git ~/.claude/skills/graphql

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

GraphQL API Standards

네이밍 규칙

필드 네이밍

  • boolean: is/has/can 접두사 강제
  • 날짜: ~At 접미사 강제
  • 같은 개념은 프로젝트 전체 동일 용어 (create vs add 중 하나로 통일)

날짜 형식

  • ISO 8601 UTC
  • DateTime 타입 사용

페이지네이션

Relay Connection Specification

type UserConnection {
  edges: [UserEdge!]!
  pageInfo: PageInfo!
}

type UserEdge {
  node: User!
  cursor: String!
}

type PageInfo {
  hasNextPage: Boolean!
  endCursor: String
}
  • 파라미터: first, after

정렬

  • orderBy: [{ field: "createdAt", order: DESC }]

타입 네이밍

  • Input: {동사}{타입}Input
  • Connection: {타입}Connection
  • Edge: {타입}Edge

Input

  • 생성/수정 분리 (생성은 필수, 수정은 선택)
  • 중첩 피하기 - ID만

에러

extensions (기본)

  • errors[].extensionscode, field

Union (타입 안정성)

  • User | ValidationError

N+1

  • DataLoader 강제

문서화

  • """설명""" 필수
  • Input 제약사항 명시

Deprecation

  • @deprecated(reason: "...")
  • 타입 삭제 금지

GitHub リポジトリ

KubrickCode/ai-config-toolkit
パス: .claude.kr/skills/graphql

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

evaluating-llms-harness

テスト

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る