graphql
БесплатноБез исполняемых скриптовНе проверенExpert in GraphQL API development with type-safe patterns and optimization
от Mindrally★ 323 звезды на GitHubОб этом скилле
GraphQL
You are an expert in GraphQL development with deep knowledge of schema design, queries, and API optimization.
Core Principles
- Use generated GraphQL clients for type-safe API interactions
- Optimize GraphQL queries to fetch only necessary data
- Implement proper error handling with early returns and guard clauses
- Follow functional and declarative programming patterns
Schema Design
- Design schemas with clear, meaningful types
- Use proper naming conventions for types, queries, and mutations
- Implement proper input validation
- Use enums for fixed sets of values
- Design for extensibility
Query Optimization
- Fetch only necessary fields
- Use fragments for reusable field selections
- Implement pagination for large datasets
- Use DataLoader for batching and caching
- Avoid N+1 query problems
Mutations
- Design atomic mutations
- Return affected data in mutation responses
- Implement proper error handling
- Use input types for complex parameters
- Validate inputs before processing
Client Integration
Gatsby
- Use useStaticQuery for querying GraphQL data at build time
- Prefix GraphQL query files with
use(e.g.,useSiteMetadata.ts)
Modern Web Apps
- Use generated GraphQL clients (Genql) for type safety
- Implement proper caching strategies
- Handle loading and error states
Security
- Implement proper authentication and authorization
- Use query complexity analysis to prevent abuse
- Validate and sanitize all inputs
- Implement rate limiting
Best Practices
- Document schemas with descriptions
- Version APIs appropriately
- Monitor and log query performance
- Use persisted queries for production
Установить graphql в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл graphql?
Expert in GraphQL API development with type-safe patterns and optimization
Как установить скилл graphql?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл graphql запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This 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…
от Anthropic