[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BN4AKVH7R4G3D891PBTPR6":3,"skill-same:01M7BN4AKVH7R4G3D891PBTPR6":52},{"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":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7BN4AKVH7R4G3D891PBTPR6","graphql-operations",null,"Guide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (2) organizing operations with fragments, (3) optimizing data fetching patterns, (4) setting up type generation or linting, (5) reviewing operations for efficiency.","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\u002Fapollographql-skills\u002Fgraphql-operations\u002Fskills\u002Fgraphql-operations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: graphql-operations\ndescription: >\n  Guide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when:\n  (1) writing GraphQL queries or mutations,\n  (2) organizing operations with fragments,\n  (3) optimizing data fetching patterns,\n  (4) setting up type generation or linting,\n  (5) reviewing operations for efficiency.\nlicense: MIT\ncompatibility: Any GraphQL client (Apollo Client, urql, Relay, etc.)\nmetadata:\n  author: apollographql\n  version: \"1.0.0\"\nallowed-tools: Bash(npm:*) Bash(npx:*) Read Write Edit Glob Grep\n---\n\n# GraphQL Operations Guide\n\nThis guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable.\n\n## Operation Basics\n\n### Query Structure\n\n```graphql\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n    email\n  }\n}\n```\n\n### Mutation Structure\n\n```graphql\nmutation CreatePost($input: CreatePostInput!) {\n  createPost(input: $input) {\n    id\n    title\n    createdAt\n  }\n}\n```\n\n### Subscription Structure\n\n```graphql\nsubscription OnMessageReceived($channelId: ID!) {\n  messageReceived(channelId: $channelId) {\n    id\n    content\n    sender {\n      id\n      name\n    }\n  }\n}\n```\n\n## Quick Reference\n\n### Operation Naming\n\n| Pattern      | Example                                     |\n| ------------ | ------------------------------------------- |\n| Query        | `GetUser`, `ListPosts`, `SearchProducts`    |\n| Mutation     | `CreateUser`, `UpdatePost`, `DeleteComment` |\n| Subscription | `OnMessageReceived`, `OnUserStatusChanged`  |\n\n### Variable Syntax\n\n```graphql\n# Required variable\nquery GetUser($id: ID!) { ... }\n\n# Optional variable with default\nquery ListPosts($first: Int = 20) { ... }\n\n# Multiple variables\nquery SearchPosts($query: String!, $status: PostStatus, $first: Int = 10) { ... }\n```\n\n### Fragment Syntax\n\n```graphql\n# Define fragment\nfragment UserBasicInfo on User {\n  id\n  name\n  avatarUrl\n}\n\n# Use fragment\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    ...UserBasicInfo\n    email\n  }\n}\n```\n\n### Directives\n\n```graphql\nquery GetUser($id: ID!, $includeEmail: Boolean!) {\n  user(id: $id) {\n    id\n    name\n    email @include(if: $includeEmail)\n  }\n}\n\nquery GetPosts($skipDrafts: Boolean!) {\n  posts {\n    id\n    title\n    draft @skip(if: $skipDrafts)\n  }\n}\n```\n\n## Key Principles\n\n### 1. Request Only What You Need\n\n```graphql\n# Good: Specific fields\nquery GetUserName($id: ID!) {\n  user(id: $id) {\n    id\n    name\n  }\n}\n\n# Avoid: Over-fetching\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n    email\n    bio\n    posts {\n      id\n      title\n      content\n      comments {\n        id\n      }\n    }\n    followers {\n      id\n      name\n    }\n    # ... many unused fields\n  }\n}\n```\n\n### 2. Name All Operations\n\n```graphql\n# Good: Named operation\nquery GetUserPosts($userId: ID!) {\n  user(id: $userId) {\n    posts {\n      id\n      title\n    }\n  }\n}\n\n# Avoid: Anonymous operation\nquery {\n  user(id: \"123\") {\n    posts {\n      id\n      title\n    }\n  }\n}\n```\n\n### 3. Use Variables, Not Inline Values\n\n```graphql\n# Good: Variables\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n  }\n}\n\n# Avoid: Hardcoded values\nquery {\n  user(id: \"123\") {\n    id\n    name\n  }\n}\n```\n\n### 4. Colocate Fragments with Components\n\n```tsx\n\u002F\u002F UserAvatar.tsx\nexport const USER_AVATAR_FRAGMENT = gql`\n  fragment UserAvatar on User {\n    id\n    name\n    avatarUrl\n  }\n`;\n\nfunction UserAvatar({ user }) {\n  return \u003Cimg src={user.avatarUrl} alt={user.name} \u002F>;\n}\n```\n\n## Reference Files\n\nDetailed documentation for specific topics:\n\n- [Queries](references\u002Fqueries.md) - Query patterns and optimization\n- [Mutations](references\u002Fmutations.md) - Mutation patterns and error handling\n- [Fragments](references\u002Ffragments.md) - Fragment organization and reuse\n- [Variables](references\u002Fvariables.md) - Variable usage and types\n- [Tooling](references\u002Ftooling.md) - Code generation and linting\n\n## Ground Rules\n\n- ALWAYS name your operations (no anonymous queries\u002Fmutations)\n- ALWAYS use variables for dynamic values\n- ALWAYS request only the fields you need\n- ALWAYS include `id` field for cacheable types\n- NEVER hardcode values in operations\n- NEVER duplicate field selections across files\n- PREFER fragments for reusable field selections\n- PREFER colocating fragments with components\n- USE descriptive operation names that reflect purpose\n- USE `@include`\u002F`@skip` for conditional fields\n","# GraphQL Operations Guide\n\nThis guide covers best practices for writing GraphQL operations (queries, mutations, subscriptions) as a client developer. Well-written operations are efficient, type-safe, and maintainable.\n\n## Operation Basics\n\n### Query Structure\n\n```graphql\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n    email\n  }\n}\n```\n\n### Mutation Structure\n\n```graphql\nmutation CreatePost($input: CreatePostInput!) {\n  createPost(input: $input) {\n    id\n    title\n    createdAt\n  }\n}\n```\n\n### Subscription Structure\n\n```graphql\nsubscription OnMessageReceived($channelId: ID!) {\n  messageReceived(channelId: $channelId) {\n    id\n    content\n    sender {\n      id\n      name\n    }\n  }\n}\n```\n\n## Quick Reference\n\n### Operation Naming\n\n| Pattern      | Example                                     |\n| ------------ | ------------------------------------------- |\n| Query        | `GetUser`, `ListPosts`, `SearchProducts`    |\n| Mutation     | `CreateUser`, `UpdatePost`, `DeleteComment` |\n| Subscription | `OnMessageReceived`, `OnUserStatusChanged`  |\n\n### Variable Syntax\n\n```graphql\n# Required variable\nquery GetUser($id: ID!) { ... }\n\n# Optional variable with default\nquery ListPosts($first: Int = 20) { ... }\n\n# Multiple variables\nquery SearchPosts($query: String!, $status: PostStatus, $first: Int = 10) { ... }\n```\n\n### Fragment Syntax\n\n```graphql\n# Define fragment\nfragment UserBasicInfo on User {\n  id\n  name\n  avatarUrl\n}\n\n# Use fragment\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    ...UserBasicInfo\n    email\n  }\n}\n```\n\n### Directives\n\n```graphql\nquery GetUser($id: ID!, $includeEmail: Boolean!) {\n  user(id: $id) {\n    id\n    name\n    email @include(if: $includeEmail)\n  }\n}\n\nquery GetPosts($skipDrafts: Boolean!) {\n  posts {\n    id\n    title\n    draft @skip(if: $skipDrafts)\n  }\n}\n```\n\n## Key Principles\n\n### 1. Request Only What You Need\n\n```graphql\n# Good: Specific fields\nquery GetUserName($id: ID!) {\n  user(id: $id) {\n    id\n    name\n  }\n}\n\n# Avoid: Over-fetching\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n    email\n    bio\n    posts {\n      id\n      title\n      content\n      comments {\n        id\n      }\n    }\n    followers {\n      id\n      name\n    }\n    # ... many unused fields\n  }\n}\n```\n\n### 2. Name All Operations\n\n```graphql\n# Good: Named operation\nquery GetUserPosts($userId: ID!) {\n  user(id: $userId) {\n    posts {\n      id\n      title\n    }\n  }\n}\n\n# Avoid: Anonymous operation\nquery {\n  user(id: \"123\") {\n    posts {\n      id\n      title\n    }\n  }\n}\n```\n\n### 3. Use Variables, Not Inline Values\n\n```graphql\n# Good: Variables\nquery GetUser($id: ID!) {\n  user(id: $id) {\n    id\n    name\n  }\n}\n\n# Avoid: Hardcoded values\nquery {\n  user(id: \"123\") {\n    id\n    name\n  }\n}\n```\n\n### 4. Colocate Fragments with Components\n\n```tsx\n\u002F\u002F UserAvatar.tsx\nexport const USER_AVATAR_FRAGMENT = gql`\n  fragment UserAvatar on User {\n    id\n    name\n    avatarUrl\n  }\n`;\n\nfunction UserAvatar({ user }) {\n  return \u003Cimg src={user.avatarUrl} alt={user.name} \u002F>;\n}\n```\n\n## Reference Files\n\nDetailed documentation for specific topics:\n\n- [Queries](references\u002Fqueries.md) - Query patterns and optimization\n- [Mutations](references\u002Fmutations.md) - Mutation patterns and error handling\n- [Fragments](references\u002Ffragments.md) - Fragment organization and reuse\n- [Variables](references\u002Fvariables.md) - Variable usage and types\n- [Tooling](references\u002Ftooling.md) - Code generation and linting\n\n## Ground Rules\n\n- ALWAYS name your operations (no anonymous queries\u002Fmutations)\n- ALWAYS use variables for dynamic values\n- ALWAYS request only the fields you need\n- ALWAYS include `id` field for cacheable types\n- NEVER hardcode values in operations\n- NEVER duplicate field selections across files\n- PREFER fragments for reusable field selections\n- PREFER colocating fragments with components\n- USE descriptive operation names that reflect purpose\n- USE `@include`\u002F`@skip` for conditional fields\n",{"name":5,"license":15,"metadata":24,"description":27,"allowed-tools":28,"compatibility":29},{"author":25,"version":26},"apollographql","1.0.0","Guide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (2) organizing operations with fragments, (3) optimizing data fetching patterns, (4) setting up type generation or linting, (5) reviewing operations for efficiency.\n","Bash(npm:*) Bash(npx:*) Read Write Edit Glob Grep","Any GraphQL client (Apollo Client, urql, Relay, etc.)","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fapollographql-skills\u002Fgraphql-operations\u002Fskills\u002Fgraphql-operations",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":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill graphql-operations",{"tool":44,"command":45},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill graphql-operations",{"tool":47,"command":48},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill graphql-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fapollographql-skills\u002Fgraphql-operations\u002Fskills\u002Fgraphql-operations\u002FSKILL.md",true,[],[53,60,65,72,77,84],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"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":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"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":73,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]