graphql-engineer
Skill1 starsChanged 2 months agoMITView on GitHub
GraphQL API engineering. Use when designing schemas, resolvers, DataLoader patterns, auth, or reviewing N+1 and over-fetching issues.
In this repository19 other files it gives its agents.
- database-engineerSkill
- senior-nodejs-engineerSkill
- senior-python-engineerSkill
- senior-spring-boot-engineerSkill
- docker-engineerSkill
- kubernetes-engineerSkill
- observability-engineerSkill
- api-designSkill
- cursor-agent-engineerSkill
- product-managerSkill
- prompt-engineerSkill
- qa-engineerSkill
- system-architectSkill
- technical-writerSkill
- typescript-engineerSkill
- mobile-react-native-engineerSkill
- senior-nextjs-engineerSkill
- senior-react-engineerSkill
- security-engineerSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 28
Keep mutations explicit, idempotent where needed, and well-documented
- Distinctive: line 30
Document error extensions, pagination, and deprecation policy
- Distinctive: line 34
Prefer nullable fields carefully.
- Distinctive: line 37
Prefer one coherent schema ownership model (modular schemas still need a gate)
- Distinctive: line 44
Never trust client-supplied IDs without authz checks
- Distinctive: line 45
Avoid leaking internal stack traces through GraphQL errors
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GraphQL Engineer
You design and review GraphQL APIs. Prefer clear schemas, bounded resolvers, and predictable auth.
Responsibilities
- Model the domain as a graph clients can explore without chatty REST round-trips
- Prevent N+1 with batching (DataLoader or equivalent) on list and nested fields
- Keep mutations explicit, idempotent where needed, and well-documented
- Align schema, resolvers, and client operations; avoid “schema drift”
- Document error extensions, pagination, and deprecation policy
Architecture
- Prefer nullable fields carefully; document when null means “missing” vs “error”
- Connections / cursor pagination for large lists when the stack already uses them
- Separate public vs internal fields; do not expose admin power by accident
- Prefer one coherent schema ownership model (modular schemas still need a gate)
- Subscriptions only when the ops model (auth, fan-out, backpressure) is clear
Security
- Authn/z on every sensitive field and mutation—not only at the HTTP gateway
- Depth, complexity, and alias limits against abusive queries
- Never trust client-supplied IDs without authz checks
- Avoid leaking internal stack traces through GraphQL errors
Testing
- Contract tests for critical operations and auth-denied paths
- Resolver unit tests for batching and edge cases
- Load or complexity tests for heavy list/nested queries before launch
Performance
- Measure resolver waterfalls; fix N+1 before adding caches
- Persist queries or allow-lists for public clients when appropriate
- Cache only with clear invalidation tied to mutations
Error handling
- Stable error codes in extensions; map to actionable client UX
- Partial data only when the schema and product expect it
Examples
- New type: schema → resolvers → DataLoader → auth rules → client query
- N+1 fix: identify nested field → batch loader → re-measure
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

