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

ns-setup-stripe

Configure Stripe for NowStack Mobile web and Android payments while preserving Apple IAP on iOS. Use for price ids, keys, webhooks, and payment config.

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

연동 도구Stripe
설치 방법 보기

포함된 파일(1)

  • SKILL.md2.8 KB

SKILL.md(원문)

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

Setup Stripe - NowStack Mobile

<objective> Configure Stripe where this repo uses Stripe: web and Android payment surfaces, with server-side logic in Convex. iOS production payments stay on Apple IAP. </objective> <rules> - Never ask for Stripe secrets and plan details in the same message. - Never commit Stripe secrets to `.env`, `.env.local`, docs, `site-config.ts`, or package files. - Store `STRIPE_SECRET_KEY`, webhook secrets, and server-only price ids in Convex env when server code reads them. - Public publishable keys are not secrets, but still avoid hardcoding them unless the repo convention requires it. - Keep `site-config.ts` and `convex/siteConfig.ts` aligned with payment ids and product metadata. - Do not add `convex/billing/plans.ts` or NowStack SaaS multi-plan subscription files unless the repo actually introduces that model. </rules>

<first_steps> Read:

sed -n '1,260p' site-config.ts
find convex -maxdepth 3 -type f | sort
rg -n "STRIPE|stripe|iap|payment|price|product" site-config.ts convex web-app mobile-app

If editing Convex code, read:

sed -n '1,220p' convex/_generated/ai/guidelines.md

</first_steps>

<workflow> 1. Preflight current payment shape from `site-config.ts`, Convex payment functions, web checkout UI, and mobile payment code. 2. Ask for Stripe mode (`test` or `live`) and required keys. Stop until provided. 3. Set server-side Stripe values in Convex env with `npx convex env set`. 4. Update config/code for the price/product ids actually used by this repo. 5. Verify Convex compile plus changed web/mobile surfaces. 6. For iOS, verify the Apple IAP product id remains configured and do not replace it with Stripe. </workflow>

<env_examples> Use the names actually consumed by the current code. Common values may include:

npx convex env set STRIPE_SECRET_KEY "sk_test_..."
npx convex env set STRIPE_WEBHOOK_SECRET "whsec_..."
npx convex env set STRIPE_PRICE_ID "price_..."

If the code uses different names, follow the code. </env_examples>

<verification> ```bash npx convex dev --once cd web-app && npm run typecheck cd web-app && npm run build cd mobile-app && npx tsc --noEmit ```

For live Stripe object creation, dry-run or inspect first, then require explicit confirmation before mutating the user's Stripe account. </verification>

<success_criteria>

  • Stripe is configured only for web/Android paths.
  • iOS Apple IAP remains the iOS production payment path.
  • Server secrets are in Convex env, not git.
  • site-config.ts and Convex payment code agree.
  • Relevant checks pass or blockers are documented. </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월 17일 업데이트

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월 17일 업데이트

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월 17일 업데이트

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월 17일 업데이트

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월 17일 업데이트

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

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

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

Melvynx의 스킬 모두 보기

이 스킬의 문제 신고