hygraphsdk
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "hygraphsdk" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-8463edf6fe3bd873825a7d88148fc322600e0581eaef6c83bbf0bfcbd2d8c182. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/hygraph-management-sdk-schema-migration-automation before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A source-based Hygraph Management SDK ASE skill. The Hygraph Management SDK is a JavaScript package that manages Hygraph project schemas via code-first migrations, suitable for agent workflows that need repeatable content-model changes, environment-aware schema updates, and migration previews.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Software, accounts and paid services
- Node.js, a Hygraph auth token, and a Hygraph environment endpoint
- Testing
- Not tested
Browse files
Frontmatter
name: "Hygraph 管理 SDK 用于模式迁移自动化"
slug: "hygraph-management-sdk-schema-migration-automation"
version: "1.0.0"
displayName: "Hygraph 管理 SDK 用于模式迁移自动化"
summary: "一个基于源码的 Hygraph Management SDK ASE 技能,Hygraph Management SDK 是通过代码优先迁移来管理 Hygraph 项目模式的 JavaScript 包。它非常适合需要可重复的内容模型更改、环境感知的模式更新以及预演迁移预览的代理工作流。"
license: "MIT"
description: "一个基于源码的 Hygraph Management SDK ASE 技能,Hygraph Management SDK 是通过代码优先迁移来管理 Hygraph 项目模式的 JavaScript 包。它非常适合需要可重复的内容模型更改、环境感知的模式更新以及预演迁移预览的代理工作流程。"
github_stars: 51
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "WordPress & CMS"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 51
npm_package: "@graphcms/management"
npm_weekly_downloads: 147Hygraph 管理 SDK 用于模式迁移自动化
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
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Hygraph 内容模型代码优先迁移能力,适合开发者进行可重复的模式管理
- 支持环境感知更新和预演迁移预览,满足代理工作流需求
Areas to improve
-
触发词缺失 Reported severity: Minor
description 中未明确列出具体触发关键词,用户难以通过自然语言准确触发该 Skill
Recommendation: 在 description 或 skill_body 开头添加明确的触发词,如“Hygraph 模式迁移”、“内容模型管理”、“schema migration”等
Areas to improve
-
缺少 When to Use 说明 Reported severity: Minor
未说明该 Skill 适用的具体场景和时机
Recommendation: 添加 When to Use 章节,说明何时应使用此 Skill 进行模式迁移
-
缺少端到端示例 Reported severity: Minor
Installation 部分代码片段不完整,缺少完整的端到端使用示例
Recommendation: 提供一个完整的端到端示例,展示从安装到执行迁移的完整流程
-
文档格式问题 Reported severity: Minor
部分代码块格式错误(如 'js' 后无内容),影响可读性
Recommendation: 修复代码块格式,确保所有代码示例完整且语法正确
Areas to improve
-
异常处理缺失 Reported severity: Minor
未覆盖主要异常场景(如网络错误、认证失败、迁移冲突等)的处理建议
Recommendation: 添加异常处理说明,指导用户在遇到常见错误时如何应对
-
不可逆操作确认机制缺失 Reported severity: Minor
未说明删除模型等不可逆操作的确认机制
Recommendation: 添加关于不可逆操作的警告和确认机制说明,防止误操作
Highlights
- 工具来源明确,基于官方 @hygraph/management-sdk 包
- 提供了基本的安装和使用参数示例
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- hygraph.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Node.js, a Hygraph auth token, and a Hygraph environment endpoint
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.