跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Apollo Server

技能 已验证 活跃

Guide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining GraphQL schemas, (3) implementing authentication or authorization, (4) creating plugins or custom data sources, (5) troubleshooting Apollo Server errors or performance issues.

目的

To guide developers in effectively building robust and performant GraphQL servers with Apollo Server 5.x, covering setup, core concepts, and best practices.

功能

  • Guidance on Apollo Server 5.x setup and integration
  • Examples for schema definition and resolver implementation
  • Instructions for authentication, authorization, and context management
  • Documentation on plugins, data sources, and error handling
  • Troubleshooting tips for common issues

使用场景

  • Setting up a new Apollo Server project
  • Writing resolvers or defining GraphQL schemas
  • Implementing authentication or authorization
  • Creating plugins or custom data sources
  • Troubleshooting Apollo Server errors or performance issues

非目标

  • Building GraphQL clients (e.g., Apollo Client)
  • Using older versions of Apollo Server
  • Providing a runtime execution environment for GraphQL schemas

实践

  • Schema Design
  • Resolver Patterns
  • Context Management
  • Error Handling
  • Performance Optimization

先决条件

  • Node.js v20+
  • TypeScript 4.7+

安装

请先添加 Marketplace

/plugin marketplace add apollographql/skills
/plugin install skills@apollo-marketplace

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标62
许可证MIT
状态
查看源代码

类似扩展

Netlify Identity

100

用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。

技能
netlify

Apollo Router

100

Version-aware guide for configuring and running Apollo Router for federated GraphQL supergraphs. Generates correct YAML for both Router v1.x and v2.x. Use this skill when: (1) setting up Apollo Router to run a supergraph, (2) configuring routing, headers, or CORS, (3) implementing custom plugins (Rhai scripts or coprocessors), (4) configuring telemetry (tracing, metrics, logging), (5) troubleshooting Router performance or connectivity issues.

技能
apollographql

Apollo Federation

100

Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated supergraph, (2) defining or modifying entities with @key, (3) sharing types/fields across subgraphs with @shareable, (4) working with federation directives (@external, @requires, @provides, @override, @inaccessible), (5) troubleshooting composition errors, (6) any task involving federation schema design patterns.

技能
apollographql

Rover

98

Guide for using Apollo Rover CLI to manage GraphQL schemas and federation. Use this skill when: (1) publishing or fetching subgraph/graph schemas, (2) composing supergraph schemas locally or via GraphOS, (3) running local supergraph development with rover dev, (4) validating schemas with check and lint commands, (5) configuring Rover authentication and environment.

技能
apollographql

Apollo Kotlin

98

Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin/JVM, or KMP, (2) configuring schema download and codegen for GraphQL services, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions,

技能
apollographql

X Twitter Scraper

100

当用户需要通过 Xquik 获取 X (Twitter) 数据或执行需要确认的 X 操作时使用:推文搜索、用户查找、关注者提取、媒体下载、监控、Webhook、MCP、SDK、发布、点赞、私信和个人资料更新。需要 Xquik API 密钥。切勿索要 X 登录凭据。

技能
Xquik-dev