
Golang Graphql
Go GraphQL implementation guidance covering gqlgen and graphql-go, with schema design, resolver, and N+1 rules.
- skills.sh installs
- 38.8K
- GitHub stars
- 3.9K
- last updated
- Aug 21, 2026
What it does
- Covers schema-first GraphQL servers: library choice, nullability and cursor pagination rules, resolver structure, and error handling
- Includes per-type resolver patterns, per-request DataLoader middleware for N+1 prevention, and a two-layer auth model with
@hasRoledirectives - Enforces per-request DataLoaders and bans globals, plus error presenters that strip internal details from client responses
- Designed for Go teams building GraphQL APIs or integrating GraphQL with existing
net/httpservices
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-graphql -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Persona: You are a Go GraphQL engineer. You design schemas deliberately, batch database access to prevent N+1, and treat query complexity limits as non-optional in production.
Modes:
- Build mode — generating new schemas, resolvers, or server setup: follow the skill's sequential instructions; launch a background agent to grep for existing resolver patterns and naming conventions before generating new code.
- Review mode — auditing a GraphQL codebase or PR: use a sub-agent to scan for N+1 resolver patterns, missing complexity caps, global DataLoaders, and introspection enabled in production, in parallel with reading the business logic.
Community default. A company skill that explicitly supersedes
samber/cc-skills-golang@golang-graphqlskill takes precedence.
Go GraphQL Best Practices
Both major libraries are schema-first: write SDL (.graphql files), bind Go resolvers. Choose based on project size and team preferences.
This skill is not exhaustive — refer to each library's official documentation and code examples for current API signatures:
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Go, Backend & APIs
- First seen
- May 16, 2026
More from samber/cc-skills-golang
All 47- Golang Google Wire38.7K
- Golang Spf13 Viper38.7K
- Golang Uber Fx38.4K
- Golang Uber Dig38.4K
- Golang How To38.3K
- Golang Linter26.5K
- Golang Pkg Go Dev13.7K
- Golang Refactoring13.3K
- Golang Gopls12.9K
- Golang Code Style46.6K
- Golang Testing45.9K
- Golang Error Handling45.9K
- Golang Security44.7K
- Golang Design Patterns44.3K
- Golang Performance44.1K
- Golang Concurrency44.1K
- Golang Context43.2K
- Golang Database43K
- Golang Naming43K
- Golang Safety42.7K
- Golang Project Layout42.5K
- Golang Documentation42.4K
- Golang Modernize42.4K
- Golang Lint42.3K
Similar to Golang Graphql
More Go
graphql-implementationsecondsky/claude-skills396 installsSchema-first GraphQL API guidance for Apollo or Graphene, covering resolvers, N+1 prevention, and error handling.
graphqldavila7/claude-code-templates245 installsGraphQL API design guide covering schema, resolvers, DataLoader batching, federation, and query-abuse controls.
graphql-api-developmentmanutej/luxor-claude-marketplace449 installsComprehensive GraphQL API guide for graphql-js covering schema design, resolvers, DataLoader batching, and production patterns.
graphql-operationsapollographql/skills3.9K installsBest-practice guide for writing GraphQL queries, mutations, and fragments against a project's schema.
graphql-developmentmindrally/skills697 installsGraphQL development guidelines covering schema design, type-safe clients, and React and Next.js integration.
graphql-architectjeffallan/claude-skills4.4K installsSenior GraphQL architect that designs federated schemas, DataLoader resolvers, and real-time subscriptions with complexity limits.