/qa-testing:ship-prodfrom qa-testing
Deploys qaskills.sh to Vercel from git HEAD, handling clean/dirty worktrees, verifying the deploy landed, and rolling back if needed.
Ships in qa-testing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Deploys COMMITTED HEAD only, to the correct Vercel project, then proves the deploy landed. git push to main does not reliably auto-deploy; this skill is the deploy path.
qaskills.sh, project ID prj_rDKli4AyhHoXZXV8NHrs92Ncbf4f, org team_DGM6VSs6vhASlhktmHkSqPwn, account luckydutta96qaskills exists WITHOUT the domain. Never deploy there. Never accept interactive "link this directory?" defaults.vercel.json (shared build && web build); Node is pinned to 24.x via engines in packages/web/package.json (Vercel stopped building 20.x on 2026-10-01; the Neon HTTP driver is verified on 24)vercel --prod uploads the WORKING TREE, not git HEAD.vercel/project.json is gitignored, so fresh worktrees are unlinked: explicit env IDs required therecd /Users/promode/qaskills
vercel whoami # must be luckydutta96; else STOP, user must vercel login
git status --short # empty => clean path; anything => worktree path
git log -1 --oneline --stat | head -15 # confirm HEAD is exactly what you intend to ship
pnpm --filter @qaskills/shared build && pnpm --filter @qaskills/web build # never ship a red build
Clean tree (no modified or untracked files that could ship):
cd /Users/promode/qaskills && npx vercel --prod --yes
Dirty tree (default assumption; the working tree here usually carries WIP):
DEPLOY_DIR=$(mktemp -d)/qaskills-deploy
git -C /Users/promode/qaskills worktree add "$DEPLOY_DIR" HEAD
cd "$DEPLOY_DIR"
VERCEL_ORG_ID=team_DGM6VSs6vhASlhktmHkSqPwn \
VERCEL_PROJECT_ID=prj_rDKli4AyhHoXZXV8NHrs92Ncbf4f \
npx vercel --prod --yes
cd /Users/promode/qaskills
git worktree remove "$DEPLOY_DIR" --force
Capture the deployment URL the CLI prints; it goes in the final summary.
npx vercel ls | head -5 # newest deployment: Ready, Production
curl -s -o /dev/null -w '%{http_code}\n' https://qaskills.sh # 200
# The specific change, visible live. Examples:
curl -s -o /dev/null -w '%{http_code}\n' https://qaskills.sh/blog/<new-slug> # new article: 200
curl -s https://qaskills.sh/<changed-page> | grep -c '<expected-marker>' # code change: >= 1
All three must pass before saying "deployed". If the domain still serves old content while the new deployment is Ready, the alias did not move: npx vercel promote <deployment-url>.
npx vercel ls # find the previous Ready production deployment
npx vercel promote <previous-url> # fast path: point the domain back
For a code-level revert, git revert <sha> on main, then run this skill again.
| Symptom | Cause | Fix |
|---|---|---|
CLI asks to link / offers project qaskills | Unlinked dir, interactive defaults | Abort; re-run with both VERCEL_* env vars set |
Error: not authorized / wrong scope | Logged into another account | vercel whoami; user runs vercel login as luckydutta96 |
| Vercel build fails, local build green | Env-dependent code at import time | Lazy-init pattern (see CLAUDE.md); no secrets required at build |
| Deploy Ready but site unchanged | Domain alias on older deployment, or you shipped stale HEAD | vercel promote; confirm intended commit was in HEAD |
| WIP appeared on prod | Deployed dirty working tree directly | Roll back via promote, then redeploy via worktree |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hackernoon/cuttlefish-agent-skills --plugin qa-testing422 skills in this plugin
/a-b-test-validationA/B Test ValidationValidating A/B test implementations including traffic splitting accuracy, statistical significance calculation, metric tracking, and experiment cleanup./accessibility-a11y-enhancedAccessibility A11y EnhancedComprehensive WCAG compliance and accessibility testing covering ARIA, keyboard navigation, screen readers, color contrast, and automated a11y validation./add-seed-skillsUse when adding or editing QA skills in seed-skills/ or getting them onto the live qaskills.sh catalog, e.g. "add N new skills", "create a seed skill for X", "seed the database", "the skill page is empty", "skill 404s on the site".