Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

replica-backend

/replica-backend

Tworzy zaplecze klonu: logowanie, migracje bazy, płatności Stripe, zadania w tle i integracje przez oficjalne API, z listą kontrolną bezpieczeństwa.

Licencja
MIT
Ostatnia zmiana repozytorium
30.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 30.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Tworzy zaplecze klonu: logowanie, migracje bazy, płatności Stripe, zadania w tle i integracje przez oficjalne API, z listą kontrolną bezpieczeństwa.

Wyzwalacze z opisu

add loginset up authwire up the databaseadd paymentsconnect Stripeadd Google Calendarsend emailsbackend for my clone
Oryginalny opis (EN)

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 the replica-build skill is running on fake data.

Jak działa

  1. On this computer
  2. The rules
  3. Auth
  4. Database
  5. Payments
  6. Email and jobs
  7. Integrations
  8. Security checklist
  9. Output
Sekcje z nagłówków SKILL.md, w oryginale · 95 linii, 669 słów
Podgląd SKILL.md
---
name: replica-backend
description: '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 the replica-build skill is running on fake data.'
---

# replica-backend

## On this computer

This step writes server code. Do not edit the repository yourself. Hand a
self-contained task to a Cursor cloud coding agent on the user's GitHub
repository. Paste the rules, the checklist, and `replica/architecture.md`.
If `replica/schema.sql` is still only under `/workspace/<project-slug>/replica/`,
include it in the task.

The user creates every account and key. You never sign up for a service,
never type a password, a card, or a live key, and you never buy anything.
The cloud agent's task must say the same. You write the instructions and the
names in `.env.example`. The user puts values in `.env.local`. Do not send
email or other messages. Test mode stays on until the replica-deploy skill.

Reads `replica/architecture.md`. Writes migrations and server code, and keeps
`replica/backend.md` (checklist below) up to date.

## The rules

- **Official, public APIs only, with the user's own keys.** Never call the
  original app's private endpoints, never reuse its OAuth client, never proxy
  through it.
- **The user creates accounts and keys.** The agent never signs up for services,
  never types a password, card or live key. The user creates the Stripe,
  Supabase, Resend or Google Cloud project and puts keys in `.env.local`.
  The agent writes `.env.example` with every variable name and no values.
- **Test mode first.** Stripe test keys and test cards until replica-deploy.

## Auth

- Email sign up with verification, password reset, magic link if the original
  has it. OAuth (Google, Apple) with the user's own developer apps.
- Sessions: http-only secure cookies. Sign out everywhere.
- Roles and teams if the recon map has them: owner, admin, member, with one
  function that answers "can this user do this to this record".
- Account deletion that actually deletes. Apple requires it for apps with
  sign up.

## Database

- Migrations from `architecture.md`, checked in, run by a script.
- Access rules on every table: row level security policies on Supabase, or
  the authorisation function called in every query. Test it: a second user
  must get nothing back.
- Seed script with realistic fake data (no real people).
- Backups on (the host's daily backups count, check they are enabled).

## Payments

- Stripe Checkout for sign up to a plan, the Customer Portal for changes and
  cancelling. Do not build card forms.
- Webhooks: verify the signature, store the event id, make every handler
  idempotent (Stripe retries). Handle `checkout.session.completed`,
  `customer.subscription.updated`, `customer.subscription.deleted`,
  `invoice.payment_failed`.
- Subscription status lives in your database, updated by webhooks, read by
  your app. Never trust the client.
- Cancelling is one click. Hard-to-cancel billing is a top complaint about
  most apps, and in many places it is illegal.

## Email and jobs

- Transactional email through Resend or Postmark from your own domain.
  Templates written fresh.
- Jobs for anything time-based (reminders, digests, sync, cleanup) with
  retries and a dead-letter log. Times in UTC, shown in the user's zone.

## Integrations

For each integration in the feature matrix: the official API, the OAuth
scopes needed (fewest possible), the provider's review process, rate limits.
Google scopes like Calendar need Google's OAuth verification before public
launch, which takes weeks. Start it early and write that in `backend.md`.

## Security checklist

- [ ] secrets only in env vars, `.env*` in `.gitignore`, nothing in client bundles
- [ ] input validated on the server (zod or similar) on every route
- [ ] authorisation checked on every read and write, tested with a second user
- [ ] rate limits on auth, sign up, and anything that sends email or SMS
- [ ] webhooks verify signatures
- [ ] uploads: size and type limits, served from a separate domain or bucket
- [ ] no user data in URLs or logs
- [ ] dependencies audited (`npm audit`)
- [ ] privacy policy lists every processor (Stripe, Resend, host, analytics)

## Output

Working auth, database, payments in test mode, email and the integrations,
`.env.example`, `replica/backend.md` with the checklist ticked, feature
matrix rows updated. Next: the replica-test skill.

Wersje

RepozytoriumWynikLicencja
Ta strona · letmefind/replica-skill-cursor-grok100MIT
lucasouzadev/agent-kit-skill100MIT
letmefind/replica-skill-cursor-grok100MIT
dmminga1983/minga-replica100MIT
jakeschincariol/replica-skill100MIT

Migawka bazy z 13.11.2026 · wersja paczki 9d177774d58c (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100recreate-backend
    Buduje backend klonu aplikacji: logowanie, migracje bazy, płatności przez Stripe, e-mail i integracje wyłącznie przez oficjalne API.
  • 100fxreplica-backend
    Buduje backend aplikacji: uwierzytelnianie, migracje bazy, płatności Stripe, e-mail, zadania w tle i integracje przez oficjalne API oraz listę kontrolną bezpieczeństwa.
  • 100replica-architect
    Dobiera stos technologiczny, tworzy schemat bazy SQL i listę tras API dla klonu aplikacji i ustala kolejność budowy od pionowego wycinka.
  • 100replica-architect
    Planuje stos, schemat bazy i API dla klonu aplikacji na podstawie wcześniejszej analizy, wybierając proste, zarządzane technologie.
  • 100replica-architect
    Planuje architekturę klonu aplikacji: wybór technologii, schemat bazy z indeksami i regułami dostępu oraz trasy API, zaczynając od cienkiego wycinka.
  • 100replica-architect
    Planuje stos technologiczny, schemat bazy i API klonu aplikacji na podstawie mapy rekonesansu, od cienkiego pionowego wycinka.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.