src/main/resources/targets/claude/skills/conditional/review/x-review-graphql/SKILL.md
Validates GraphQL schema design, resolver implementation, security patterns, and observability for compliance with best practices.
npx skillsauth add edercnj/claude-environment x-review-graphqlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Review 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.
Include this skill when the project uses GraphQL protocol (interfaces contains type: graphql).
/x-review-graphql schema.graphqls -- review a specific schema file/x-review-graphql TransactionResolver -- review a specific resolver/x-review-graphql -- review all GraphQL schemas and resolvers| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| target | String | No | (all) | Schema file path or resolver class name |
*.graphqls, *.gql) or code-first schema definitions existScan for *.graphqls, *.gql, or code-first schema definitions:
Scan for resolver classes/functions:
Check each type/operation:
Check implementation:
Check security patterns:
Summarize findings as checklist:
Transaction, PaymentMethod)transactionId, createdAt)PAYMENT_APPROVED, PAYMENT_DENIED)Input (CreateTransactionInput)Payload (CreateTransactionPayload)edges, node, pageInfo, cursor)DateTime, Money, Email)input argument (not multiple args)result and errors fields (union type for errors)clientMutationId)errors array with message, locations, path, extensions)extensions.code (not just string messages)## GraphQL Review — [Schema/Change Description]
### Schema Quality: HIGH / MEDIUM / LOW
### Resolver Quality: HIGH / MEDIUM / LOW
### Schema Findings
1. [Finding with file, line, issue, fix]
### Resolver Findings
1. [Finding with file, line, issue, fix]
### Security Findings
1. [Finding with severity, issue, fix]
### Checklist Results
[Items that passed / failed / not applicable]
### Verdict: APPROVE / REQUEST CHANGES
| Scenario | Action | |----------|--------| | No GraphQL schema files found | Report INFO: no GraphQL schemas discovered | | N+1 detected without DataLoader | REQUEST CHANGES with DataLoader example | | Introspection enabled in production | REQUEST CHANGES with configuration fix |
tools
Documentation automation v2: stack-aware generation from documentation.targets.
development
Generates or updates CI/CD pipelines per project stack with actionlint validation.
tools
Generates ADRs from architecture-plan mini-ADRs with sequential numbering and index update.
development
Formats source code; first step of the pre-commit chain (format -> lint -> compile).