SS

sandiiarov/skill-creator

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

622 stars 质量 70 趋势 26MIT

sandiiarov/技能创造者是从https://github.com/sandiiarov/skill-creator.导入的特工技能候选人。

概览

sandiiarov/技能创造者是从https://github.com/sandiiarov/skill-creator.导入的特工技能候选人。

概述(AI 翻译)

给AI代理一个OpenAPI规范、GraphQL模式或MCP服务器的链接,就能获得一个即用的代理技能,包含包装脚本、引用和使用笔记。

与其在每个聊天中粘贴API文档,不如安装一个斜杠命令,让你的代理为团队使用的工具创建可重复使用的命令行技能。

安装

需要Node.js ^22.22.2 || ^24.15.0 || >=26.0.0(在CI中使用节点26)。

用npx安装/skill-creator命令和同伴提升技能:

这会安装:

对于项目-本地指挥与改进技能:

如果你只想要提示命令,可以跳过同伴技能:

其他支持的代理包括claude-code、codex、cursor、opencode、gemini-cli、github-copilot、cline和windsurf。

用它

打开你的代理人,用你想转化为技能的源代码运行/skill-creator。

这是正常流程:提供规格/服务器/模式链接,回答缺失的安装问题,代理会帮你创建技能。

更多例子:

它创造的东西

生成的技能长这样:

未来的代理可以使用简单命令,而无需从头阅读 API 文档:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

skill-creator

Give an AI agent a link to an OpenAPI spec, GraphQL schema, or MCP server and get back a ready-to-use Agent Skill with wrapper scripts, references, and usage notes.

Instead of pasting API docs into every chat, install one slash command and let your agent create reusable command-line skills for the tools your team uses.

Install

Requires Node.js ^22.22.2 || ^24.15.0 || >=26.0.0 (Node 26 is used in CI).

Install the /skill-creator command and companion improvement skill with npx:

npx @asnd/skill-creator command install --agent pi --scope global

This installs:

~/.pi/agent/prompts/skill-creator.md
~/.pi/agent/skills/skill-creator-improvement/

For a project-local command and improvement skill:

npx @asnd/skill-creator command install --agent pi --scope project

Skip the companion skill if you only want the prompt command:

npx @asnd/skill-creator command install --agent pi --scope global --no-improvement-skill

Other supported agents include claude-code, codex, cursor, opencode, gemini-cli, github-copilot, cline, and windsurf.

npx @asnd/skill-creator command install --agent claude-code --scope project

Use it

Open your agent and run /skill-creator with the source you want to turn into a skill.

/skill-creator https://example.com/openapi.json

That is the normal flow: provide the spec/server/schema link, answer any missing install questions, and the agent creates the skill for you.

More examples:

/skill-creator --spec https://example.com/openapi.json --name youtube --agent pi --scope project
/skill-creator --graphql https://api.example.com/graphql --graphql-schema https://example.com/schema.graphql --name pokeapi
/skill-creator --mcp https://mcp.example.com/mcp --name context7
/skill-creator --mcp-stdio "npx -y @example/mcp-server" --name example-mcp

What it creates

A generated skill looks like this:

.pi/skills/youtube/
├── SKILL.md
├── scripts/
│   └── youtube
└── references/
    └── openapi-spec-MM-DD-YYYY.json

Future agents can then use simple commands instead of reading API docs from scratch:

./scripts/youtube commands list
./scripts/youtube commands search videos
./scripts/youtube commands help 
./scripts/youtube run --pretty  

Generated scripts use npx -y @asnd/skill-creator internally, so consumers do not need a global install.

Skill improvement loop

Generated skills are tracked in ~/.skill-creator/lock.json. The companion skill-creator-improvement skill helps agents improve generated skills during real use. When the agent discovers a reusable gotcha, custom field, corrected command pattern, or faster workflow, it updates the generated skill’s ## Gotchas section directly.

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add sandiiarov/skill-creator
新手?先看 mcpskill.org 教程 →