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
- If the task is iframe mini-program business code, use the root package import path
@heybox/hb-sdk. - If the task is parent-container runtime, bridge-server, protocol contract, or
@heybox/hb-sdk-runtimework, use@heybox/hb-sdk/protocolonly for shared constants and types. - 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-sdkCLI workflow. - 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.
- If the task is not about Heybox external mini-program SDK usage, CLI usage, mock runtime, or protocol contracts, do not apply this skill.