GraphQL Yoga Architecture
Preventing common GraphQL pitfalls:
- Eliminate N+1 query problems by wrapping relational queries in DataLoader.
- Set query depth limits and complexity scoring to prevent denial-of-service queries.
Design resilient GraphQL schemas, query resolvers, DataLoader batching, and Envelop plugin extensions.
Andromity loads skills from folders you trust. Install with andromity skill install graphql-yoga-api — autonomy and approval limits stay configurable per session.
# Install the "GraphQL Yoga & Apollo Architect" skill You are installing an AgenticMarket skill into this workspace. Follow these steps exactly. ## 1. Detect your environment and choose the destination file - Andromity: `.andromity/skills/graphql-yoga-api/SKILL.md` (or user scope `~/.andromity/skills/graphql-yoga-api/SKILL.md`) - Antigravity / Gemini CLI: `.agent/skills/graphql-yoga-api/SKILL.md` - Cursor: `.cursor/rules/graphql-yoga-api.mdc` - Claude Code: append to `CLAUDE.md` (or `.claude/skills/graphql-yoga-api.md`) - Windsurf: append to `.windsurfrules` - Cline / Roo Code: `.clinerules/graphql-yoga-api.md` - GitHub Copilot: append to `.github/copilot-instructions.md` - ChatGPT / web only: paste the content into Custom Instructions - Any other agent: save to `.agent/skills/graphql-yoga-api/SKILL.md` ## 2. Create the destination file - Preserve every existing file and configuration entry. - Create parent folders as needed. - Never overwrite unrelated content. ## 3. Write exactly this content ```markdown --- name: graphql-yoga-api description: "Design resilient GraphQL schemas, query resolvers, DataLoader batching, and Envelop plugin extensions." author: community license: mit version: 1.0.0 --- # GraphQL Yoga Architecture Preventing common GraphQL pitfalls: - Eliminate N+1 query problems by wrapping relational queries in DataLoader. - Set query depth limits and complexity scoring to prevent denial-of-service queries. ``` ## 4. Verify - Confirm the file exists and is readable. - Report the destination path and confirm the "GraphQL Yoga & Apollo Architect" skill is installed and active. Skill metadata: - Slug: graphql-yoga-api - Category: development - License: mit - Source: AgenticMarket
Preventing common GraphQL pitfalls:
Implement Stripe Checkout sessions, webhook verification, customer portals, idempotency keys, and subscription billing.
Design type-safe database schemas, execute optimized relational queries, and manage migrations across SQLite, Postgres, and D1.
Master React Server Components, Server Actions, parallel routes, streaming, ISR, and cache revalidation.