用于构建 ChatGPT 应用的 Claude Code 技能
1 分•作者: victordg•17 天前
ChatGPT 应用 SDK 学习曲线陡峭,尤其是 OAuth,你作为提供方,而 ChatGPT 是客户端(而非相反)。这很容易让你陷入困境。
这个技能教 Claude Code 如何正确构建 ChatGPT 应用:
```
- MCP 服务器设置 (Node.js/Python)
- 使用 PKCE 和动态客户端注册的 OAuth
- 使用 window.openai API 进行组件开发
- 20 多个需要注意的陷阱及修复方法
```
如何安装:
`npx skills add https://github.com/vdel26/skills`
GitHub:
https://github.com/vdel26/skills
欢迎大家反馈在构建 ChatGPT / MCP 应用时遇到的遗漏的陷阱。
查看原文
The ChatGPT Apps SDK has a steep learning curve, specially OAuth, where you're the provider and ChatGPT is the client (not the other way around). This can trip you up easily.<p>This skill teaches Claude Code how to build ChatGPT apps correctly:<p><pre><code> - MCP server setup (Node.js/Python)
- OAuth with PKCE and Dynamic Client Registration
- Widget development with window.openai API
- 20+ gotchas with fixes
</code></pre>
How to install it:<p>npx skills add https://github.com/vdel26/skills``<p>GitHub:<p>https://github.com/vdel26/skills<p>Would love feedback on missing gotchas people have hit while building ChatGPT / MCP Apps.