Files
openchamber/packages/docs/content/docs/zh-cn/skills.mdx
T
Bohdan Triapitsyn 967704a9b9 docs: add OpenChamber feature docs and translations (#1400)
* docs: add OpenChamber feature docs and translations

Add 30 new docs pages covering OpenChamber-specific workflows and setup:
OpenCode server, providers/models/agents, MCP, skills, commands & snippets,
usage, projects, context, notes/todos/plans, scheduled tasks, project actions,
preview, worktrees, multi-run, git & GitHub, magic prompts, git identities,
mobile/PWA, security, notifications, voice, project icons, remote instances,
desktop browser, updates, and three troubleshooting pages.

Rebuild sidebar into eight task-oriented sections and translate every new
page into all six supported locales (uk, zh-cn, es, pt-br, ko, pl).

* docs: surface new sections on homepage and cross-link tunnels

Add an Explore block to the docs homepage (all seven locales) linking to
the new section anchors, and cross-link the Tunnels page to Security and
PWA & Mobile.
2026-05-24 14:15:55 +03:00

31 lines
1.2 KiB
Plaintext

---
title: Skills
description: 创建可复用的指令,让智能体按需加载。
---
# Skills
Skill 是一组可复用的指令,智能体可以在相关时引入它 — 例如“我们如何编写提交信息”或“我们的 API 规范”。你在 **Settings → Skills** 中管理它们。
如果想安装现成的 skill 而不是自己编写,请参阅 [Skills 目录](/zh-cn/skills-catalog/)。
## 创建 skill
1. 打开 **Settings → Skills**。
2. 创建一个 skill,并给它一个名称和一段简短的描述。智能体正是根据描述来判断该 skill 何时适用,因此请写得具体。
3. 编写指令。如果该 skill 需要支持文件,可以添加它们。
4. 选择它所在的位置:
- **personal** — 在每个项目中都可用
- **project** — 仅在当前项目中可用
## 在聊天中使用 skill
在消息中间输入 `/` 可调出 skill 选择器,然后选择一个。智能体会为该次回复加载该 skill 的指令。
位于消息最开头的 `/` 会改为打开 [命令](/zh-cn/commands-snippets/)。
## 相关内容
- [Skills 目录](/zh-cn/skills-catalog/) — 安装他人发布的 skill
- [命令与代码片段](/zh-cn/commands-snippets/) — 在聊天中复用文本的其他方式