Are you the author? Sign in to claim
sxq is the official command-line tool for Superun, the vibe coding platform. It syncs your Superun project files to your
sxq)English | 简体中文
sxq is the official command-line tool for Superun, the vibe coding platform. It syncs your Superun project files to your local machine so you can edit them with your favorite editor or AI coding agent, then push changes back, trigger a preview build, and release to production — all from the terminal.
Requires Node.js >= 18.
npm install -g suxiaoqiang-cli
Or run from source:
git clone https://github.com/AiGuangInc/suxiaoqiang-cli.git
cd suxiaoqiang-cli
npm install
npm run build
npm link # makes the `sxq` command available globally
# 1. Log in (opens a browser for authorization)
sxq login
# 2. Link a local directory to your Superun project
mkdir my-app && cd my-app
sxq link <sessionId> # sessionId is shown in the Superun project URL
# 3. Pull the project files
sxq pull
# 4. Edit locally, then push your changes back
sxq push -m "tweak homepage copy"
# 5. Trigger a preview build (debug publish) and wait for it
sxq publish # prints the preview URL when done
# 6. Release to production
sxq deploy # asks for confirmation, then polls until live
| Command | Description |
|---|---|
sxq login [-y] [--token <token>] | Log in via browser authorization, or directly with an existing token (validated first). |
sxq link <sessionId> [-y] | Link the current directory to a project. Verifies the session belongs to your account. |
sxq pull | Pull remote files. Incremental after the first pull, with three-way merge; conflicts get git-style <<<<<<< markers. |
sxq push [-m <msg>] | Push local additions, modifications, and deletions, then create a snapshot using the optional note. Pulls first and aborts on conflicts. |
sxq publish | Debug publish (preview recompile); polls until the build finishes and prints the preview URL. |
sxq deploy [-y] [-m <msg>] [--region CN|INTL] | Release the pending version and poll until live. With no pending version, republishes the latest release. |
sxq deploy --status | Show pending / published versions and the live URL without releasing. |
sxq db push [-m <msg>] | Execute new database migrations under supabase/migrations/; -m supplies the migration note. |
sxq config set|get|unset|list | Manage config. Keys: host, lang (zh / en). |
sxq upgrade | Upgrade the CLI to the latest version from npm. |
This repo doubles as a Claude Code plugin marketplace. Install the suxiaoqiang-cli skill so Claude Code knows how to drive sxq (workflows, non-interactive flags, safety rules):
/plugin marketplace add AiGuangInc/suxiaoqiang-cli
/plugin install suxiaoqiang-cli@suxiaoqiang
The plugin teaches Claude how to use the CLI — the CLI itself still needs to be installed via npm (see above).
Create a migration file under supabase/migrations/ named <digits>_<memo>.sql — everything before the first underscore must be digits (a yyyyMMddHHmmss timestamp is recommended, e.g. 20260709120000_create_users.sql); files not matching this pattern are skipped, same as the Supabase CLI — then:
sxq db push -m "add user profile tables"
It pulls first, finds migrations that don't exist remotely yet, and executes them one by one in timestamp order — stopping at the first failure and printing the error. The server stores each successful migration as a project attachment automatically, so don't push migration files with sxq push (the CLI blocks them).
.gitignore support: pull / push respect your project's .gitignore (plus built-in ignores like node_modules, dist, .git). Ignored files are never synced.-y flag. In non-TTY environments the CLI fails fast with a hint instead of hanging.sxq config set lang en.sxq deploy releases to production and may incur cloud service fees; the confirmation prompt (or -y) acknowledges this.1000+ skills curated from Anthropic, Vercel, Stripe, and other engineering teams
Design enforcement with memory — keeps your UI consistent across a project
Detects 37 AI writing patterns and rewrites text with human rhythm across 5 voice profiles
WCAG accessibility audit — automated scanning, manual review, remediation