Hygraph Management SDK for Schema Migration Automation
A source-backed ASE skill for the Hygraph Management SDK, the JavaScript package for managing Hygraph project schema through code-first migrations. It is a good fit for agent workflows that need repeatable content-model changes, environment-aware schema updates, and dry-run migra
What it does
Hygraph Management SDK for Schema Migration Automation
A source-backed ASE skill for the Hygraph Management SDK, the JavaScript package for managing Hygraph project schema through code-first migrations. It is a good fit for agent workflows that need repeatable content-model changes, environment-aware schema updates, and dry-run migration previews.
Prerequisites
Node.js, a Hygraph auth token, and a Hygraph environment endpoint
Installation
Use the upstream install or setup path that matches your environment:
- npm install @hygraph/management-sdk --save-dev
- To update the Management API schema this SDK depends on you must run npm run generate.
Requirements and caveats from upstream:
- const { newMigration, FieldType } = require("@hygraph/management-sdk");
- const { newMigration } = require("@hygraph/management-sdk");
- const { FieldType } = require("@hygraph/management-sdk");
Basic usage or getting-started notes:
-
js
-
const migration = newMigration({ endpoint: "...", authToken: "..." });
-
const author = migration.createModel({
-
Extracted from upstream docs: https://raw.githubusercontent.com/hygraph/management-sdk/HEAD/README.md
Documentation
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,435 chars)