- Home
- Skills
- Agents & Orchestration
- GraphQL Nullability Contract Repair
More screenshots
Works with the AI Agents you already use
GraphQL Nullability Contract Repair
Repair GraphQL nullability drift across schemas, resolvers, loaders, ORM models, generated types, clients, caches, tests, and docs.
$1
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.
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.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.
Requires local repository files and materials. Does not access production data, schema registries, or live APIs. Cannot approve breaking changes without human oversight.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
Permissions are limited to the active local workspace and are used to inspect user-supplied or local workspace files; create or modify bounded local fixes, tests, documentation, or review artifacts; run repository-supported local tests, checks, builds, or parsing commands. The skill package does not require bundled credentials, unrestricted external network access, or automatic production changes.