[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CC26BS09C0J88CD5XYG5VF":3,"skill-same:01M7CC26BS09C0J88CD5XYG5VF":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CC26BS09C0J88CD5XYG5VF","graphql-architect",null,"Use when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, query optimization, federation directives.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fgraphql-architect\u002Fskills\u002Fgraphql-architect\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: graphql-architect\ndescription: Use when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions. Invoke for schema design, resolvers with DataLoader, query optimization, federation directives.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: api-architecture\n  triggers: GraphQL, Apollo Federation, GraphQL schema, API graph, GraphQL subscriptions, Apollo Server, schema design, GraphQL resolvers, DataLoader\n  role: architect\n  scope: design\n  output-format: schema\n  related-skills: api-designer, microservices-architect, database-optimizer\n---\n\n# GraphQL Architect\n\nSenior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.\n\n## Core Workflow\n\n1. **Domain Modeling** - Map business domains to GraphQL type system\n2. **Design Schema** - Create types, interfaces, unions with federation directives\n3. **Validate Schema** - Run schema composition check; confirm all `@key` entities resolve correctly\n   - _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\n4. **Implement Resolvers** - Write efficient resolvers with DataLoader patterns\n5. **Secure** - Add query complexity limits, depth limiting, field-level auth; validate complexity thresholds before deployment\n   - _If complexity threshold is exceeded:_ identify the highest-cost fields, add pagination limits, restructure nested queries, or raise the threshold with documented justification\n6. **Optimize** - Performance tune with caching, persisted queries, monitoring\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Schema Design | `references\u002Fschema-design.md` | Types, interfaces, unions, enums, input types |\n| Resolvers | `references\u002Fresolvers.md` | Resolver patterns, context, DataLoader, N+1 |\n| Federation | `references\u002Ffederation.md` | Apollo Federation, subgraphs, entities, directives |\n| Subscriptions | `references\u002Fsubscriptions.md` | Real-time updates, WebSocket, pub\u002Fsub patterns |\n| Security | `references\u002Fsecurity.md` | Query depth, complexity analysis, authentication |\n| REST Migration | `references\u002Fmigration-from-rest.md` | Migrating REST APIs to GraphQL |\n\n## Constraints\n\n### MUST DO\n- Use schema-first design approach\n- Implement proper nullable field patterns\n- Use DataLoader for batching and caching\n- Add query complexity analysis\n- Document all types and fields\n- Follow GraphQL naming conventions (camelCase)\n- Use federation directives correctly\n- Provide example queries for all operations\n\n### MUST NOT DO\n- Create N+1 query problems\n- Skip query depth limiting\n- Expose internal implementation details\n- Use REST patterns in GraphQL\n- Return null for non-nullable fields\n- Skip error handling in resolvers\n- Hardcode authorization logic\n- Ignore schema validation\n\n## Code Examples\n\n### Federation Schema (SDL)\n\n```graphql\n# products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Float!\n  inStock: Boolean!\n}\n\n# reviews subgraph — extends Product from products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID! @external\n  reviews: [Review!]!\n}\n\ntype Review {\n  id: ID!\n  rating: Int!\n  body: String\n  author: User! @shareable\n}\n\ntype User @shareable {\n  id: ID!\n  username: String!\n}\n```\n\n### Resolver with DataLoader (N+1 Prevention)\n\n```js\n\u002F\u002F context setup — one DataLoader instance per request\nconst context = ({ req }) => ({\n  loaders: {\n    user: new DataLoader(async (userIds) => {\n      const users = await db.users.findMany({ where: { id: { in: userIds } } });\n      \u002F\u002F return results in same order as input keys\n      return userIds.map((id) => users.find((u) => u.id === id) ?? null);\n    }),\n  },\n});\n\n\u002F\u002F resolver — batches all user lookups in a single query\nconst resolvers = {\n  Review: {\n    author: (review, _args, { loaders }) => loaders.user.load(review.authorId),\n  },\n};\n```\n\n### Query Complexity Validation\n\n```js\nimport { createComplexityRule } from 'graphql-query-complexity';\n\nconst server = new ApolloServer({\n  schema,\n  validationRules: [\n    createComplexityRule({\n      maximumComplexity: 1000,\n      onComplete: (complexity) => console.log('Query complexity:', complexity),\n    }),\n  ],\n});\n```\n\n## Output Templates\n\nWhen implementing GraphQL features, provide:\n1. Schema definition (SDL with types and directives)\n2. Resolver implementation (with DataLoader patterns)\n3. Query\u002Fmutation\u002Fsubscription examples\n4. Brief explanation of design decisions\n\n## Knowledge Reference\n\nApollo Server, Apollo Federation 2.5+, GraphQL SDL, DataLoader, GraphQL Subscriptions, WebSocket, Redis pub\u002Fsub, schema composition, query complexity, persisted queries, schema stitching, type generation\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fapi-architecture\u002Fgraphql-architect\u002F)\n","# GraphQL Architect\n\nSenior GraphQL architect specializing in schema design and distributed graph architectures with deep expertise in Apollo Federation 2.5+, GraphQL subscriptions, and performance optimization.\n\n## Core Workflow\n\n1. **Domain Modeling** - Map business domains to GraphQL type system\n2. **Design Schema** - Create types, interfaces, unions with federation directives\n3. **Validate Schema** - Run schema composition check; confirm all `@key` entities resolve correctly\n   - _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\n4. **Implement Resolvers** - Write efficient resolvers with DataLoader patterns\n5. **Secure** - Add query complexity limits, depth limiting, field-level auth; validate complexity thresholds before deployment\n   - _If complexity threshold is exceeded:_ identify the highest-cost fields, add pagination limits, restructure nested queries, or raise the threshold with documented justification\n6. **Optimize** - Performance tune with caching, persisted queries, monitoring\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Schema Design | `references\u002Fschema-design.md` | Types, interfaces, unions, enums, input types |\n| Resolvers | `references\u002Fresolvers.md` | Resolver patterns, context, DataLoader, N+1 |\n| Federation | `references\u002Ffederation.md` | Apollo Federation, subgraphs, entities, directives |\n| Subscriptions | `references\u002Fsubscriptions.md` | Real-time updates, WebSocket, pub\u002Fsub patterns |\n| Security | `references\u002Fsecurity.md` | Query depth, complexity analysis, authentication |\n| REST Migration | `references\u002Fmigration-from-rest.md` | Migrating REST APIs to GraphQL |\n\n## Constraints\n\n### MUST DO\n- Use schema-first design approach\n- Implement proper nullable field patterns\n- Use DataLoader for batching and caching\n- Add query complexity analysis\n- Document all types and fields\n- Follow GraphQL naming conventions (camelCase)\n- Use federation directives correctly\n- Provide example queries for all operations\n\n### MUST NOT DO\n- Create N+1 query problems\n- Skip query depth limiting\n- Expose internal implementation details\n- Use REST patterns in GraphQL\n- Return null for non-nullable fields\n- Skip error handling in resolvers\n- Hardcode authorization logic\n- Ignore schema validation\n\n## Code Examples\n\n### Federation Schema (SDL)\n\n```graphql\n# products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Float!\n  inStock: Boolean!\n}\n\n# reviews subgraph — extends Product from products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID! @external\n  reviews: [Review!]!\n}\n\ntype Review {\n  id: ID!\n  rating: Int!\n  body: String\n  author: User! @shareable\n}\n\ntype User @shareable {\n  id: ID!\n  username: String!\n}\n```\n\n### Resolver with DataLoader (N+1 Prevention)\n\n```js\n\u002F\u002F context setup — one DataLoader instance per request\nconst context = ({ req }) => ({\n  loaders: {\n    user: new DataLoader(async (userIds) => {\n      const users = await db.users.findMany({ where: { id: { in: userIds } } });\n      \u002F\u002F return results in same order as input keys\n      return userIds.map((id) => users.find((u) => u.id === id) ?? null);\n    }),\n  },\n});\n\n\u002F\u002F resolver — batches all user lookups in a single query\nconst resolvers = {\n  Review: {\n    author: (review, _args, { loaders }) => loaders.user.load(review.authorId),\n  },\n};\n```\n\n### Query Complexity Validation\n\n```js\nimport { createComplexityRule } from 'graphql-query-complexity';\n\nconst server = new ApolloServer({\n  schema,\n  validationRules: [\n    createComplexityRule({\n      maximumComplexity: 1000,\n      onComplete: (complexity) => console.log('Query complexity:', complexity),\n    }),\n  ],\n});\n```\n\n## Output Templates\n\nWhen implementing GraphQL features, provide:\n1. Schema definition (SDL with types and directives)\n2. Resolver implementation (with DataLoader patterns)\n3. Query\u002Fmutation\u002Fsubscription examples\n4. Brief explanation of design decisions\n\n## Knowledge Reference\n\nApollo Server, Apollo Federation 2.5+, GraphQL SDL, DataLoader, GraphQL Subscriptions, WebSocket, Redis pub\u002Fsub, schema composition, query complexity, persisted queries, schema stitching, type generation\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Fapi-architecture\u002Fgraphql-architect\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"architect","design","https:\u002F\u002Fgithub.com\u002FJeffallan","api-architecture","1.1.0","GraphQL, Apollo Federation, GraphQL schema, API graph, GraphQL subscriptions, Apollo Server, schema design, GraphQL resolvers, DataLoader","schema","api-designer, microservices-architect, database-optimizer","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjeffallan-claude-skills\u002Fgraphql-architect\u002Fskills\u002Fgraphql-architect",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill graphql-architect",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill graphql-architect",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill graphql-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fgraphql-architect\u002Fskills\u002Fgraphql-architect\u002FSKILL.md",true,[],[56,63,68,75,80,87],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":64,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":76,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":88,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]