From e493e8e4a5a3bf58c36515e4be6b260dfcc7880b Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 3 Apr 2026 22:07:38 +0800 Subject: [PATCH 1/2] docs(skill): add Skill install step and CN mirror download link MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add Step 1 (npx/bunx install + ZIP download) to English install page to match zh-CN/zh-HK structure - Add CN mirror download URL (open.longbridge.cn) for longbridge.zip across all three locales - Fix relative ZIP paths to absolute URLs in zh-CN/zh-HK - Restructure English page: Method 1/2 → Step 2 Method A/B Co-Authored-By: Claude Sonnet 4.6 --- docs/en/skill/install/index.md | 46 +++++++++++++++++++++---------- docs/zh-CN/skill/install/index.md | 5 ++-- docs/zh-HK/skill/install/index.md | 5 ++-- 3 files changed, 38 insertions(+), 18 deletions(-) diff --git a/docs/en/skill/install/index.md b/docs/en/skill/install/index.md index 0b1215f3..a0cc3fbf 100644 --- a/docs/en/skill/install/index.md +++ b/docs/en/skill/install/index.md @@ -16,16 +16,42 @@ Once installed, you can say things like this to your AI assistant and get real a --- -## How it works +## Step 1 — Install the Skill -Longbridge Skill gives your AI assistant knowledge of what the `longbridge` CLI can do. To actually fetch live data or execute trades, the AI needs one of two capabilities: +The Skill is a set of instruction files that tell your AI assistant what Longbridge can do. Two ways to install: -- **Shell execution** — the AI runs `longbridge` commands directly in a terminal -- **MCP integration** — the AI connects to the Longbridge MCP server over the network +**Via npx / bunx (recommended, global install):** + +```bash +# Node.js +npx skills add longbridge/developers -g -y +# Bun +bunx skills add longbridge/developers -g -y +``` + +> Requires [Node.js](https://nodejs.org) or [Bun](https://bun.sh). + +**Or download the ZIP and install manually:** + +Download [longbridge.zip](https://open.longbridge.com/skill/longbridge.zip) and unzip it, then place the files in your AI tool's Skill directory (Claude Code: `.claude/skills/`, Cursor: paste into the Rules editor, other tools: see the README). + +**OpenClaw** — send this message in chat and it handles everything automatically: + +``` +Install the Longbridge Developers Skill from this zip file: +https://open.longbridge.com/skill/longbridge.zip +``` --- -## Method 1 — Install the CLI +## Step 2 — Connect your Longbridge account + +The Skill tells the AI what's possible. To actually fetch live data or execute trades, you need one of two capabilities: + +- **Shell execution** — the AI runs `longbridge` commands directly in a terminal +- **MCP integration** — the AI connects to the Longbridge MCP server over the network + +### Method A — Install the CLI For AI tools that can execute shell commands (Claude Code, Codex, Gemini CLI, Warp, etc.). @@ -61,15 +87,7 @@ That's it. The AI can now call `longbridge` commands on your behalf. > See the [CLI reference](/docs/cli) for the full command list and installation details. -**OpenClaw** handles installation differently — send this message in chat and it takes care of everything: - -``` -Install the Longbridge Developers Skill from this zip file: https://open.longbridge.com/skill/longbridge.zip -``` - ---- - -## Method 2 — Connect the MCP server +### Method B — Connect the MCP server For AI tools that support MCP (Claude Desktop, Cursor, Zed, Gemini CLI, Warp, etc.). diff --git a/docs/zh-CN/skill/install/index.md b/docs/zh-CN/skill/install/index.md index 3d3a64c8..ad883656 100644 --- a/docs/zh-CN/skill/install/index.md +++ b/docs/zh-CN/skill/install/index.md @@ -33,12 +33,13 @@ bunx skills add longbridge/developers -g -y **或下载 ZIP 手动安装:** -下载 [longbridge.zip](/skill/longbridge.zip) 并解压,将文件放入你的 AI 工具指定的 Skill 目录(Claude Code 放 `.claude/skills/`,Cursor 粘贴到 Rules 编辑框,其他工具参考 README)。 +下载 [longbridge.zip](https://open.longbridge.com/skill/longbridge.zip) 并解压,将文件放入你的 AI 工具指定的 Skill 目录(Claude Code 放 `.claude/skills/`,Cursor 粘贴到 Rules 编辑框,其他工具参考 README)。 **OpenClaw** 直接在对话中发送以下消息,自动完成安装: ``` -从以下 zip 文件安装 Longbridge Developers Skill:https://open.longbridge.com/skill/longbridge.zip +从以下 zip 文件安装 Longbridge Developers Skill: +https://open.longbridge.com/skill/longbridge.zip ``` --- diff --git a/docs/zh-HK/skill/install/index.md b/docs/zh-HK/skill/install/index.md index 78990434..9c727ea7 100644 --- a/docs/zh-HK/skill/install/index.md +++ b/docs/zh-HK/skill/install/index.md @@ -33,12 +33,13 @@ bunx skills add longbridge/developers -g -y **或下載 ZIP 手動安裝:** -下載 [longbridge.zip](/skill/longbridge.zip) 並解壓,將文件放入你的 AI 工具指定的 Skill 目錄(Claude Code 放 `.claude/skills/`,Cursor 貼到 Rules 編輯框,其他工具參考 README)。 +下載 [longbridge.zip](https://open.longbridge.com/skill/longbridge.zip) 並解壓,將文件放入你的 AI 工具指定的 Skill 目錄(Claude Code 放 `.claude/skills/`,Cursor 貼到 Rules 編輯框,其他工具參考 README)。 **OpenClaw** 直接在對話中發送以下訊息,自動完成安裝: ``` -從以下 zip 文件安裝 Longbridge Developers Skill:https://open.longbridge.com/skill/longbridge.zip +從以下 zip 文件安裝 Longbridge Developers Skill: +https://open.longbridge.com/skill/longbridge.zip ``` --- From 4f9d21f471513378a14cea7e4850ecfb03580ccf Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Fri, 3 Apr 2026 22:09:31 +0800 Subject: [PATCH 2/2] fix(footer): hide footer on .cn domain Co-Authored-By: Claude Sonnet 4.6 --- docs/.vitepress/theme/components/HomePage/Footer.vue | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/.vitepress/theme/components/HomePage/Footer.vue b/docs/.vitepress/theme/components/HomePage/Footer.vue index b2844620..bfed37f1 100644 --- a/docs/.vitepress/theme/components/HomePage/Footer.vue +++ b/docs/.vitepress/theme/components/HomePage/Footer.vue @@ -1,5 +1,5 @@