CommunityProductivity & Collaborationgithub.com

silasroliver-hue/replica-skill-cursor

>- Ships an app clone live on the user's own domain: a preflight gate (tests green, parity must-haves done, rebrand sweep clean, listing linted, legal pages up), production database and env vars, the host, DNS records for the domain and for email, Stripe live mode, OAuth redirects, monitoring, and mobile builds to TestFlight and Play. Use when the user says "deploy it", "ship it", "put it live", "connect my domain", "go to production", "publish the app", or after /replica-launch.

What is replica-skill-cursor?

replica-skill-cursor is a Cursor agent skill that >- Ships an app clone live on the user's own domain: a preflight gate (tests green, parity must-haves done, rebrand sweep clean, listing linted, legal pages up), production database and env vars, the host, DNS records for the domain and for email, Stripe live mode, OAuth redirects, monitoring, and mobile builds to TestFlight and Play. Use when the user says "deploy it", "ship it", "put it live", "connect my domain", "go to production", "publish the app", or after /replica-launch.

Works with~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/silasroliver-hue/replica-skill-cursor/tree/HEAD/.cursor/skills/replica-deploy

Installed? Explore more Productivity & Collaboration skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

replica-deploy

Reads everything in replica/. Writes replica/deploy.md (the checklist in preflight.md in this folder, filled in).

The rules

  • Nothing goes live without the user's go. Show the preflight results and ask.
  • The user buys and signs in. The agent never buys a domain, enters a card, types a password or pastes a live key. The agent writes the exact DNS records, env var names and commands; the user does the account steps.
  • Not until it is rebranded. The sweep must be clean. No exceptions.

Step 1: preflight

Run every check and paste the results into deploy.md:

npx playwright test                                                                  # replica-test
python3 .cursor/skills/replica-diff/parity.py replica/features.csv                   # must-haves done
python3 .cursor/skills/replica-brand/sweep.py . --config replica/brand.json          # exit 0: clean
python3 .cursor/skills/replica-launch/listing.py replica/launch/listing.json         # if shipping to stores
npm run build                                                                        # production build passes

(Paths assume the pack lives in .cursor/skills/ at the project root. If you copied the folders elsewhere, point the python3 commands at those paths.)

Plus by hand: no open S1 or S2 bugs, privacy policy and terms pages live (listing every processor), cookie banner if you use non-essential cookies in the EU or UK, account deletion works, the favicon, titles and OG image are yours.

Any failure stops the deploy. Say which and why.

Step 2: production services

  • A separate production project for the database (never the dev one), backups on, migrations run by the deploy, not by hand.
  • Env vars set in the host for production, matching .env.example. Live keys only here.
  • Stripe: switch to live mode, recreate products and prices, add the production webhook endpoint and its signing secret, test one real purchase and refund it.
  • OAuth: add the production domain to every provider's redirect URIs and authorised origins. Google scopes that need verification must be approved, or only test users can sign in.
  • Email: the sending domain verified with the provider.

Step 3: host and domain

Default: Vercel for Next.js (Netlify, Cloudflare Pages, Fly or Render otherwise). Connect the repo so main deploys and pull requests get preview URLs.

The domain, after the user buys it at any registrar:

recordnamevalue
A@the host's apex IP (Vercel: shown in the domain settings)
CNAMEwwwthe host's target (Vercel: cname.vercel-dns.com)
TXT@ or a subdomainthe host's verification value, if asked

Email DNS from the email provider: SPF (TXT), DKIM (CNAME or TXT), and a DMARC record starting at v=DMARC1; p=none; rua=mailto:you@yourdomain then tightened to quarantine once reports are clean. Without these, your confirmation emails go to spam.

Pick one canonical host (apex or www) and redirect the other. HTTPS is automatic on the hosts above; check it.

Step 4: watch it

Error tracking (Sentry or the host's), uptime checks on the home page and the core flow's API, logs kept, analytics (a privacy-friendly one avoids the cookie banner), and an alert to the user's email or phone. Then do the core flow on the live site yourself, and ask the user to do it on their phone.

Step 5: mobile, if there is an app

Expo: eas build then eas submit to TestFlight and Play internal testing. Native: archive in Xcode, upload to App Store Connect; Gradle bundle to Play Console. The user owns the developer accounts ($99 a year for Apple, $25 once for Google). Beta first, then review with the listing from replica-launch.

Output

replica/deploy.md with every check and its result, the live URL, the DNS records set, and what to watch in the first week. The clone is now an app with your name on it.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

silasroliver-hue/replica-skill-cursor

>- Plans the stack, database schema and API for an app clone, from the recon map replica-recon wrote. Picks boring, managed tech, turns the inferred data model into real SQL with indexes and access rules, lists every route by flow, and orders the build as a thin vertical slice first. Use when the user says "plan the clone", "what stack should I use", "design the database", "write the schema", "plan the API", "architecture for my version of X", or after /replica-recon finishes.

silasroliver-hue/replica-skill-cursor

>- Builds the backend of an app clone: auth, database migrations and access rules, payments with Stripe, email, background jobs and third-party integrations through official APIs only, plus a security checklist. Use when the user says "add login", "set up auth", "wire up the database", "add payments", "connect Stripe", "add Google Calendar", "send emails", "backend for my clone", or when /replica-build is running on fake data.

silasroliver-hue/replica-skill-cursor

>- Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for contrast, a logo brief, a voice guide, and a sweep tool that finds anything of the original left in the codebase. Use when the user says "name my app", "rebrand the clone", "make it mine", "pick a name and colours", "logo brief", "brand voice", "check for leftovers", or after /replica-entrepreneur. Always runs before /replica-launch.

silasroliver-hue/replica-skill-cursor

>- Rebuilds an app screen by screen from the recon map: app shell first, then the core flow as a vertical slice, then every screen with all its states, ticking off the feature matrix as it goes. Writes every line fresh, never the original's code, assets or copy. Use when the user says "build the clone", "build screen S07", "start building", "rebuild this screen", "implement the booking page", or after /replica-design.

Related Skills