Ns publish to production

From Melvynx/saveit.now · View interactive version

Ns publish to production is an AI agent skill from the GitHub repository Melvynx/saveit.now. Publish NowStack Mobile production surfaces. Use for Convex prod, web deploy, production env sync, and coordinating iOS/Android release skills.

How to use this skill

Skill file

Publish To Production - NowStack Mobile

<objective>

Ship the production stack without confusing web deploy with mobile store release. This workflow coordinates Convex prod, web-app production deployment, and handoff to the dedicated iOS/Android store skills.

</objective>

<scope>

This skill covers:

This skill does not submit App Store or Google Play builds directly. Use the dedicated store skills for that.

</scope>

<preflight>

Run/read:

git status --short --branch
git remote -v
npx convex --version
npx convex env list --prod || true
cd web-app && npm run typecheck
cd web-app && npm run build
cd mobile-app && npx tsc --noEmit

Read:

</preflight>

<env_rules>

</env_rules>

<web_deploy>

Web deploy is owned by the ns-web-deploy skill — run it; do not duplicate its steps here. It covers the full one-shot flow: the mandatory nitro Vite plugin (without it Vercel ships a SPA and every route 404s), web-app/vercel.json running convex deploy so the backend ships with the frontend, npm run setup:vercel (deploy key + Root Directory = web-app), and deploying from the repo root with --archive=tgz or a push to main.

Non-negotiables to assert before declaring the web surface done:

See ns-web-deploy and docs/production-checklist.md stage 2 for the step-by-step.

</web_deploy>

<mobile_handoff>

Before declaring production complete:

</mobile_handoff>

<success_criteria>

</success_criteria>

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.