Skip to content

完善 Skill 安装指引,让 agent 自主跑通 Step 1 安装与鉴权#1059

Merged
huacnlee merged 1 commit into
mainfrom
feat/skill_install_auth_for_agents
Jun 2, 2026
Merged

完善 Skill 安装指引,让 agent 自主跑通 Step 1 安装与鉴权#1059
huacnlee merged 1 commit into
mainfrom
feat/skill_install_auth_for_agents

Conversation

@mingxingmeng-ctrl
Copy link
Copy Markdown
Contributor

@mingxingmeng-ctrl mingxingmeng-ctrl commented Jun 1, 2026

目的

让 AI agent 能完整、无偏差地执行 Step 1(安装 CLI → 鉴权 → 验证)。此前唯一的执行偏差在 longbridge auth login 一步——agent 容易前台干等,或不知如何处理浏览器授权。

改动

docs/{en,zh-CN,zh-HK}/skill/install/index.md 顶部 <!-- AI INSTRUCTION --> 块,每份 3 行(正文及 Step 3/4 与 main 完全一致):

  1. 前言:要求 agent 为这些步骤建立 TodoList 并自己运行命令
  2. Step 1:CLI 方式自己运行安装命令,再用 longbridge --version 确认
  3. Step 2(核心):在后台运行 longbridge auth login——它打印验证 URL + code 并轮询约 5 分钟;agent 把 URL/code 转交用户、等其在浏览器批准、待 exit 0(Successfully authenticated.)后继续,并用 longbridge auth status 确认

范围

纯文档 · 3 文件 · 每份 3 行 · 不涉及 Homebrew、不改正文与 Step 3/4。

@mingxingmeng-ctrl mingxingmeng-ctrl force-pushed the feat/skill_install_auth_for_agents branch from ff8e02d to 6a02f53 Compare June 1, 2026 15:32
@mingxingmeng-ctrl mingxingmeng-ctrl changed the title 重写 Skill 安装指引,让 agent 可自主完成安装与鉴权 完善 Skill 安装指引,让 agent 自主跑通 Step 1 安装与鉴权 Jun 1, 2026
Enhance the AI INSTRUCTION block of the Skill install guide so an agent fully completes Step 1: create a TodoList, run the CLI install + `longbridge --version` itself, and drive `longbridge auth login` (background it, relay the printed URL + code, wait for browser approval, continue on exit 0, confirm with `auth status`).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mingxingmeng-ctrl mingxingmeng-ctrl force-pushed the feat/skill_install_auth_for_agents branch from 6a02f53 to e88b538 Compare June 1, 2026 15:38
@huacnlee huacnlee merged commit deeed62 into main Jun 2, 2026
1 of 2 checks passed
@huacnlee huacnlee deleted the feat/skill_install_auth_for_agents branch June 2, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants