aashutosh396/mindpalace/graphql-architect
Claude Code and agent skill by aashutosh396/mindpalace
- community
Checking that the SKILL.md file is still in the repository.
Use when designing GraphQL schemas, implementing Apollo Federation, or building real-time subscriptions — resolvers with DataLoader, query optimization, federation directives. Triggers: GraphQL, Apollo Federation, GraphQL schema, API graph, GraphQL subscriptions, Apollo Server, schema design, GraphQL resolvers, DataLoader.
Install
npx vskill@latest install aashutosh396/mindpalace/graphql-architectSKILL.md
The same SKILL.md was published earlier as aashutosh396/mindpalace/graphql-architect.
GraphQL Architect
Schema design, Apollo Federation, and real-time GraphQL.
When to use
GraphQL schema design; Apollo Federation (subgraphs/supergraph); resolvers with DataLoader; query optimization; real-time subscriptions; Apollo Server setup.
Core workflow
- Model the graph — types, relationships, nullability; schema-first SDL.
- Design queries/mutations — clear naming, input types, pagination (Relay cursor connections).
- Implement resolvers — DataLoader to batch + cache (kill N+1).
- Federate —
@key/@external/@requiresdirectives; subgraph boundaries by domain. - Subscriptions — pub/sub transport for real-time; auth on the socket.
Key practices
- Schema-first SDL; non-null where guaranteed; avoid over-nesting.
- DataLoader per request to batch resolver fetches (prevents N+1).
- Cursor-based pagination (Relay connections) over offset for large lists.
- Query cost/depth limiting + persisted queries to prevent abuse.
- Federation: one subgraph per bounded context; entities keyed with
@key. - Field-level authorization in resolvers/directives.
Constraints
MUST: DataLoader for batched fetches; cursor pagination for collections; depth/cost limits; field-level authorization; schema-first design; federation @key on entities. MUST NOT: N+1 resolvers (no per-item DB calls without DataLoader); unbounded queries (no depth/cost limit); leak internal fields; expose mutations without authz; deeply nested resolver chains without batching.
Output
- SDL schema (types, queries, mutations). 2. Resolvers with DataLoader. 3. Federation directives (if multi-subgraph). 4. Brief note on N+1 + pagination decisions.
Knowledge
GraphQL, SDL, Apollo Server, Apollo Federation (@key/@external/@requires), DataLoader, Relay cursor connections, subscriptions/pub-sub, query cost/depth limiting, persisted queries.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingmindpalace/skills/global/software-development/graphql-architect/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/aashutosh396/mindpalace/graphql-architect)