# Petrovc AI Agent Kit GRAPHQL

> GraphQL Skill

- Skill: `tomevault-io/petrovc-ai-agent-kit-graphql` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/petrovc-ai-agent-kit-graphql`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/petrovc-ai-agent-kit-graphql/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/petrovc-ai-agent-kit-graphql

---


# GraphQL Skill

## Goal
Implement correct, performant, and evolvable GraphQL APIs.
The schema is the contract — design it for consumers, not for the database.

## Quick reference

| Concept | Best practice |
|---|---|
| Schema | Design schema first, use descriptive names, avoid breaking changes |
| N+1 Problem | Always use DataLoaders for batching child entity resolution |
| Security | Disable introspection in production, enforce query depth & cost limits |
| Client | Use codegen for frontend types, use variables for dynamic inputs |
| Validation | Validate query syntax, variables, and custom scalar inputs |

## Full guidance
Extended how-to, patterns, anti-patterns, and checklists: [`SKILL.deep.md`](SKILL.deep.md)

---
> Source: [PetrovC/ai-agent-kit](https://github.com/PetrovC/ai-agent-kit) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-15 -->

