Auto-generated by skills repo CI.
Source commit:
longbridge/skills@d319e57134
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## What
Removes the **"100+"** skill-count claims from the homepage copy.
## Why
The skills repo was consolidated from 127 skills down to 13. The raw
count is no longer a selling point — quantity isn't the differentiator
anymore, capability and coverage are. So the copy shouldn't lead with a
number that is both outdated and off-message.
## Changes (all three locales: en / zh-CN / zh-HK)
- **`Skill.vue`** — catalog hero title: `100+ Skills, covering every
move…` → `Skills that cover every move in your trading day.`
- **`NewHomePage/index.vue`**
- AI Skill product-card `tags`: `['100+ Skills']` → `['Agent Skills']`
(4 occurrences)
- AI-section `eyebrow`: `AI Skill · 100+ packaged tools` → `AI Skill ·
packaged tools`
The CLI card's `130+ cmds` is a separate, still-valid metric and is left
untouched.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@762717aa1a
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## Summary
- The `Connect AI` button on the `/skill` page hard-coded
`href="/connect"`, so zh-CN / zh-HK visitors were sent to the English
connect page.
- Now uses the existing `localePfx` computed (same as the
`/skill/install` link), linking to `/zh-CN/connect` / `/zh-HK/connect` /
`/connect` per the current locale. All three paths verified live (200).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
## Summary
- Add new **Agent Auth Code** doc page (en / zh-CN / zh-HK): generate a
one-time code at
[open.longbridge.com/connect](https://open.longbridge.com/connect),
redeem via CLI `auth login --auth-code` or the dedicated MCP endpoint
`https://mcp.longbridge.com/agent` (`authenticate` tool)
- CLI install docs: document the `--auth-code` fallback when no browser
is available (example code uses base58 format)
- MCP docs: add tip for clients with incomplete OAuth support or no
browser
- Skill references (`setup.md` / `mcp.md`): auth-code flow for headless
agents
- AppNav: add "Connect AI" entry to the avatar dropdown menu
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@9977e955fd
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@77c945d762
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## Summary
- Add **CLI v0.22.4** release notes: `constituent` now supports ETFs —
asset-allocation breakdown for ETF symbols, and full US ETF holdings
fetched from SEC EDGAR N-PORT filings
(longbridge/longbridge-terminal#229, longbridge/longbridge-terminal#231)
- Document the new ETF holdings behavior in the `constituent` command
page (usage examples, SEC N-PORT output sample, fallback chain,
data-timeliness notes)
- Backfill missing changelog entries for CLI v0.22.2 / v0.22.3, and add
v0.22.4
- All three locales (en / zh-CN / zh-HK) updated in sync; Chinese docs
formatted with `autocorrect --fix`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
## What
Adds a **Go SDK** reference set to the `longbridge` AI skill, mirroring
the existing `rust-sdk` references but kept concise:
- `references/go-sdk/overview.md` — install, Config (env / OAuth),
contexts, push callbacks, error handling
- `references/go-sdk/quote-context.md` — quote methods, `Subscribe` +
`On*` handlers
- `references/go-sdk/trade-context.md` — `SubmitOrder` struct, orders,
account, positions
- `references/go-sdk/types.md` — SubType / Period / AdjustType /
CalcIndex / OrderType / OrderSide / TimeType / OutsideRTH / OrderStatus
/ Currency
- linked from `SKILL.md`
Content stays high-level (method/struct/enum coverage) with pointers to
GoDoc + source for exact signatures, consistent with the skill-authoring
guidance in CLAUDE.md.
## Verification
Verified against the real SDK **`github.com/longbridge/openapi-go`
v0.24.1**:
**1. Compile check** — a program exercising every documented method,
struct field and constant was built with `go build` / `go vet`. Caught
and fixed **6 issues**:
| Doc claim | Real SDK |
|-----------|----------|
| `QuoteContext.CalcIndexes(...)` | method is singular `CalcIndex` |
| `QuoteContext.Watchlist(...)` | list getter is `WatchedGroups` |
| `SecurityDepth.Asks / .Bids` | fields are `.Ask` / `.Bid` |
| `GetHistoryOrders.StartAt/EndAt` as time | `int64` Unix secs
(`GetHistoryExecutions` uses `time.Time` — the two differ; now noted) |
| `GetAccountBalance{Currency: "HKD"}` | `Currency` is `trade.Currency`
→ use `trade.CurrencyHKD` |
| "prices/quantities use decimal" | quantities (`SubmittedQuantity`,
`ReplaceOrder.Quantity`) are `uint64`; only price fields use
`shopspring/decimal` |
**2. Live read-only run** — against a paper-trading account, **no orders
placed**. `Quote` / `StaticInfo` / `Candlesticks` / `Depth` /
`AccountBalance` / `StockPositions` / `TodayOrders` all returned real
data with the documented field names.
**3. Independent cross-review** — a second model (kimi) and a separate
agent re-checked the docs against source; both confirmed the fixes,
including the `uint64`-vs-`decimal` correction (verified via a
deliberate compile-failure test).
## Notes
- Docs only; no code/build changes. No submodules touched.
- Users will need `go mod tidy` to pull the SDK's transitive deps —
normal Go flow, no doc change needed.
---------
Co-authored-by: 陆逊 <jiaxiong.liu@longbridge-inc.com>
Co-authored-by: Jason Lee <huacnlee@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@0083b60f56
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Inject the `google-one-tap.es.js` CDN bundle into every page <head> via
VitePress `head` config, so it loads in both `bun run dev` and built
output (works around `transformHtml` being build-only).
- Gated by `VITE_REGION !== 'cn'` (Google unavailable in China).
- `data-proxy` attribute driven by `process.env.PROXY`: `canary` for
`dev:canary` / `build:canary`, otherwise `production`. CI inherits via
the same npm scripts — no workflow edits required.
- No `data-region` passed: the bundle falls back to `app-id` / `region`
cookies with `sg` default, which is correct for this first-party
`.longbridge.com` site.
- On success the bundle writes session cookies on `.longbridge.com` and
reloads, so `longportInternal.isLogin()` picks it up.
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@ae37197cab
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## Summary
- Add `docs/{en,zh-CN,zh-HK}/docs/legal/` directory with
`_category_.json` (position 8, collapsed)
- Add HK and SG versions of User Data Authorisation and Acknowledgement
in three languages (6 files total)
- Add links in `AppFooter.vue` Legal section pointing to the two new
pages
- Add i18n translation keys (`footer.dataAuthorisationHK` /
`footer.dataAuthorisationSG`) for all three locales
- Use `sidebar_label` for shorter sidebar display names
## Test plan
- [ ] Sidebar shows "Legal" section (collapsed) with "Data Authorisation
(HK)" and "Data Authorisation (SG)"
- [ ] Each page renders the full legal text correctly in all three
languages
- [ ] Footer Legal section shows two new links; clicking navigates to
the correct pages
- [ ] `localePath()` correctly prefixes `/zh-CN/` and `/zh-HK/` for
non-English locales
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
## Summary
Two issues fixed in the DCA documentation (all 3 locales: zh-CN, zh-HK,
en):
1. **SDKLinks method names were wrong** — the `<SDKLinks>` components
referenced non-existent method names, causing broken SDK code links
2. **`delete_dca.md` removed** — the SDK has no `delete` method; the CLI
example on that page already used `dca stop`, so the page was redundant
with `stop_dca.md`
## SDKLinks fixes
| File | Before | After |
|------|--------|-------|
| `list_dca.md` | `method="list_dca"` | `method="list"` |
| `create_dca.md` | `method="create_dca"` | `method="create"` |
| `update_dca.md` | `method="update_dca"` | `method="update"` |
| `dca_history.md` | `method="dca_history"` | `method="history"` |
Already correct (no change): `pause`, `resume`, `stop`, `stats`,
`check_support`, `calc_date`, `set_reminder`
## Removed files (3 locales)
- `docs/{locale}/docs/account/dca/delete_dca.md` — SDK has no `delete`
method; functionality is covered by `stop_dca.md`
## Test plan
- [x] `autocorrect --lint docs/` — no issues ✅
- [x] Local dev server verified (`npm run dev`) ✅🤖 Generated with [Claude Code](https://claude.com/claude-code)
Auto-generated by skills repo CI.
Source commit:
longbridge/skills@4ce7a1998a
Updates `skills.json` with the latest skill list extracted from all
`SKILL.md` frontmatter files.
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
## Summary
- **AppNav**: Replace `localePath('/login')` with
`createLoginRedirectPath()` + `target="_self"` on the Get Started button
— bypasses VitePress SPA router interception so the browser navigates to
the server-side `/login` route with proper `redirect_to` params
- **AppFooter**: Replace placeholder `href="#"` on Terms / Privacy /
Risk Disclosure links with real Longbridge URLs, using locale-aware
`sgBaseUrl`
## Test plan
- [ ] Click "Get Started" in navbar → should navigate to login page (not
VitePress 404)
- [ ] After login, should redirect back to the originating page
- [ ] Footer legal links open correct Longbridge support pages in new
tab
- [ ] Locale switching (zh-CN / zh-HK) uses correct sgBaseUrl prefix for
footer links
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>