hb-sdk
Installation
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 workshop 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 startup, production build, browser Mock, device debugging, CLI login, Agent Skill diagnosis, or CLI troubleshooting, use the
hb-sdkCLI workflow. - If the task is reviewing a mini-program for submission, listing, audit, publishing, content compliance, data/privacy compliance, runtime quality, or icon/cover design requirements, use the online publishing rules 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 workshop mini-program SDK usage, CLI usage, protocol contracts, or listing/audit/compliance review, do not apply this skill.