hb-sdk

SKILL.md

hb-sdk Agent Procedure

Apply these instructions when writing, reviewing, or debugging code that consumes @heybox/hb-sdk or uses the companion hb-sdk CLI.

Step 1: Classify the task

  1. If the task is iframe mini-program business code, use the root package import path @heybox/hb-sdk.
  2. If the task is parent-container runtime, bridge-server, protocol contract, or @heybox/hb-sdk-runtime work, use @heybox/hb-sdk/protocol only for shared constants and types.
  3. If the task is project scaffolding, local Vite startup, browser mock runtime, CLI login cache, Agent Skill version diagnosis, or CLI troubleshooting, use the hb-sdk CLI workflow.
  4. If the task asks for direct login-state extraction, cookies, tokens, raw Heybox client protocols, or internal hb-sdk package paths, refuse that approach and use the public SDK or CLI boundary instead.
  5. If the task is not about Heybox external mini-program SDK usage, CLI usage, mock runtime, or protocol contracts, do not apply this skill.

Step 2: Load only the needed reference

Installs
82
First Seen
May 18, 2026
hb-sdk from open.xiaoheihe.cn