[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79AA3YFSBC3AN2NTNG5TVSY":3,"skill-same:01M79AA3YFSBC3AN2NTNG5TVSY":50},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M79AA3YFSBC3AN2NTNG5TVSY","graphql-implementation",null,"Builds GraphQL APIs with schema design, resolvers, error handling, and performance optimization using Apollo or Graphene. Use when creating flexible query APIs, migrating from REST, or implementing real-time subscriptions.","Elogic360\u002Fsoftware-factory","Elogic360","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F156535519?v=4","01M74NH3F0RB13PWB7JZDE2V80","elogic360","01M74NH3FPC65082MDZVMFHDM3",0,"MIT","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fgraphql-implementation\u002Fskills\u002Fgraphql-implementation\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: graphql-implementation\ndescription: Builds GraphQL APIs with schema design, resolvers, error handling, and performance optimization using Apollo or Graphene. Use when creating flexible query APIs, migrating from REST, or implementing real-time subscriptions.\nlicense: MIT\n---\n\n# GraphQL Implementation\n\nBuild GraphQL APIs with proper schema design, resolvers, and performance optimization.\n\n## Schema Definition\n\n```graphql\ntype User {\n  id: ID!\n  name: String!\n  email: String!\n  posts(limit: Int = 10): [Post!]!\n}\n\ntype Post {\n  id: ID!\n  title: String!\n  content: String!\n  author: User!\n  createdAt: DateTime!\n}\n\ntype Query {\n  user(id: ID!): User\n  users(limit: Int, offset: Int): [User!]!\n  post(id: ID!): Post\n}\n\ntype Mutation {\n  createUser(input: CreateUserInput!): User!\n  createPost(input: CreatePostInput!): Post!\n}\n\ninput CreateUserInput {\n  name: String!\n  email: String!\n}\n```\n\n## Apollo Server Setup\n\n```javascript\nconst { ApolloServer } = require('@apollo\u002Fserver');\nconst { startStandaloneServer } = require('@apollo\u002Fserver\u002Fstandalone');\n\nconst resolvers = {\n  Query: {\n    user: (_, { id }, { dataSources }) =>\n      dataSources.userAPI.getUser(id),\n    users: (_, { limit, offset }, { dataSources }) =>\n      dataSources.userAPI.getUsers({ limit, offset })\n  },\n  User: {\n    posts: (user, { limit }, { dataSources }) =>\n      dataSources.postAPI.getPostsByUser(user.id, limit)\n  },\n  Mutation: {\n    createUser: (_, { input }, { dataSources }) =>\n      dataSources.userAPI.createUser(input)\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n```\n\n## DataLoader for N+1 Prevention\n\n```javascript\nconst DataLoader = require('dataloader');\n\nconst userLoader = new DataLoader(async (ids) => {\n  const users = await User.find({ _id: { $in: ids } });\n  return ids.map(id => users.find(u => u.id === id));\n});\n```\n\n## Error Handling\n\n```javascript\nconst { GraphQLError } = require('graphql');\n\nthrow new GraphQLError('User not found', {\n  extensions: { code: 'NOT_FOUND', argumentName: 'id' }\n});\n```\n\n## Best Practices\n\n- Use DataLoader to batch queries\n- Implement query complexity limits\n- Design schema around client needs\n- Validate all inputs\n- Use descriptive naming conventions\n\n## Python Graphene\n\nSee [references\u002Fpython-graphene.md](references\u002Fpython-graphene.md) for complete Flask implementation with:\n- ObjectType definitions\n- Query and Mutation classes\n- Input types\n- Flask integration\n\n## Best Practices\n\n**Do:**\n- Use DataLoader to batch queries\n- Implement query complexity limits\n- Design schema around client needs\n- Validate all inputs\n- Use descriptive naming conventions\n- Add subscriptions for real-time data\n\n**Don't:**\n- Allow deeply nested queries without limits\n- Expose database internals\n- Ignore N+1 query problems\n- Return unauthorized data\n- Skip input validation\n","# GraphQL Implementation\n\nBuild GraphQL APIs with proper schema design, resolvers, and performance optimization.\n\n## Schema Definition\n\n```graphql\ntype User {\n  id: ID!\n  name: String!\n  email: String!\n  posts(limit: Int = 10): [Post!]!\n}\n\ntype Post {\n  id: ID!\n  title: String!\n  content: String!\n  author: User!\n  createdAt: DateTime!\n}\n\ntype Query {\n  user(id: ID!): User\n  users(limit: Int, offset: Int): [User!]!\n  post(id: ID!): Post\n}\n\ntype Mutation {\n  createUser(input: CreateUserInput!): User!\n  createPost(input: CreatePostInput!): Post!\n}\n\ninput CreateUserInput {\n  name: String!\n  email: String!\n}\n```\n\n## Apollo Server Setup\n\n```javascript\nconst { ApolloServer } = require('@apollo\u002Fserver');\nconst { startStandaloneServer } = require('@apollo\u002Fserver\u002Fstandalone');\n\nconst resolvers = {\n  Query: {\n    user: (_, { id }, { dataSources }) =>\n      dataSources.userAPI.getUser(id),\n    users: (_, { limit, offset }, { dataSources }) =>\n      dataSources.userAPI.getUsers({ limit, offset })\n  },\n  User: {\n    posts: (user, { limit }, { dataSources }) =>\n      dataSources.postAPI.getPostsByUser(user.id, limit)\n  },\n  Mutation: {\n    createUser: (_, { input }, { dataSources }) =>\n      dataSources.userAPI.createUser(input)\n  }\n};\n\nconst server = new ApolloServer({ typeDefs, resolvers });\n```\n\n## DataLoader for N+1 Prevention\n\n```javascript\nconst DataLoader = require('dataloader');\n\nconst userLoader = new DataLoader(async (ids) => {\n  const users = await User.find({ _id: { $in: ids } });\n  return ids.map(id => users.find(u => u.id === id));\n});\n```\n\n## Error Handling\n\n```javascript\nconst { GraphQLError } = require('graphql');\n\nthrow new GraphQLError('User not found', {\n  extensions: { code: 'NOT_FOUND', argumentName: 'id' }\n});\n```\n\n## Best Practices\n\n- Use DataLoader to batch queries\n- Implement query complexity limits\n- Design schema around client needs\n- Validate all inputs\n- Use descriptive naming conventions\n\n## Python Graphene\n\nSee [references\u002Fpython-graphene.md](references\u002Fpython-graphene.md) for complete Flask implementation with:\n- ObjectType definitions\n- Query and Mutation classes\n- Input types\n- Flask integration\n\n## Best Practices\n\n**Do:**\n- Use DataLoader to batch queries\n- Implement query complexity limits\n- Design schema around client needs\n- Validate all inputs\n- Use descriptive naming conventions\n- Add subscriptions for real-time data\n\n**Don't:**\n- Allow deeply nested queries without limits\n- Expose database internals\n- Ignore N+1 query problems\n- Return unauthorized data\n- Skip input validation\n",{"name":5,"license":15,"description":7},"main","c475fc64e94e803b50d14a791dfee8853fbb2c5c","integrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fgraphql-implementation\u002Fskills\u002Fgraphql-implementation","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory","https:\u002F\u002Fgithub.com\u002FElogic360","2026-11-08 22:21:22",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Elogic360\u002Fsoftware-factory --skill graphql-implementation",{"tool":36,"command":37},"bunx","bunx skills add Elogic360\u002Fsoftware-factory --skill graphql-implementation",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Elogic360\u002Fsoftware-factory --skill graphql-implementation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fgraphql-implementation\u002Fskills\u002Fgraphql-implementation\u002FSKILL.md",true,[44],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"references\u002Fpython-graphene.md","REFERENCE","参考文档",4868,"https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fintegrations\u002Fclaude-skills-secondsky\u002Fplugins\u002Fgraphql-implementation\u002Fskills\u002Fgraphql-implementation\u002Freferences\u002Fpython-graphene.md",[51,59,66,73,80,87],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M79G206MT3J6S0GY3C45P2KV","vss-summarize-video","Use to summarize a recorded video via the LVS summarization microservice (HITL-gated) with a VLM fallback. Not for report generation or live RTSP captioning.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-summarize-video\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M79G1WN63PGRE8CKD47WEBQ5","vss-setup-video-analytics-api","Use to deploy the vss-video-analytics-api REST service standalone (config-source, data-log bind, Elasticsearch, optional Kafka). Not for full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-video-analytics-api\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M79G1S9F7VY3EF6H53PRP5AN","vss-setup-behavior-analytics","Use to deploy the vss-behavior-analytics service standalone (entrypoint, config-source, optional calibration). Not for the full warehouse deploy.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-setup-behavior-analytics\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M79G1N1S1Y27PFZPYMNK1MTQ","vss-search-archive","Use this skill to run top-level VSS fusion search on archived video, or to ingest video files \u002F RTSP streams for search. Do NOT use for ad-hoc visual Q&A (use vss-ask-video), live captioning (use vss-deploy-dense-captioning), or video summarization and reports (use vss-summarize-video).","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-search-archive\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":55,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M79G1H6WN0Q6C0VCAXCZX6B7","vss-query-analytics","Use this skill when reading video-analytics metrics, incidents, alerts, and sensor data via the VA-MCP server (port 9901). Not for live VLM or incident-range narrative reports.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-query-analytics\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":55,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M79G1DYPNXQS7QHZ0AAF5FX5","vss-manage-video-io-storage","Use to call the VIOS REST API (sensor list, timelines, clip extraction, snapshots, add\u002Fdelete sensors and streams). Not for VLM inference or search.","https:\u002F\u002Fgithub.com\u002FElogic360\u002Fsoftware-factory\u002Fblob\u002Fmain\u002Fskills\u002Fnvidia\u002Fvss-manage-video-io-storage\u002FSKILL.md",[],[]]