返回顶部
a

api-translatorAPI翻译器

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.1.0
安全检测
已通过
153
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

api-translator

API 文件翻譯助手

將 API 文件翻譯成繁體中文(使用 LLM)。

使用方法

當使用者要求翻譯 API 文件時:

  1. 1. 使用 web_fetch 工具抓取 API 文件內容
  2. 將內容發送給 LLM 翻譯
  3. 輸出翻譯結果

翻譯 Prompt 模板

請將以下 API 文件翻譯成繁體中文(台灣用語),保持 Markdown 格式和程式碼不變,只翻譯說明文字:

[API 文件內容]

翻譯要求

  • - 保持 Markdown 格式
  • 保持程式碼不變
  • 只翻譯說明文字
  • 使用台灣用語:
- 軟體 → 軟體 - 網路 → 網路 - 數據 → 資料 - 請求 → 請求 - 響應 → 回應 - 錯誤 → 錯誤 - 認證 → 驗證 - 授權 → 授權 - 終端 → 端點

增強功能 (v1.1.0)

支援格式

  • - HTML 網頁 (自動提取內容)
  • JSON API 回應
  • Markdown 文件

翻譯選項
參數說明
--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 團隊開發

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 api-translator-1776192542 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 api-translator-1776192542 技能

通过命令行安装

skillhub install api-translator-1776192542

下载

⬇ 下载 api-translator v1.1.0(免费)

文件大小: 3.07 KB | 发布时间: 2026-4-17 14:05

v1.1.0 最新 2026-4-17 14:05
Version 1.1.0 introduces major enhancements to translation capabilities and format support:

- Now supports translating API documentation from HTML web pages, JSON API responses, and Markdown files.
- Adds batch translation for multiple URLs at once.
- Offers translation options for output format, code block preservation, and usage of Taiwan-specific terminology.
- Improves prompt template and translation requirements to ensure consistent, high-quality results.
- Enhanced overall usability and flexibility for a variety of API doc formats.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部