| summary | Copy/paste CLI smoke checklist for local verification. | ||
|---|---|---|---|
| read_when |
|
- Ensure logged in:
bun clawhub whoami(orbun clawhub login). - Optional: set env
CLAWHUB_SITE=https://clawhub.aiCLAWHUB_REGISTRY=https://clawhub.ai
bun clawhub --helpbun clawhub --cli-versionbun clawhub whoami
bun clawhub search gif --limit 5
- Public prod smoke via Vitest:
bun run test:e2e:prod-http
- Optional overrides:
CLAWHUB_E2E_SITE=https://clawhub.aiCLAWHUB_E2E_SKILL_OWNER=steipeteCLAWHUB_E2E_SKILL_SLUG=gifgrep
mkdir -p /tmp/clawhub-manual && cd /tmp/clawhub-manualbunx clawhub@beta install gifgrep --forcebunx clawhub@beta listbunx clawhub@beta update gifgrep --force
mkdir -p /tmp/clawhub-skill-demo/SKILL && cd /tmp/clawhub-skill-demo- Create files:
SKILL.mdnotes.md
- Publish:
bun clawhub skill publish . --slug clawhub-manual-<ts> --name "Manual <ts>" --version 1.0.0 --tags latest
- Publish update with empty changelog:
bun clawhub skill publish . --slug clawhub-manual-<ts> --name "Manual <ts>" --version 1.0.1 --tags latest
bun clawhub delete clawhub-manual-<ts> --yes- Verify hidden:
curl -i "https://clawhub.ai/api/v1/skills/clawhub-manual-<ts>"- Restore:
bun clawhub undelete clawhub-manual-<ts> --yes
- Cleanup:
bun clawhub delete clawhub-manual-<ts> --yes
bun clawhub sync --dry-run --all
Run against prod:
PLAYWRIGHT_BASE_URL=https://clawhub.ai bun run test:pw
This smoke gate should fail on visible error UI, page errors, and browser console errors.
Recommended workflow coverage in Playwright:
- home/install-switcher + browse CTA
/searchredirect into skills browse- skills browse -> detail -> owner profile
- souls browse -> detail -> owner profile
- upload signed-out gate
- import signed-out gate
- authenticated upload/import canaries when storage state is configured
Authenticated prod canary:
PLAYWRIGHT_BASE_URL=https://clawhub.ai \
PLAYWRIGHT_AUTH_STORAGE_STATE=/path/to/storage-state.json \
bunx playwright test e2e/upload-auth-smoke.pw.test.ts
Capture storage-state.json once with Playwright or browser devtools after GitHub login.
Run against a local preview server:
bun run test:e2e:local