suxiaoqiang-clilisted
Install: claude install-skill AiGuangInc/suxiaoqiang-cli
# suxiaoqiang-cli (sxq)
`sxq` syncs a Superun project (identified by a `sessionId`) with a local directory, and drives
the publish/release pipeline. All commands run non-interactively when needed — **always prefer
the non-interactive forms below**; interactive prompts hang in agent environments (the CLI
fails fast on non-TTY with a hint, but don't rely on prompts).
## Prerequisites
- `sxq login` requires a browser and must be done by the user. If any command reports
"Not logged in / 未登录" or "credential expired / 凭证无效", ask the user to run `sxq login`
themselves — do not attempt it. Exception: if the user hands you a token, run
`sxq login --token <token>` (it validates the token and keeps the previous credential on
failure). Never ask the user to paste a token proactively.
- A project directory is bound via `.sxq/config.json` (created by `sxq link`). Check for it
before assuming a directory is linked.
## Core workflow
```bash
sxq link <sessionId> -y # bind current dir to a project (verifies ownership; needs login)
sxq pull # pull remote files (incremental, three-way merge)
# ... edit files locally ...
sxq push -m "<summary>" # push local changes (pulls first; aborts on conflict)
sxq publish # debug publish (preview build); polls until done, prints preview URL
sxq deploy -y -m "<log>" # release to production; polls until live, prints live URL
sxq deploy --status # read-only: pending/published versions + live U