Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By hamzahamidi Verifiedv1.0.3MITIn 1 marketplace
GraphQL field resolvers, DataLoader batching, N+1 prevention, security, and performance.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Verified owner:Hamza Hamidi
A portable skill and practical reference for people and coding agents working on GraphQL servers. It focuses on field resolvers, DataLoader and equivalent batching, query cost, authorization, and schema design.
The guidance is framework aware. It asks an agent to inspect the codebase and the installed framework version before recommending a pattern. It does not require a resolver for every field: use the default resolver when the parent already contains the value. Use nested field resolvers for independently loaded relationships, and use DataLoader or an equivalent when repeated lookups can be batched through a real bulk operation. Promise.all is for independent concurrent work, not a substitute for batching.
For a project, copy skills/graphql-server-best-practices into that project's .agents/skills/ directory. Codex will discover the SKILL.md there. For personal use, copy it to ~/.agents/skills/graphql-server-best-practices/. See the Codex skills guide for discovery scopes.
The marketplace manifest is .claude-plugin/marketplace.json; the plugin manifest is .claude-plugin/plugin.json. Add this repository as a marketplace, then install the plugin:
claude plugin marketplace add hamzahamidi/graphql-server-best-practices
claude plugin install graphql-server-best-practices@graphql-server-best-practices
Install the skill with the open source skills CLI:
npx skills add hamzahamidi/graphql-server-best-practices --skill graphql-server-best-practices
The CLI can install it for supported agents such as Claude Code, Codex, Cursor, and Windsurf. See the CLI documentation for agent options and telemetry settings.
Browse the listing on Skills.sh.
Use the skill by asking an agent to apply it to a concrete GraphQL task. For example:
Trace the Post.author field from its resolver to the data source. Check whether
the current code makes one backend request per post, whether a real bulk lookup
exists, and how the repository scopes and authorizes its DataLoader. Recommend
the smallest change that follows the installed framework and local conventions.
Implement Post.author using this repository's existing resolver and loader
patterns. Keep independent field behavior in the field resolver, preserve
authorization, and follow the loader's result ordering and cache scope. Use
Promise.all only for independent work, not to issue one request per post.
The skill installs directly in Codex using the instructions above. This repository also includes a portable OpenAI plugin package. To submit that package to the OpenAI plugin directory, create a ZIP with plugin.json at its root, then upload it in the OpenAI Platform Plugins dashboard. The directory requires a verified developer identity, automated checks, and OpenAI review before publication. See the submission guide. A GitHub release does not automatically add the plugin to that directory.
The v1.0.3 package has been submitted to OpenAI and is under review. It is not publicly listed yet.
To create an archive for a tagged release, set VERSION to the tag's numeric version:
VERSION=1.0.2
git archive --format=zip --output="graphql-server-best-practices-${VERSION}.zip" "v${VERSION}"
Read skills/graphql-server-best-practices/SKILL.md for the full checklist, examples, and links to the GraphQL specification, GraphQL.org, DataLoader, and Apollo documentation. The file is the single source of the technical guidance.
See PRIVACY.md for the plugin privacy policy.
MIT. See LICENSE.
Issues and pull requests are welcome. See CONTRIBUTING.md for the review criteria and contribution steps. Use the issue forms in GitHub to report a problem or propose a change.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub hamzahamidi/graphql-server-best-practices --plugin graphql-server-best-practices