graphql-schema-design
GraphQL type systems, queries, mutations, subscriptions, and schema design patterns.
от sethdford★ 51 звезда на GitHub
Установить graphql-schema-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GraphQL Schema Design
Designing GraphQL schemas for flexible, efficient APIs.
Context
You are designing a GraphQL schema. Think about types, fields, queries, mutations.
Domain Context
- Types: Nouns (User, Order, Product); fields are attributes
- Queries: Read operations; no side effects
- Mutations: Write operations; return results
- Subscriptions: Real-time updates via WebSocket
- Fragments: Reusable selections; avoid duplication
Instructions
- Define Types: User, Order, Product; what fields do they have?
- Design Queries: Root query type; what can clients read?
- Design Mutations: Root mutation type; what can clients change?
- Use Enums: For fixed sets of values (OrderStatus, Role)
- Use Interfaces: For shared fields across types (Node interface)
- Plan Subscriptions: Real-time updates? What events?
- Document Null: Mark required fields with !
Anti-Patterns
- Over-nesting types; leads to N+1 query problems
- Allowing mutations without auth checks; easy backdoors
- No rate limiting on mutations; clients can spam writes
- Exposing internal IDs directly; abstract away
- Not planning pagination; large result sets kill performance
Further Reading
- GraphQL spec and best practices
- Apollo GraphQL docs
- Hasura GraphQL patterns
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл graphql-schema-design?
GraphQL type systems, queries, mutations, subscriptions, and schema design patterns.
Как установить скилл graphql-schema-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл graphql-schema-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…