- Home
- Skills
- Agents & Orchestration
- GraphQL Nullability Contract Repair
Works with the AI tools you already use
GraphQL Nullability Contract Repair
Repair GraphQL nullability drift across schemas, resolvers, loaders, ORM models, generated types, clients, caches, tests, and docs.
$6.99
GraphQL Nullability Contract Repair
Example session with this skill installed
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.
- Read your context and instructions
- Compiled the graphql nullability contract
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.
Connects securely to your tools. The creator never sees your data.
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
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
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 22 days ago
- Passed all security checks, Safe to install