GraphQL Nullability Contract Repair
Repair GraphQL nullability drift across schemas, resolvers, loaders, ORM models, generated types, clients, caches, tests, and docs.
Secure checkout via Stripe
Works with the AI tools you already use
See it in action
You say
Our Project.owner field is non-null in the schema, but the loader returns null for deleted users, causing the whole project object to disappear. Audit the code and suggest a repair.
Your agent does
Decision: CROSS-LAYER DRIFT FOUND. I have identified a contract break where the 'Project.owner' resolver returns null for non-null SDL. I prepared a patch to introduce a typed loader result and a candidate schema change to make 'owner' nullable, preventing parent object bubbling.
What you get
About this skill
The problem
GraphQL schemas often promise non-null values that the underlying database, resolvers, or loaders cannot actually guarantee. This drift leads to runtime errors, silent data bubbling that nulls out entire parent objects, and brittle client-side assertions that crash when data is missing or deleted.
What it does
- Traces field nullability from database columns through ORMs, loaders, and resolvers to the final SDL.
- Identifies list-container and item-nullability mismatches that cause entire arrays to fail when one item is missing.
- Detects "catch-and-null" resolver patterns that hide operational failures behind legitimate absence.
- Repairs loaders to ensure they preserve key order and cardinality instead of silently dropping missing records.
- Generates safe repository patches for input presence, subscription payloads, and normalized cache policies.
Why this beats prompting it yourself
Manual review usually misses the propagation path where a single non-null violation bubbles up the tree. This skill systematically audits the entire chain from persistence to generated client types, ensuring that a fix in the schema is backed by real resolver logic and test fixtures.
Use cases
- Fixing non-null fields that are actually nullable in legacy database rows.
- Resolving loader bugs where missing keys cause array length mismatches.
- Differentiating between omitted input fields and explicit nulls in mutations.
- Updating stale generated types and removing unsafe non-null assertions in UI code.
Known limitations
Does not access live production APIs or databases. It cannot make product-level decisions on whether a field should be nullable, but it identifies where a decision is required.
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean today
- 30-day refund guarantee
- One-time purchase, yours forever
- Secure checkout via Stripe
Creator
109 skills on Agensi
Frequently Asked Questions
Popular in Testing & QA
api-contract-tester
Turn OpenAPI specs into exhaustive, framework-ready test suites covering happy paths, edge cases, and security gaps.

Accessibility Scanner
Automatically detect accessibility issues in websites and applications following WCAG and accessibility standards.

robot-to-playwright-converter
Most 'migrations' rewrite your tests from scratch. This one maps your existing keywords and locators automatically.
Python Test Generator — Plain-English Test Results for Your Python Code
Paste your Python code and get a plain-English test report — what works, what doesn't, what's unfinished, and exactly what to do next.