본문으로 건너뛰기
cccskills
무료GitHub에 공개

ns-publish-to-production

Publish NowStack Mobile production surfaces. Use for Convex prod, web deploy, production env sync, and coordinating iOS/Android release skills.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

연동 도구StripeVercel
설치 방법 보기

포함된 파일(1)

  • SKILL.md3.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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:
  • Convex production deployment and env verification.
  • web-app/ production build/deploy preparation.
  • Runtime-secret placement between Convex, web public env, and mobile public env.
  • Handoff to ns-ios-deploy-app, ns-deploy-android-app, and ns-generate-store-screenshots.

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:

  • site-config.ts
  • convex/http.ts
  • convex/auth.ts
  • convex/storage/
  • web-app/package.json
  • mobile-app/package.json
  • .agents/rules/auth-payments-storage.md
  • .agents/rules/store-release.md </preflight>

<env_rules>

  • Convex backend secrets stay in Convex env.
  • Do not commit .env, .env.local, .env.production, store keys, App Store .p8, Google service account JSON, Stripe secrets, or R2 secrets.
  • Web/mobile public env values may exist locally for builds only when they are non-secret and required by the framework.
  • iOS production payments use Apple IAP. Do not route iOS production checkout through Stripe.
  • Android/web Stripe server logic belongs in Convex. </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:

  • npm run check-setup passes the "web-app/vercel.json" AND "web-app nitro plugin" checks.
  • CONVEX_DEPLOY_KEY (Production) is set so the backend never drifts behind the frontend.
  • The build log shows convex deploy running AND Generated .vercel/output/nitro.json.
  • Every public route (/, /privacy, /cgv, /support) returns 200, not 404 — a SPA-404 regression only surfaces on the live routes, not in the build.

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

<mobile_handoff> Before declaring production complete:

  • Run ns-generate-store-screenshots if store screenshots are missing or stale.
  • Use ns-ios-deploy-app for TestFlight/App Store Connect (asc workflow).
  • Use ns-deploy-android-app for Google Play (gpc workflow).
  • Verify production Convex URLs and public app URLs match site-config.ts. </mobile_handoff>

<success_criteria>

  • Convex prod env is present and verified.
  • web-app typecheck/build pass.
  • Mobile TypeScript passes when mobile config/env changed.
  • Store-release work is either completed through dedicated skills or explicitly listed as remaining.
  • No production secret is written to git-tracked files. </success_criteria>

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Complete guide for building beautiful apps with Expo Router. Covers fundamentals, styling, components, navigation, animations, patterns, and native tabs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

convex

무료

Routes general Convex requests to the right project skill. Use when the user asks which Convex skill to use or gives an underspecified Convex app task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

Use when optimizing Convex database read bandwidth, documents-read cost, query indexes, full-table scans, function-level usage dashboard findings, or code that uses .filter(), unbounded .collect(), N+1 reads, or expensive reactive Convex queries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

Build reusable Convex components with isolated tables and app-facing wrappers. Use for defineComponent, app.use, ComponentApi, or shared backend modules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

Plan safe Convex schema and data migrations. Use for widen-migrate-narrow rollouts, backfills, breaking field changes, table splits, or failed schema deploys.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

Audit Convex performance for hot reads, write contention, subscriptions, function limits, OCC conflicts, latency, read amplification, and expensive reactive queries.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Melvynx/saveit.now322026년 10월 19일 업데이트

Melvynx의 스킬 모두 보기

이 스킬의 문제 신고