Skill Development

Graphql Query Optimizer

Optimize GraphQL queries and resolvers for performance

install path ~/.claude/skills/graphql-query-optimizer/SKILL.md
command /graphql-query-optimizer
apicontractsvalidationendpoints
SKILL.md

GraphQL Query Optimizer

Purpose

Optimize GraphQL queries and resolvers for performance.

Inputs to request

  • Slow query or resolver traces.
  • Schema and resolver stack.
  • Performance targets or budgets.

Workflow

  1. Identify resolver hotspots and query depth.
  2. Suggest batching, caching, or pagination.
  3. Recommend schema or query adjustments.

Output

  • Optimization plan with example changes.

Quality bar

  • Prioritize fixes with measurable impact.
  • Avoid breaking schema changes without migration.

Copy this into ~/.claude/skills/graphql-query-optimizer/SKILL.md to use it as a slash command in Claude Code.

get crystl