docs: make English the default docs language and fix link paths

This commit is contained in:
zhayujie
2026-05-31 17:52:22 +08:00
parent 126649f70f
commit 7bf4ef3d05
231 changed files with 8999 additions and 8974 deletions

View File

@@ -1,32 +1,32 @@
---
title: 创造技能
description: 通过对话创建自定义技能
title: Create Skills
description: Create custom skills through conversation
---
CowAgent 内置了 Skill Creator可以通过自然语言对话快速创建、安装或更新技能。
CowAgent includes a built-in Skill Creator that lets you quickly create, install, or update skills through natural language conversation.
## 使用方式
## Usage
直接在对话中描述你想要的技能Agent 会自动完成创建:
Simply describe the skill you want in a conversation, and the Agent will handle the creation:
- 将工作流程固化为技能:"帮我把这个部署流程创建为一个技能"
- 对接第三方 API"根据这个接口文档创建一个技能"
- 安装远程技能:"帮我安装 xxx 技能"
- Codify workflows as skills: "Create a skill from this deployment process"
- Integrate third-party APIs: "Create a skill based on this API documentation"
- Install remote skills: "Install xxx skill for me"
## 创建流程
## Creation Flow
1. 告诉 Agent 你想创建的技能功能
2. Agent 自动生成 `SKILL.md` 说明文件和运行脚本
3. 技能保存到工作空间的 `~/cow/skills/` 目录
4. 后续对话中 Agent 会自动识别并使用该技能
1. Tell the Agent what skill you want to create
2. Agent automatically generates `SKILL.md` description and execution scripts
3. Skill is saved to the workspace `~/cow/skills/` directory
4. Agent will automatically recognize and use the skill in future conversations
<Frame>
<img src="https://cdn.link-ai.tech/doc/20260202202247.png" width="800" />
</Frame>
## SKILL.md 格式
## SKILL.md Format
创建的技能遵循标准的 SKILL.md 格式:
Created skills follow the standard SKILL.md format:
```markdown
---
@@ -45,14 +45,14 @@ metadata:
Detailed instructions...
```
| 字段 | 说明 |
| Field | Description |
| --- | --- |
| `name` | 技能名称,需与目录名一致 |
| `description` | 技能描述Agent 据此决定是否调用 |
| `metadata.requires.bins` | 依赖的系统命令 |
| `metadata.requires.env` | 依赖的环境变量 |
| `metadata.always` | 是否始终加载(默认 false |
| `name` | Skill name, must match directory name |
| `description` | Skill description, Agent decides whether to invoke based on this |
| `metadata.requires.bins` | Required system commands |
| `metadata.requires.env` | Required environment variables |
| `metadata.always` | Always load (default false) |
<Tip>
详细开发文档可参考 [Skill Creator 说明](https://github.com/zhayujie/CowAgent/blob/master/skills/skill-creator/SKILL.md)
See the [Skill Creator documentation](https://github.com/zhayujie/CowAgent/blob/master/skills/skill-creator/SKILL.md) for details.
</Tip>