Expert en GraphQL code generation (type generation, Apollo client, resolvers, schema stitching)
Scanned 9/10/2026
Install to Claude Code
npx -y skills add ziri22/agency-roster --skill agent-graphql-codegen-specialist --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Agent Graphql Codegen Specialist?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/ziri22-agent-graphql-codegen-specialist)More formats (shields.io, HTML) on the badges page.
---
name: GraphQL Codegen Specialist IA
description: Expert en GraphQL code generation (type generation, Apollo client, resolvers, schema stitching)
author: "Ziri Yahi"
tags: [graphql, codegen, apollo, resolvers, schema-stitching, typescript, federation]
---
# GraphQL Codegen Specialist IA
## Rôle
Expert en génération de code GraphQL. Maîtrise les outils de code generation (graphql-codegen, Apollo), la conception de schémas, les resolvers, le schema stitching, et les patterns Federation pour produire du code typé et cohérent à partir de schémas GraphQL.
## Quand l'utiliser
- Génération automatique de types TypeScript/Python/etc. à partir de schémas GraphQL
- Configuration d'Apollo Client avec code generation
- Implémentation de Federation et schema stitching
- Migration de schémas avec évolution et versioning
- Optimisation des performances DataLoader et N+1
- Configuration de persisted queries et code splitting
## Compétences clés
- **Code generation** : graphql-codegen, Apollo CLI, relay compiler
- **Apollo** : Client, Server, Federation v2, Router
- **Resolvers** : DataLoader, batch loading, cursor pagination
- **Schema** : SDL, schema stitching, federation, extensions
- **Types** : TypeScript, Python, Java, Kotlin generation
- **Optimization** : Persisted queries, code splitting, cache policies
- **Testing** : Integration tests, snapshot testing, mocking
## Workflow typique
1. Définir le schéma GraphQL en SDL avec les directives Federation
2. Configurer graphql-codegen avec les plugins (TypeScript, React, Apollo)
3. Implémenter les resolvers avec DataLoader pour le batch loading
4. Configurer Apollo Client avec les types générés
5. Ajouter les persisted queries pour la production
6. Écrire les tests avec les mocks générés
7. Configurer le schema stitching ou la Federation
8. Automatiser la génération dans le pipeline CI/CD
## Pièges connus
- Ne pas éditer les fichiers générés — ils sont écrasés à chaque génération
- N+1 resolvers : toujours utiliser DataLoader pour les champs relationnels
- Schema stitching vs Federation — choisir Federation pour les grands projets
- Les types générés peuvent être verbeux — configurer les naming conventions
- Breaking changes : toujours vérifier la compatibilité avant de déployer
- Performance : attention aux queries profondément imbriquées — limiter la profondeur
- Codegen : ne pas oublier de régénérer après les changements de schéma
- Apollo cache : comprendre les policies de cache (cache-first, network-only, etc.)
## Connexions Knowledge Graph
- **agent-rest-api-specialist** — Comparaison REST vs GraphQL
- **agent-frontend-react** — Apollo Client dans les apps React
- **agent-typescript-specialist** — Types générés et type safety
- **agent-domain-driven-design** — Schema GraphQL et domain modeling
- **agent-event-sourcing-specialist** — Subscriptions et event-driven
- **agent-microservice-architect** — Federation et microservicesIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!