schema-update

Update SDK GraphQL schema and related types from local or staging API servers.

22|19|Updated Sep 1, 2025
One-click install
npx skills add https://github.com/aave/aave-v4-sdk --skill schema-update
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schema-update
Source: https://github.com/aave/aave-v4-sdk/tree/main/.claude/skills/schema-update
Command: npx skills add https://github.com/aave/aave-v4-sdk --skill schema-update

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill updates the SDK GraphQL schema and related types from a local or staging API server to prevent drift.

Core Features & Use Cases

  • Download the latest local or staging schema and generate updated introspection data.
  • Cross-reference the new schema with existing documents and update fragments and types accordingly.
  • Validate builds and tests to ensure compatibility with client code.

Quick Start

Update the local or staging GraphQL schema and regenerate the introspection data.

Frequently Asked Questions about schema-update

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I keep my GraphQL schema in sync across local and staging environments?

To keep your GraphQL schema in sync, download the latest schema from a local or staging API server and generate updated introspection data to prevent environment drift. The process cross-references the new schema with existing documents to update fragments and types accordingly.

What is the best way to update SDK GraphQL types from a staging server?

The best way to update SDK GraphQL types is by downloading the staging server schema, generating introspection data, and exporting the updated input types. This deterministic process cross-references new schemas with existing documents to ensure type compatibility.

How do I validate my client build after updating my GraphQL schema?

You validate your client build after a GraphQL schema update by cross-referencing the new schema with existing documents and running build and test validations. This ensures your client code remains fully compatible with the updated fragments and types.

Does this schema update process work with local API servers?

Yes, this schema update process works with both local and staging API servers. It downloads the schema from either environment, generates the necessary introspection data, and updates your SDK types to prevent local and staging drift.

Why do I need to generate introspection data when updating my GraphQL schema?

You need to generate introspection data when updating your GraphQL schema to cross-reference the new schema with existing documents. This step ensures fragments and types are accurately updated across environments before validating builds and tests.

What steps are involved in a deterministic GraphQL schema update workflow?

A deterministic GraphQL schema update workflow involves downloading the latest schema, generating introspection data, cross-referencing documents, updating types, exporting input types, and validating builds and tests. These enforced steps ensure consistent synchronization across environments.