Docs: normalize zh-CN terminology + tone

What: switch to 你/你的 tone; standardize Skills/Gateway网关/local loopback/私信 wording
Why: align zh-CN docs with issue 6995 feedback + idiomatic tech style
Tests: pnpm docs:build
This commit is contained in:
Josh Palmer
2026-02-02 15:46:45 +01:00
parent 2b1f68c928
commit 5676a6b38d
237 changed files with 2322 additions and 2337 deletions

View File

@@ -1,5 +1,5 @@
---
title: 创建技能
title: 创建 Skills
x-i18n:
generated_at: "2026-02-01T21:42:12Z"
model: claude-opus-4-5
@@ -9,19 +9,19 @@ x-i18n:
workflow: 15
---
# 创建自定义技能 🛠
# 创建自定义 Skills 🛠
OpenClaw 的设计易于扩展。"技能"是为你的助手添加新功能的主要方式。
OpenClaw 的设计易于扩展。"Skills"是为你的助手添加新功能的主要方式。
## 什么是技能
## 什么是 Skills
技能是一个包含 `SKILL.md` 文件(为 LLM 提供指令和工具定义)的目录,还可以选择性地包含一些脚本或资源。
Skills 是一个包含 `SKILL.md` 文件(为 LLM 提供指令和工具定义)的目录,还可以选择性地包含一些脚本或资源。
## 分步指南:你的第一个技能
## 分步指南:你的第一个 Skills
### 1. 创建目录
技能存放在你的工作区中,通常位于 `~/.openclaw/workspace/skills/`。为你的技能创建一个新文件夹:
Skills 存放在你的工作区中,通常位于 `~/.openclaw/workspace/skills/`。为你的 Skills 创建一个新文件夹:
```bash
mkdir -p ~/.openclaw/workspace/skills/hello-world
@@ -48,14 +48,14 @@ When the user asks for a greeting, use the `echo` tool to say "Hello from your c
### 4. 刷新 OpenClaw
让你的智能体"刷新技能"或重启 Gateway。OpenClaw 将发现新目录并索引 `SKILL.md`
让你的智能体"刷新 Skills"或重启 Gateway网关。OpenClaw 将发现新目录并索引 `SKILL.md`
## 最佳实践
- **保持简洁**:指示模型应该做*什么*,而不是如何成为一个 AI。
- **安全第一**:如果你的技能使用 `bash`,请确保提示不会允许来自不受信任用户输入的任意命令注入。
- **安全第一**:如果你的 Skills 使用 `bash`,请确保提示不会允许来自不受信任用户输入的任意命令注入。
- **本地测试**:使用 `openclaw agent --message "use my new skill"` 进行测试。
## 共享技能
## 共享 Skills
你还可以在 [ClawHub](https://clawhub.com) 上浏览和贡献技能
你还可以在 [ClawHub](https://clawhub.com) 上浏览和贡献 Skills