replica-backend
Skill1 starsChanged 18 days agoMITView on GitHub
Build the backend of an app clone for its region: auth (VK ID, Yandex ID, Sber ID or Sign in with Apple and Google), database migrations and access rules, payments (YooKassa or CloudPayments with 54-FZ receipts, or Stripe), email, jobs and official integrations, plus a security checklist. Use for 'add login', 'set up auth', 'wire up the database', 'add payments', 'connect YooKassa', 'connect Stripe'; RU: авторизация, подключи оплату, ЮKassa, база данных, бэкенд.
- Reads credentials
2 other projects use a version of this, 2 of them edited.
Adopted by
Most recently taken up by
- realtahailyas/reverse-engineer-app-skillsedited, first seen Oct 25, 2026
- Jakeschincariol/replica-skilledited, first seen Oct 3, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 2
- Jakeschincariol/replica-skill★ 39921% same
- realtahailyas/reverse-engineer-app-skills★ 321% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- replica-architectSkill
- replica-brandSkill
- replica-buildSkill
- replica-deploySkill
- replica-designSkill
- replica-diffSkill
- replica-launchSkill
- replica-reconSkill
- replica-testSkill
- replica-usersSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read replica/region.txt (written by /replica-recon): ru, global or both.
- Distinctive: line 18
Official, public APIs with the user's own keys: Never the original's private endpoints or OAuth client.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
replica-backend
Reads replica/architecture.md. Writes migrations and server code, keeps replica/backend.md.
Region
Read replica/region.txt (written by /replica-recon): ru, global or both. It decides the
stack, the stores, the laws and the trademark checks. python3 ../replica-architect/stack.py
--region <region> prints them. No file yet: ask where the app will be sold and write it.
The rules
- Official, public APIs with the user's own keys. Never the original's private endpoints or OAuth client.
- The user creates accounts and keys. Claude never signs up for services, never types a
password, a card or a live key. The user creates the YooKassa, CloudPayments, Stripe, Yandex
Cloud or Supabase project and puts keys in
.env.local. Claude writes.env.examplewith every variable name and no values, and checks that.env*is in.gitignore. - Test mode first, with the provider's test shop or test keys and published test cards, until /replica-deploy.
Auth
- ru: phone with an SMS code or email with a magic link, plus VK ID, Yandex ID or Sber ID with the user's own developer apps.
- global: email with verification and reset, Google, Apple. On iOS, an app that offers a social login must also offer an equivalent privacy-focused one such as Sign in with Apple.
- Everywhere: http-only secure cookies, sign out everywhere, roles if the recon has them (one function answers "can this user do this to this record"), and account deletion that actually deletes (the App Store requires it in the app).
Database
Migrations from architecture.md, checked in, run by a script. Access rules on every table,
tested with a second user who must get nothing back. Backups on. ru: the database, the
backups and every copy of personal data in Russia.
Payments
- ru: YooKassa, CloudPayments or T-Kassa through their hosted payment page or widget, never a hand-built card form. Fiscal receipts under 54-FZ for every payment, including each subscription renewal: turn on the provider's receipt service or connect an online cash register. Recurring payments only with the customer's explicit agreement and a visible way to switch them off. In-app purchases in RuStore through its own payments SDK.
- global: Stripe Checkout and the Customer Portal (or Paddle, Lemon Squeezy as merchant of record). Digital goods sold inside an iOS or Android app usually have to use the store's billing: check the store's current rules for the user's case.
- Everywhere: verify webhook signatures, store event ids, make handlers idempotent (providers retry), keep subscription status in your database, never trust the client, and cancel in one click.
Email and jobs
Transactional email from the user's own domain (Unisender Go or Yandex Cloud Postbox for ru; Resend or Postmark for global), templates written fresh. Jobs with retries and a dead-letter log, times in UTC, shown in the user's zone.
Security checklist
- secrets only in env vars,
.env*ignored, nothing in client bundles - server-side validation on every route
- authorisation on every read and write, tested with a second user
- rate limits on auth, sign up and anything that sends SMS or email
- webhooks verify signatures
- uploads: size and type limits, served from a separate domain or bucket
- no personal data in URLs or logs
- dependencies audited
- privacy policy lists every processor
Next: /replica-test.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

