publish-license-productlisted
Install: claude install-skill powersoftware-app/powersoftware-agent-skills
# Publish a License Product (PowerSoftware)
Playbook to repeatedly publish **license-enabled** software products on PowerSoftware. The
platform's upload page has two prerequisites that this skill encodes:
1. **The account must be registered AND approved as a partner** (`DEVELOPER` role) — and the
approval is a **manual review by platform operators**, which the agent must NOT try to bypass.
2. **Images/installer must be uploaded first**; the product payload only stores the returned
`objectName` (a relative URI). You cannot save a product without its cover image.
All endpoints live under `{baseUrl}/frontApi` and are authenticated by the `SESSION_ID` cookie.
Ready-made dependency-free Node scripts (Node 18+) are in [`scripts/`](scripts/). Field-by-field
payload rules, enums and error codes are in [reference.md](reference.md).
## Prerequisites / config
- Node.js 18+.
- Copy [`scripts/config.example.json`](scripts/config.example.json) → `scripts/config.local.json`
and set `baseUrl`, `email`, `password`.
- Use the **CN site** `https://www.powersoftware.cn/frontApi` for scripted flows: login/register
there skip Cloudflare Turnstile. The overseas prod site requires a human `turnstileToken`
on register/login, which cannot be scripted headlessly.
- `config.local.json`, `.ps-session.json` and `assets/` are git-ignored — never commit them.
Run all commands from the `scripts/` directory.
## Workflow — track these phases
Copy this checklist and mark progress. **Ph