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, drives the
preview pipeline, and opens the browser for production release confirmation. In Claude Code and
Codex environments, use non-interactive flags only after the user has authorized the exact
operation. In particular, never add `-y` to `sxq push` before reviewing its add/modify/delete plan.
## 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>" # review add/modify/delete plan, then confirm the push
sxq preview # update the frontend preview; equivalent to sxq preview front
sxq preview ef # update only the Edge Function preview
sxq deploy # open the linked project's release