Skip to content

Document the Superwall CLI and modernize the agent skills docs#249

Merged
DreamingInBinary merged 3 commits into
mainfrom
superewall-cli-and-skillz
Jul 22, 2026
Merged

Document the Superwall CLI and modernize the agent skills docs#249
DreamingInBinary merged 3 commits into
mainfrom
superewall-cli-and-skillz

Conversation

@DreamingInBinary

Copy link
Copy Markdown
Contributor

What

Adds a complete guide for the superwall CLI and brings the agent-skills docs in line with what actually ships today. Follows up on the npx superwall skills / npx superwall integrate launch (superwall.com/skills).

New page

  • Superwall CLI (dashboard/guides/superwall-cli): install and auth (browser device flow with real screenshots of both halves of the handshake), integrate / migrate / review [--fix] workflows with a real review report screenshot, the --skill playbook flag and when to use it, resource commands, ClickHouse queries, raw API verbs, the schema-aware App Store Connect proxy, the skills installer, agent/scripting flags (--json, --no-interactive), and telemetry opt-out.

Rewritten

  • Superwall Skill (dashboard/guides/superwall-skill): installer is now npx superwall skills (picker with all skills pre-selected; --skill / --force; auto-installed and kept updated by superwall login). Documents the three skills that actually exist upstream (superwall, superwall-editor, wwdc); the four platform-quickstart skills were removed from superwall/skills and their old install commands no longer work. The stale sw-api.sh section is replaced with CLI-based auth.

Updated

  • Vibe Coding (shared include): new CLI section and list entry, corrected install command and skill descriptions.
  • Query ClickHouse: pointer to superwall query as the wrapper for the same API.
  • Superwall MCP: related link to the CLI guide.
  • Dashboard nav: CLI guide listed after the Skill guide.

Notes for reviewers

  • Every runnable example was executed against a real account. Notably, the CLI README's SELECT count() FROM transactions example fails (UNKNOWN_TABLE); the docs use verified queries against sw.events_rep instead. The README fix belongs in superwall/cli.
  • The Editor MCP page intentionally still shows npx skills add superwall/skills because that is what the editor UI displays today (verified against paywall-next main).
  • Behavior claims are grounded in the CLI source (superwall/cli), including the device-auth signup flow and the --skill playbook composition.
  • First commit contains the reviewed content with temporary yellow highlights; second commit strips them. Squash-merge collapses this into one clean change.

Verification

  • bun run build (same as build:cf) passes; all 64 tests pass; git diff --check clean.
  • All new images are within the 2,000px width cap.

🤖 Generated with Claude Code

DreamingInBinary and others added 3 commits July 22, 2026 11:15
Adds a full guide for the superwall CLI (npm package `superwall`) and
updates every page that referenced the old skills installer.

New: Superwall CLI guide (dashboard/guides/superwall-cli)
- Install (npm global / npx), login via browser device auth, whoami,
  logout, orgs, CI auth with --api-key, and real screenshots of the
  login handshake (terminal + browser)
- Workflows: integrate, migrate, review [--fix], doctor, feedback,
  and the --skill flag with reasons to drive your own agent
- Resource commands (bootstrap, apps, products, entitlements,
  campaigns, paywalls) with scoping and --json conventions
- ClickHouse queries with examples verified against live data
  (sw.events_rep; the README's `transactions` table does not exist)
- Raw API verbs, the schema-aware App Store Connect proxy, the
  skills installer, agent/scripting flags, and telemetry opt-out
- Screenshot of a real `superwall review` report on an iOS app

Rewritten: Superwall Skill guide
- Installer is now `npx superwall skills` (interactive picker, all
  skills pre-selected; --skill/--force; auto-installed on login)
- Documents the three current skills: superwall, superwall-editor,
  wwdc; the platform quickstart skills no longer exist upstream
- Auth section now covers CLI login, replacing the removed sw-api.sh

Updated cross-references
- Shared vibe-coding page: new CLI section + corrected install
  command and skill descriptions
- Query ClickHouse guide: pointer to `superwall query`
- Superwall MCP guide: related link to the CLI guide
- Dashboard nav lists the CLI guide after the Skill guide

New/edited content is wrapped in temporary yellow review highlights;
they are removed in the follow-up commit.

Co-Authored-By: Claude Fable 5 <[email protected]>
Strips the yellow <mark> wrappers and review container divs used to
flag new content during review. Prose, structure, images, and code
examples are unchanged from the reviewed version.

Co-Authored-By: Claude Fable 5 <[email protected]>
Corrects agent-facing docs that no longer match the repo:
- Dev server runs on port 3000 (was documented as 8293)
- `clear:cache` and `.next` are gone; cache clearing is
  `rm -rf node_modules/.vite`
- `generate:llm`, `generate:md`, `copy:docs-images`, and
  `watch:images` are not script names; images auto-copy via
  predev/prebuild
- The referenced `content/README/AGENTS.md` writing guide does not
  exist; point authors at existing page conventions instead
- Documents the preview-server gotcha: its Cloudflare cache
  emulation serves the previous build until restarted

Co-Authored-By: Claude Fable 5 <[email protected]>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 22, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
superwall-docs 9e0ca1b Commit Preview URL

Branch Preview URL
Jul 22 2026, 04:37 PM

@DreamingInBinary
DreamingInBinary merged commit 133d1ec into main Jul 22, 2026
2 checks passed
@DreamingInBinary
DreamingInBinary deleted the superewall-cli-and-skillz branch July 22, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant