AgentSkillsCN

chatgpt-app-builder

引导开发者创建ChatGPT应用。 涵盖完整生命周期:根据用户体验指南进行创意头脑风暴,启动项目,实现工具与组件,进行调试,运行开发服务器,部署应用并将应用接入ChatGPT。 当用户希望创建或更新ChatGPT应用/ChatGPT的MCP服务器,或使用Skybridge框架时,可使用此功能。

SKILL.md
--- frontmatter
name: chatgpt-app-builder
description: |
  Guide developers through creating ChatGPT apps.
  Covers the full lifecycle: brainstorming ideas against UX guidelines, bootstrapping projects, implementing tools/widgets, debugging, running dev servers, deploying and connecting apps to ChatGPT.
  Use when a user wants to create or update a ChatGPT app / MCP server for ChatGPT, or use the Skybridge framework.

Creating Apps For LLMs

ChatGPT apps are conversational experiences that extend ChatGPT through tools and custom UI widgets. They're built as MCP servers invoked during conversations.

⚠️ The app is consumed by two users at once: the human and the ChatGPT LLM. They collaborate through the widget—the human interacts with it, the LLM sees its state. Internalize this before writing code: the widget is your shared surface.

SPEC.md keeps track of the app's requirements and design decisions. Keep it up to date as you work on the app.

No SPEC.md? Stop. → Read discover.md first. Nothing else until SPEC.md exists.

Setup

  1. Copy templatecopy-template.md: when starting a new project with ready SPEC.md
  2. Run locallyrun-locally.md: when ready to test, need dev server or ChatGPT connection

Architecture

Design or evolve UX flows and API shape → architecture.md

Implementation

  • Fetch and render datafetch-and-render-data.md: when implementing server handlers and widget data fetching
  • State and contextstate-and-context.md: when persisting widget UI state and updating LLM context
  • Prompt LLMprompt-llm.md: when widget needs to trigger LLM response
  • UI guidelinesui-guidelines.md: display modes, layout constraints, theme, device, and locale
  • External linksopen-external-links.md: when redirecting to external URLs or setting "open in app" target
  • OAuthoauth.md: when tools need user authentication to access user-specific data
  • CSPcsp.md: when declaring allowed domains for fetch, assets, redirects, or iframes

Deploy

  • Ship to productiondeploy.md: when ready to deploy via Alpic
  • Publish to ChatGPT Directorypublish.md: when ready to submit for review

Full API docs: https://docs.skybridge.tech/api-reference.md