TypeSpec API 插件生成
原名:typespec-create-api-plugin
使用 TypeSpec 定义 REST 操作、认证和 Adaptive Cards,生成 Copilot API 插件。
中文 Skills 技能说明
适合把已有业务 API 以受控方式提供给 Microsoft 365 Copilot。服务端必须执行鉴权、参数校验和审计,写操作保留人工确认;生成配置不能把密钥写入仓库,正式发布由租户管理员审批。
上游能力依据
上游原始适用说明:Generate a TypeSpec API plugin with REST operations, authentication, and Adaptive Cards for Microsoft 365 Copilot
上游 SKILL.md 主要章节(保留原文标题):
- Requirements
- main.tsp - Agent Definition
- actions.tsp - API Operations
- Authentication Options
- Function Capabilities
- Confirmation Dialog
- Adaptive Card Response
- Reasoning & Response Instructions
- Best Practices
- Workflow
使用边界
先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。
作者、翻译与许可证
- 原作者
- GitHub, Inc. 与 awesome-copilot contributors
- 中文翻译
- CEOFans翻译
- 许可证
- MIT
- 上游来源
- https://github.com/github/awesome-copilot/tree/83561bd7d8a46fcda0581aedabdf8eac7cb196b6/skills/typespec-create-api-plugin
适用范围
平台:linux、macos、windows;标签:MCP 与工具、TypeSpec API 插件生成
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。