Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)7.1k · #13579

replica-deploy

Skill này làm gì

Skill này chuẩn bị và kiểm tra ứng dụng trước khi ra mắt, gồm test, trang pháp lý, biến môi trường và thiết lập tên miền. Skill dành cho lập trình viên đã sẵn sàng công bố ứng dụng và muốn có một danh sách kiểm tra cẩn thận trước khi lên mạng.

Khi nào nên dùng

  • ✓Khi ứng dụng của bạn đã sẵn sàng và bạn muốn triển khai lên tên miền riêng.
  • ✓Khi bạn cần kiểm tra trước khi ra mắt để đảm bảo test, trang pháp lý và thương hiệu đều ổn.
  • ✓Khi bạn muốn thiết lập bản ghi DNS và cấu hình production cho email và website.

Liên kết skill

https://github.com/Jakeschincariol/replica-skill/blob/main/replica-deploy/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Jakeschincariol/replica-skill/blob/main/replica-deploy/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Ứng dụng của tôi đã hoàn thành. Bạn có thể chạy các kiểm tra trước khi ra mắt và cho tôi biết cần sửa gì trước khi triển khai lên tên miền không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chạy các kiểm tra của dự án, liệt kê các lỗi nếu có, và viết chính xác các bản ghi DNS cùng tên biến môi trường. Agent cho bạn xem kết quả và chờ bạn chấp thuận, còn việc mua tên miền và đăng nhập tài khoản do bạn tự làm.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

Agent có triển khai mà không hỏi không?

Không. Skill nói không có gì được đưa lên mạng nếu chưa có sự đồng ý rõ ràng của bạn.

Ai mua tên miền và nhập thông tin thanh toán?

Bạn. Skill nói agent viết các bước và bản ghi, nhưng không mua tên miền hay nhập thẻ.

Có thể triển khai khi thương hiệu chưa hoàn thiện không?

Không. Skill yêu cầu việc quét thương hiệu phải sạch trước khi ra mắt.

Chi tiết

Mô tả gốc của tác giả

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.

repo: Jakeschincariol/replica-skill

Độ phổ biến

Sao GitHub
7.1k
Vị trí xếp hạng
#13579
Giấy phép
MIT
Cập nhật
3/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự