用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/a5c-ai/babysitter --skill graphql-schema-generator命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | graphql-schema-generator |
| description | Generate GraphQL schemas from data models with resolver stubs and federation support |
| allowed-tools | ["Bash","Read","Write","Glob"] |
| graph | {"domains":["domain:software-engineering"],"specializations":["specialization:software-architecture"],"skillAreas":["skill-area:graphql-schema-design","skill-area:backend-api-design"],"roles":["role:backend-engineer","role:architect"],"workflows":["workflow:api-design-review"],"topics":["topic:graphql-schema-design"]} |
Generates GraphQL SDL schemas from data models with type inference, resolver stub generation, schema validation, and Apollo Federation support.
{
"type": "object",
"required": ["dataModels"],
"properties": {
"dataModels": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"fields": { "type": "array" },
"relationships": { "type": "array" }
}
}
},
"outputPath": {
"type": "string",
"description": "Output schema file path"
},
"options": {
"type": "object",
"properties": {
"generateResolvers": {
"type": "boolean",
"default": true
},
"federation": {
"type": "boolean",
"default": false
},
"generateSubscriptions": {
"type": "boolean",
"default": false
},
"generateInputTypes": {
"type": "boolean",
"default": true
}
}
}
}
}
{
"type": "object",
"properties": {
"schemaPath": {
"type": "string"
},
"resolversPath": {
"type": "string"
},
"types": {
"type": "array",
"items": { "type": "string" }
},
"queries": {
"type": "array"
},
"mutations": {
"type": "array"
}
}
}
{
kind: 'skill',
skill: {
name: 'graphql-schema-generator',
context: {
dataModels: [
{ name: 'User', fields: ['id', 'name', 'email'] },
{ name: 'Post', fields: ['id', 'title', 'authorId'] }
],
outputPath: 'graphql/schema.graphql',
options: {
generateResolvers: true,
federation: false
}
}
}
}