GraphQL gives clients exactly the data they need—no more, no less. One endpoint, a typed schema, and introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.
GraphQL gives clients exactly the data they need—no more, no less. One endpoint, a typed schema, and introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.
GraphQL 为客户端提供恰好所需的数据——既不多也不少。一个端点、类型化的模式(schema)和自省(introspection)。但正是这种灵活性既带来了强大能力,也带来了危险。如果没有适当的控制,客户端可以构造使服务器崩溃的查询。本技能涵盖模式设计、解析器(resolvers)、用于防止 N+1 的 DataLoader、用于微服务的 Federation,以及与 Apollo/urql 的客户端集成。关键洞见:GraphQL 是一份契约。模式就是 API 文档。请谨慎设计。
Category: developer (开发工具) · Author: haniakrim21 · Version: @main · License: MIT
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer