graphql-architect

仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由

适合设计跨服务 GraphQL 架构与性能调优的工程师。

这个 Skill 做什么

为 GraphQL 架构、模式设计、Apollo Federation 与订阅优化提供专家级指导。

帮你把业务模型照着 GraphQL 的类型系统画出来,设计 schema、resolver、订阅和跨服务的 Apollo Federation 拆分。适合在要搭分布式 GraphQL、实现 DataLoader 防止 N+1、优化查询性能或做实时报文流时使用。特点是兼顾 schema 设计和运行时性能,熟悉 federation directives、订阅和分布式服务的边界划分。

▸ 展开 SKILL.md 英文原文

Use when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, query optimization, federation directives.

开发编程GraphQLApollo Federation性能优化通用
1.1w
Stars
984
Forks
40
仓库内 Skill
+310
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/graphql-architect/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/graphql-architect/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# GraphQL Architect

Senior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.

## Core Workflow

1. **Domain Modeling** - Map business domains to GraphQL type system
2. **Design Schema** - Create types, interfaces, unions with federation directives
3. **Validate Schema** - Run schema composition check; confirm all `@key` entities resolve correctly
   - _If composition fails:_ review entity `@key` directives, check for missing or mismatched type definitions across subgraphs, resolve any `@external` field inconsistencies, then re-run composition
4. **Implement R
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有