feat: deploy skill

This commit is contained in:
2026-04-12 20:15:41 +08:00
parent 6fe04f4893
commit 71c604411d
37 changed files with 1701 additions and 2 deletions

51
docs/clients/cline.md Normal file
View File

@@ -0,0 +1,51 @@
# Cline
Cline 是一个 VS Code 扩展,提供 AI 编程助手功能,支持 MCP 协议。
## 配置步骤
### 1. 打开 MCP 设置
1. 打开 VS Code
2. 点击侧栏的 Cline 图标
3. 点击 MCP Servers 设置(齿轮图标)
### 2. 添加 AgentFox 服务器
在 MCP 配置中添加:
```json
{
"mcpServers": {
"my-api": {
"type": "http",
"url": "https://www.agentfoxapp.com/mcp/{projectId}",
"headers": {
"Authorization": "Bearer {your-api-key}"
}
}
}
}
```
### 3. 保存并验证
保存配置后Cline 会自动连接 MCP 服务器。你可以在 MCP Servers 列表中看到连接状态。
## 使用方法
在 Cline 的对话中直接使用:
```
你:根据 API 文档帮我实现用户登录功能
Cline让我先查看 API 文档...
[调用 search_endpoints keyword="login"]
[调用 get_endpoint_detail endpointId="..."]
根据文档,登录接口是 POST /auth/login...
```
## 验证连接
在 Cline 的 MCP Servers 面板中:
- 绿色状态表示已连接
- 可以查看已注册的 5 个 AgentFox 工具