replica-deploy
它能做什么
这个技能为上线准备并检查应用,包括测试、法律页面、环境变量和域名设置。适合准备发布应用、并希望有一份谨慎的上线检查清单的开发者。
适用场景
- ✓当你的应用已经准备就绪,并希望将其部署到自己的域名时。
- ✓当你需要在上线前进行预检,确认测试、法律页面和品牌元素都已就绪时。
- ✓当你希望为邮件和网站设置 DNS 记录及生产环境配置时。
技能链接
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-deploy/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我的应用已经完成。你能运行上线前检查,并告诉我在部署到我的域名之前需要修复哪些问题吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会运行项目检查,列出所有失败项,并写出确切的 DNS 记录和环境变量名称。它会向你展示结果并等待批准,而购买域名和登录账户则由你自己完成。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
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. Claude never buys a domain, enters a card, types a password or pastes a live key. Claude 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 ../replica-diff/parity.py replica/features.csv # must-haves done
python3 ../replica-brand/sweep.py . --config replica/brand.json # exit 0: clean
python3 ../replica-launch/listing.py replica/launch/listing.json # if shipping to stores
npm run build # production build passes
(Paths are relative to wherever the pack is installed. Under
~/.claude/skills/ that is ~/.claude/skills/replica-diff/parity.py and so
on.)
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:
| record | name | value |
|---|---|---|
| A | @ | the host's apex IP (Vercel: shown in the domain settings) |
| CNAME | www | the host's target (Vercel: cname.vercel-dns.com) |
| TXT | @ or a subdomain | the 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.
常见问题
智能体会在不询问的情况下部署吗?
不会。该技能说明,未经你明确同意,任何内容都不会上线。
谁购买域名并输入支付信息?
由你自己完成。该技能说明,智能体会编写步骤和记录,但不会购买域名或输入银行卡信息。
品牌元素未完成时可以部署吗?
不可以。该技能要求在上线前,品牌扫描必须通过、没有残留。
详情
作者的原始描述
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.
热度
- GitHub 星标
- 7.1k
- 排名
- #13579
- 许可证
- MIT
- 更新时间
- 2026/10/3
评论
- …
同一仓库的更多技能
replica-architect
7.1k帮你的智能体根据功能地图,为新应用规划技术栈、数据库和 API,并先从一个可工作的薄切片开始安排构建顺序。
replica-backend
7.1k帮你的智能体使用官方 API 构建应用的服务端,包括登录、数据库规则、Stripe 支付、邮件以及后台任务。
replica-brand
7.1k帮你的智能体为应用命名并重新塑造品牌,使其与众不同,包括需要进行的名称检查、新的配色、标识简报,以及对残留名称的全面扫描。
replica-build
7.1k帮你的智能体根据功能地图,从外壳开始、再到核心流程,逐屏构建新应用,所有内容都重新编写。