当接入 webmcp-nexus-sdk 的项目中需要新增 WebMCP 工具函数、将现有业务方法改造为 WebMCP 工具函数,或配置 vite-plugin-webmcp-nexus / webpack-plugin-webmcp-nexus 时使用本技能。本技能约束工具函数的签名、JSDoc、TS 类型写法,并提供零风险的改造流程(仅改签名与注释,不动原方法业务逻辑)。触发示例:"新增一个 WebMCP 工具"、"把这个函数改造成能被 AI Agent 调用的工具"、"让 xxx 函数接入 WebMCP"、"配置 webmcp 构建插件"。
$npx -y skills add alibaba/webmcp-nexus --skill skillInstalls into the current project.
Run `npx skills use "https://github.com/alibaba/webmcp-nexus" --skill "alibaba/webmcp-nexus/skill"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/alibaba/webmcp-nexus" that are relevant to the current task. Run `npx skills add "https://github.com/alibaba/webmcp-nexus"` and select the relevant skills, then follow their instructions.