Install
openclaw skills install api-translator將 API 文檔翻譯成繁體中文。輸入 API 文檔網址,輸出翻譯後的 API 說明。
openclaw skills install api-translator將 API 文檔翻譯成繁體中文(使用 LLM)。
當用戶要求翻譯 API 文檔時:
web_fetch 工具抓取 API 文檔內容請將以下 API 文檔翻譯成繁體中文(台灣用語),保持 Markdown 格式和程式碼不變,只翻譯說明文字:
[API 文檔內容]
| 參數 | 說明 |
|---|---|
| --format | 輸出格式 (markdown/json/txt) |
| --preserve-code | 是否保留程式碼 (預設 true) |
| --taiwan | 使用台灣用語 (預設 true) |
支援多個 URL 批次翻譯:
翻譯以下 API 文檔:
- https://example.com/api/v1/docs
- https://example.com/api/v2/docs
輸入: 用戶給你 https://platform.openai.com/docs/api-reference/introduction
輸出: 翻譯後的繁體中文 API 文檔
本技能由 OpenClaw 團隊開發