[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M751BVKGE4JXJM6K8NDKREMN":3,"skill-same:01M751BVKGE4JXJM6K8NDKREMN":56},{"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":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":49},"01M751BVKGE4JXJM6K8NDKREMN","x-review-graphql",null,"Validates GraphQL schema design, resolver implementation, security patterns, and observability for compliance with best practices.","review-bench\u002Federcnj_ia-dev-environment","review-bench","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F286778065?v=4","01M7517F9NTEPDZDAXJBR30FWT","ReviewBench","01M7517FAC9F4P7TGWCNJ8VYVW",0,"MIT","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Freview\u002Fx-review-graphql\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: x-review-graphql\ndescription: \"Validates GraphQL schema design, resolver implementation, security patterns, and observability for compliance with best practices.\"\nuser-invocable: true\nallowed-tools: Read, Grep, Glob, Bash\nargument-hint: \"[schema-file or resolver-name]\"\nrequires-capabilities: []\n---\n\n## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: GraphQL Schema & Resolver Review\n\n## Purpose\n\nReview GraphQL schema design, resolver implementation, security patterns, and observability for compliance with best practices including Relay Connection spec, query complexity limiting, and N+1 prevention.\n\n## Activation Condition\n\nInclude this skill when the project uses GraphQL protocol (`interfaces` contains `type: graphql`).\n\n## Triggers\n\n- `\u002Fx-review-graphql schema.graphqls` -- review a specific schema file\n- `\u002Fx-review-graphql TransactionResolver` -- review a specific resolver\n- `\u002Fx-review-graphql` -- review all GraphQL schemas and resolvers\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `target` | String | No | (all) | Schema file path or resolver class name |\n\n## Prerequisites\n\n- GraphQL schema files (`*.graphqls`, `*.gql`) or code-first schema definitions exist\n- GraphQL framework dependency is configured\n- Resolver classes\u002Ffunctions are implemented\n\n## Workflow\n\n### Step 1 — Discover Schema Files\n\nScan for `*.graphqls`, `*.gql`, or code-first schema definitions:\n- List all types, queries, mutations, and subscriptions\n- Identify input types and custom scalars\n\n### Step 2 — Discover Resolvers\n\nScan for resolver classes\u002Ffunctions:\n- Map resolvers to schema types\n- Identify DataLoader usage\n\n### Step 3 — Validate Schema Design\n\nCheck each type\u002Foperation:\n- Naming conventions (PascalCase types, camelCase fields, UPPER_SNAKE_CASE enums)\n- Pagination patterns (Relay Connection spec)\n- Mutation input\u002Fpayload design\n- Subscription lifecycle\n\n### Step 4 — Validate Resolver Patterns\n\nCheck implementation:\n- DataLoader for N+1 prevention\n- Complexity and depth limiting\n- Field-level authorization\n- Error handling\n\n### Step 5 — Validate Security\n\nCheck security patterns:\n- Authentication on entry points\n- Introspection disabled in production\n- No sensitive data in errors\n\n### Step 6 — Generate Report\n\nSummarize findings as checklist:\n- List compliant items\n- List violations with file paths and line numbers\n- Suggest fixes for each violation\n\n## Schema Design Checklist (14 points)\n\n### Naming & Types (1-5)\n1. Types use PascalCase (`Transaction`, `PaymentMethod`)\n2. Fields use camelCase (`transactionId`, `createdAt`)\n3. Enums use UPPER_SNAKE_CASE (`PAYMENT_APPROVED`, `PAYMENT_DENIED`)\n4. Input types suffixed with `Input` (`CreateTransactionInput`)\n5. Mutation payloads suffixed with `Payload` (`CreateTransactionPayload`)\n\n### Query Design (6-9)\n6. Cursor-based pagination for lists (Relay Connection spec: `edges`, `node`, `pageInfo`, `cursor`)\n7. No nested queries deeper than 4 levels without justification\n8. Nullable vs non-null strategy consistent (non-null by default, nullable where absence is valid)\n9. Custom scalars for domain types (`DateTime`, `Money`, `Email`)\n\n### Mutation Design (10-12)\n10. Mutations accept single `input` argument (not multiple args)\n11. Mutation payloads include both `result` and `errors` fields (union type for errors)\n12. Idempotency key pattern for critical mutations (`clientMutationId`)\n\n### Subscription Design (13-14)\n13. Subscriptions have clear lifecycle (start, data, complete, error)\n14. Subscription filters prevent over-broadcasting (topic-based filtering)\n\n## Resolver Checklist (10 points)\n\n### Performance (15-19)\n15. DataLoader used for batch loading (N+1 prevention)\n16. Complexity analysis configured (max query complexity limit)\n17. Depth limiting configured (max depth 10-15)\n18. Field-level resolvers are lazy (not pre-loading unused fields)\n19. Database queries scoped to requested fields only (projection)\n\n### Security (20-22)\n20. Authentication on schema entry points (Query, Mutation, Subscription)\n21. Field-level authorization for sensitive data\n22. Introspection disabled in production\n\n### Error Handling (23-24)\n23. Errors follow GraphQL spec (`errors` array with `message`, `locations`, `path`, `extensions`)\n24. Domain errors use union types or `extensions.code` (not just string messages)\n\n## Observability Checklist (4 points)\n\n25. Trace spans per resolver execution\n26. Metrics: query complexity, execution time, error rate per operation\n27. Structured logging: operation name, variables (masked), duration\n28. No sensitive data in error messages, traces, or logs\n\n## Output Format\n\n```\n## GraphQL Review — [Schema\u002FChange Description]\n\n### Schema Quality: HIGH \u002F MEDIUM \u002F LOW\n### Resolver Quality: HIGH \u002F MEDIUM \u002F LOW\n\n### Schema Findings\n1. [Finding with file, line, issue, fix]\n\n### Resolver Findings\n1. [Finding with file, line, issue, fix]\n\n### Security Findings\n1. [Finding with severity, issue, fix]\n\n### Checklist Results\n[Items that passed \u002F failed \u002F not applicable]\n\n### Verdict: APPROVE \u002F REQUEST CHANGES\n```\n\n## Error Handling\n\n| Scenario | Action |\n|----------|--------|\n| No GraphQL schema files found | Report INFO: no GraphQL schemas discovered |\n| N+1 detected without DataLoader | REQUEST CHANGES with DataLoader example |\n| Introspection enabled in production | REQUEST CHANGES with configuration fix |\n\n## Rules\n\n- REQUEST CHANGES if N+1 detected without DataLoader\n- REQUEST CHANGES if no query depth\u002Fcomplexity limiting\n- REQUEST CHANGES if introspection enabled in production config\n- REQUEST CHANGES if sensitive data exposed without field-level auth\n- Verify pagination follows Relay Connection spec\n","## Global Output Policy\n\n- **Language**: English ONLY.\n- **Tone**: Technical, Direct, and Concise.\n- **Efficiency**: Remove all conversational fillers and greetings to save tokens.\n\n# Skill: GraphQL Schema & Resolver Review\n\n## Purpose\n\nReview GraphQL schema design, resolver implementation, security patterns, and observability for compliance with best practices including Relay Connection spec, query complexity limiting, and N+1 prevention.\n\n## Activation Condition\n\nInclude this skill when the project uses GraphQL protocol (`interfaces` contains `type: graphql`).\n\n## Triggers\n\n- `\u002Fx-review-graphql schema.graphqls` -- review a specific schema file\n- `\u002Fx-review-graphql TransactionResolver` -- review a specific resolver\n- `\u002Fx-review-graphql` -- review all GraphQL schemas and resolvers\n\n## Parameters\n\n| Parameter | Type | Required | Default | Description |\n|-----------|------|----------|---------|-------------|\n| `target` | String | No | (all) | Schema file path or resolver class name |\n\n## Prerequisites\n\n- GraphQL schema files (`*.graphqls`, `*.gql`) or code-first schema definitions exist\n- GraphQL framework dependency is configured\n- Resolver classes\u002Ffunctions are implemented\n\n## Workflow\n\n### Step 1 — Discover Schema Files\n\nScan for `*.graphqls`, `*.gql`, or code-first schema definitions:\n- List all types, queries, mutations, and subscriptions\n- Identify input types and custom scalars\n\n### Step 2 — Discover Resolvers\n\nScan for resolver classes\u002Ffunctions:\n- Map resolvers to schema types\n- Identify DataLoader usage\n\n### Step 3 — Validate Schema Design\n\nCheck each type\u002Foperation:\n- Naming conventions (PascalCase types, camelCase fields, UPPER_SNAKE_CASE enums)\n- Pagination patterns (Relay Connection spec)\n- Mutation input\u002Fpayload design\n- Subscription lifecycle\n\n### Step 4 — Validate Resolver Patterns\n\nCheck implementation:\n- DataLoader for N+1 prevention\n- Complexity and depth limiting\n- Field-level authorization\n- Error handling\n\n### Step 5 — Validate Security\n\nCheck security patterns:\n- Authentication on entry points\n- Introspection disabled in production\n- No sensitive data in errors\n\n### Step 6 — Generate Report\n\nSummarize findings as checklist:\n- List compliant items\n- List violations with file paths and line numbers\n- Suggest fixes for each violation\n\n## Schema Design Checklist (14 points)\n\n### Naming & Types (1-5)\n1. Types use PascalCase (`Transaction`, `PaymentMethod`)\n2. Fields use camelCase (`transactionId`, `createdAt`)\n3. Enums use UPPER_SNAKE_CASE (`PAYMENT_APPROVED`, `PAYMENT_DENIED`)\n4. Input types suffixed with `Input` (`CreateTransactionInput`)\n5. Mutation payloads suffixed with `Payload` (`CreateTransactionPayload`)\n\n### Query Design (6-9)\n6. Cursor-based pagination for lists (Relay Connection spec: `edges`, `node`, `pageInfo`, `cursor`)\n7. No nested queries deeper than 4 levels without justification\n8. Nullable vs non-null strategy consistent (non-null by default, nullable where absence is valid)\n9. Custom scalars for domain types (`DateTime`, `Money`, `Email`)\n\n### Mutation Design (10-12)\n10. Mutations accept single `input` argument (not multiple args)\n11. Mutation payloads include both `result` and `errors` fields (union type for errors)\n12. Idempotency key pattern for critical mutations (`clientMutationId`)\n\n### Subscription Design (13-14)\n13. Subscriptions have clear lifecycle (start, data, complete, error)\n14. Subscription filters prevent over-broadcasting (topic-based filtering)\n\n## Resolver Checklist (10 points)\n\n### Performance (15-19)\n15. DataLoader used for batch loading (N+1 prevention)\n16. Complexity analysis configured (max query complexity limit)\n17. Depth limiting configured (max depth 10-15)\n18. Field-level resolvers are lazy (not pre-loading unused fields)\n19. Database queries scoped to requested fields only (projection)\n\n### Security (20-22)\n20. Authentication on schema entry points (Query, Mutation, Subscription)\n21. Field-level authorization for sensitive data\n22. Introspection disabled in production\n\n### Error Handling (23-24)\n23. Errors follow GraphQL spec (`errors` array with `message`, `locations`, `path`, `extensions`)\n24. Domain errors use union types or `extensions.code` (not just string messages)\n\n## Observability Checklist (4 points)\n\n25. Trace spans per resolver execution\n26. Metrics: query complexity, execution time, error rate per operation\n27. Structured logging: operation name, variables (masked), duration\n28. No sensitive data in error messages, traces, or logs\n\n## Output Format\n\n```\n## GraphQL Review — [Schema\u002FChange Description]\n\n### Schema Quality: HIGH \u002F MEDIUM \u002F LOW\n### Resolver Quality: HIGH \u002F MEDIUM \u002F LOW\n\n### Schema Findings\n1. [Finding with file, line, issue, fix]\n\n### Resolver Findings\n1. [Finding with file, line, issue, fix]\n\n### Security Findings\n1. [Finding with severity, issue, fix]\n\n### Checklist Results\n[Items that passed \u002F failed \u002F not applicable]\n\n### Verdict: APPROVE \u002F REQUEST CHANGES\n```\n\n## Error Handling\n\n| Scenario | Action |\n|----------|--------|\n| No GraphQL schema files found | Report INFO: no GraphQL schemas discovered |\n| N+1 detected without DataLoader | REQUEST CHANGES with DataLoader example |\n| Introspection enabled in production | REQUEST CHANGES with configuration fix |\n\n## Rules\n\n- REQUEST CHANGES if N+1 detected without DataLoader\n- REQUEST CHANGES if no query depth\u002Fcomplexity limiting\n- REQUEST CHANGES if introspection enabled in production config\n- REQUEST CHANGES if sensitive data exposed without field-level auth\n- Verify pagination follows Relay Connection spec\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25,"user-invocable":26,"requires-capabilities":27},"Read, Grep, Glob, Bash","[schema-file or resolver-name]",true,[],"main","952a630c6f38d193a349d86fa18db1de8843e837","src\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Freview\u002Fx-review-graphql",1,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment","https:\u002F\u002Fgithub.com\u002Freview-bench","https:\u002F\u002Freview-bench.ai","An open benchmark for AI code review.","2026-10-27 06:56:37",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":26},[39,42,45],{"tool":40,"command":41},"npx","npx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-review-graphql",{"tool":43,"command":44},"bunx","bunx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-review-graphql",{"tool":46,"command":47},"pnpm","pnpm dlx skills add review-bench\u002Federcnj_ia-dev-environment --skill x-review-graphql","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Freview\u002Fx-review-graphql\u002FSKILL.md",[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"README.md","REFERENCE","参考文档",1264,"https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Fmain\u002Fresources\u002Ftargets\u002Fclaude\u002Fskills\u002Fconditional\u002Freview\u002Fx-review-graphql\u002FREADME.md",[57,64,71,78,85,92],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M757M8J48TQ1Y3X25GSJBXAS","x-parallel-eval","Detects and classifies file-collision risks between work units (tasks, stories, or epic phases) before parallel execution. Reads ## File Footprint blocks produced by x-task-plan \u002F x-story-plan, applies the parallelism-heuristics knowledge pack (hard \u002F regen \u002F soft categories + hotspot overrides), and emits a collision matrix + serialization recommendation in Markdown (default) or JSON.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fx-parallel-eval\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":19},"01M757M57XMR9546S69466HDWT","parallelism-heuristics","Canonical catalog of file-collision heuristics for parallel task, story, and epic execution. Defines the File Footprint block format, the three Conflict Categories (hard \u002F regen \u002F soft), a hotspot list of high-contention paths, and the degrade-with-warning policy. Consumed by x-task-plan, x-story-plan, x-epic-map, x-parallel-eval, and x-dev-*-implement.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fparallelism-heuristics\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M757M11SZ8P1VCQABT08QVYA","x-watch-pr-ci","Polls a PR's CI checks and Copilot review status, blocking until checks complete or timeout. Returns one of 8 stable exit codes (SUCCESS=0, CI_PENDING_PROCEED=10, CI_FAILED=20, TIMEOUT=30, PR_ALREADY_MERGED=40, NO_CI_CONFIGURED=50, PR_CLOSED=60, PR_NOT_FOUND=70). Writes a versioned state-file for session resume.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-watch-pr-ci\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M757KW53K8KFPGADFB4PH949","x-validate-docs","Documentation freshness gate: validates 6 dimensions (readme, api-specs, grpc-proto, adr, skill-docs, system-architecture) against code changes in a PR. Stack-aware — only validates targets declared\u002Fauto-detected from ProjectConfig.documentation.targets. Returns exit non-zero on staleness; produces structured report.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-validate-docs\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"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},"01M757KQZHSA10MKC0CR571D60","x-update-system-architecture","Incrementally updates docs\u002Farchitecture\u002Fsystem.md after an epic completes. Appends new entries to the Decision Log (§11) using x-internal-write-report --append (dedup by ## ID: marker) and surgically inserts component\u002Fintegration changes into sections 1-10 via Edit. Idempotent: re-running with the same epic produces a byte-identical system.md.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-system-architecture\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M757KKBT5Q1SVF8DMJBVF46M","x-update-architecture","Incrementally updates the service architecture document with changes from architecture plans. Adds new components, integrations, flows, and ADR references without rewriting existing content. Use after implementation to keep architecture documentation current.","https:\u002F\u002Fgithub.com\u002Freview-bench\u002Federcnj_ia-dev-environment\u002Fblob\u002Fmain\u002Fsrc\u002Ftest\u002Fresources\u002Fgolden\u002Fjava-spring\u002Fplatform-claude-code\u002F.claude\u002Fskills\u002Fx-update-architecture\u002FSKILL.md",[],[]]