graphql-schema-design
Skill0 starsChanged 5 months agoApache-2.0View on GitHub
Design and review GraphQL schemas for authz, pagination, N+1 risk,
4 other projects use a version of this.
Adopted by
Most recently taken up by
- ChilliCream/agent-skillstheir own version, first seen Aug 26, 2026
- deangrant/agentstheir own version, first seen Aug 16, 2026
- roanbrasil/engineer-grade-agent-skillstheir own version, first seen Jun 17, 2026
- codecharmhq/claude-code-skillstheir own version, first seen May 17, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- ChilliCream/agent-skills★ 13same name
- roanbrasil/engineer-grade-agent-skills★ 8same name
- codecharmhq/claude-code-skills★ 1same name
- deangrant/agents★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository128 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-implementationSkill
- accessibility-reviewSkill
- api-changelogSkill
- api-designSkill
- auth-designSkill
- caching-strategiesSkill
- chaos-experiment-designSkill
- ci-cd-pipelinesSkill
- cli-designSkill
- cloudformation-reviewSkill
- codebase-orientationSkill
- code-commentsSkill
- code-reviewSkill
- commit-messagesSkill
- container-reviewSkill
- database-indexingSkill
- database-migrationsSkill
- debuggingSkill
- dependency-upgradesSkill
- design-system-contributionSkill
- design-tokensSkill
- desktop-releaseSkill
- error-handlingSkill
- feature-flagsSkill
- finops-reviewSkill
- frontend-performanceSkill
- git-conflict-resolutionSkill
- helm-chart-scaffoldingSkill
- i18n-reviewSkill
- kubernetes-reviewSkill
- load-test-planningSkill
- logging-observabilitySkill
- message-queue-designSkill
- migration-playbooksSkill
- mobile-releaseSkill
- multi-region-active-activeSkill
- observability-alertsSkill
- openapi-spec-designSkill
- partner-api-integrationSkill
- performance-reviewSkill
- pr-descriptionsSkill
- prompt-injection-hardeningSkill
- pulumi-reviewSkill
- rate-limitingSkill
- refactor-planningSkill
- secrets-managementSkill
- security-reviewSkill
- sql-query-reviewSkill
- terraform-reviewSkill
- test-generationSkill
- threat-modelingSkill
- webhook-designSkill
- websocket-designSkill
- ab-test-analysisSkill
- anomaly-detectionSkill
- cost-anomaly-investigationSkill
- csv-analysisSkill
- data-cleaningSkill
- data-contract-designSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
Distinctive
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 55
Prefer additive evolution.
- Distinctive: line 57
Do not put secrets in GraphQL types that any authorized client can query casually without field authz.
- Distinctive: line 59
Document error handling conventions (union vs exceptions).
- Distinctive: line 60
If SDL is incomplete, state assumptions about resolvers.
- Distinctive: line 66
File uploads: not always native; call out alternatives.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GraphQL Schema Design
Schema is the product contract. Optimize for client clarity, server efficiency, and safe evolution.
Workflow
- Clarify clients, auth model, and write vs read paths.
- Model types and relationships; avoid leaking DB tables blindly.
- Specify nullability deliberately (every
!is a promise). - Pagination: connections/cursors for lists that can grow.
- Authz: field and object level; never rely on "hidden" fields alone.
- Evolution: deprecations, additive changes, versioning policy.
- Performance: N+1, dataloader, query depth/cost limits.
Output format
## GraphQL design: <api>
### Type overview
…
### Queries / mutations
…
### Authz notes
…
### Pagination & errors
…
### Risks (N+1, breaking changes)
…
### Example operationsRules
- Prefer additive evolution; mark breaking changes explicitly.
- Mutations should return clear payloads (errors, viewer, mutated entity).
- Do not put secrets in GraphQL types that any authorized client can query casually without field authz.
- Lists without bounds need pagination or hard limits.
- Document error handling conventions (union vs exceptions).
- If SDL is incomplete, state assumptions about resolvers.
Edge cases
- Subscriptions: auth, fan-out cost, filtering.
- Federation: ownership boundaries and shared types.
- File uploads: not always native; call out alternatives.
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.

