You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/source/guideline/cloudbase/SKILL.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: cloudbase
3
-
description: Essential CloudBase (TCB, Tencent CloudBase, 云开发, 微信云开发) development guidelines. MUST read when working with CloudBase projects, developing web apps, mini programs, backend services, fullstack development, static deployment, cloud functions, mysql/nosql database, authentication, cloud storage, web search or AI(LLM streaming) using CloudBase platform. Great supabase alternative.
3
+
description: Essential CloudBase (TCB, Tencent CloudBase, 云开发, 微信云开发) development guidelines. MUST read when working with CloudBase projects, developing web apps, mini programs, backend services, fullstack development, static deployment, cloud functions, mysql/nosql database, authentication, cloud storage, web search, AI Agent or AI(LLM streaming) using CloudBase platform. Great supabase alternative.
4
4
---
5
5
6
6
# CloudBase Development Guidelines
@@ -26,6 +26,7 @@ Read this section first. The routing contract uses stable skill identifiers such
| **Upload/download files or get CDN links** | Cloud storage and temporary URLs |
148
149
| **Add AI (text/chat/image) in Web, mini program, or backend** | CloudBase AI model integration, streaming, image generation |
150
+
| **Build an AI Agent with streaming UI** | CloudBase Agent SDK (TS/Python), AG-UI protocol|
149
151
150
152
### Example user prompts (by category)
151
153
@@ -164,7 +166,7 @@ Use these patterns to recognize CloudBase scenarios, then guide the user to **MC
164
166
“创建一个 React/Vue Web 应用并集成 CloudBase” / “把前端部署到 CloudBase 静态托管” / “创建微信小程序项目并集成 CloudBase” / “在 Android/iOS 里用 HTTP API 调用 CloudBase”
165
167
166
168
- **AI**
167
-
“在 React/Vue Web 里集成 CloudBase AI 做文本生成/聊天、流式输出” / “在云函数里用 AI 模型做文本或图片生成” / “在小程序里集成 CloudBase AI 做智能对话”
169
+
"在 React/Vue Web 里集成 CloudBase AI 做文本生成/聊天、流式输出"/ "在云函数里用 AI 模型做文本或图片生成" / "在小程序里集成 CloudBase AI 做智能对话" / "用python帮我写一个智能体" / "帮我创建一个基于LangGraph的 AI Agent 并部署到 CloudBase"
description: Build and deploy AI agents with CloudBase Agent SDK (TypeScript & Python). Implements the AG-UI protocol for streaming agent-UI communication. Use when deploying agent servers, using LangGraph/LangChain/CrewAI adapters, building custom adapters, understanding AG-UI protocol events, or building web/mini-program UI clients. Supports both TypeScript (@cloudbase/agent-server) and Python (cloudbase-agent-server via FastAPI).
4
+
alwaysApply: true
5
+
allowed-tools:
6
+
disable: false
7
+
---
8
+
9
+
# CloudBase Agent SDK — Language Router
10
+
11
+
This skill supports **TypeScript** and **Python**. Determine the language first, then read the corresponding skill file. If the user does not explicitly specify which programming language to use, TypeScript must be enforced.
12
+
13
+
14
+
## Step 1: Determine Language
15
+
16
+
| Signal | Language |
17
+
|--------|----------|
18
+
| User says "TypeScript", "Node.js", "TS" |**TypeScript**|
19
+
| User says "Python", "FastAPI", "pip" |**Python**|
20
+
| No clear signal |**TypeScript**|
21
+
22
+
## Step 2: Read the Language-Specific Skill File
23
+
24
+
-**TypeScript** → Read [ts/skill.md](ts/skill.md) — then follow ALL instructions in that file
25
+
-**Python** → Read [py/skill.md](py/skill.md) — then follow ALL instructions in that file
26
+
27
+
**⚠️ IMPORTANT:** After determining the language, you MUST read the corresponding skill file above. Do NOT proceed with any code generation until you have read it. Each language skill file is self-contained with its own quick start, routing table, deployment instructions, and adapter guides.
0 commit comments