Zum Inhalt springen
Skillpedia
APIs & Server (Backend)7.1k · #13576

replica-backend

Was er macht

Diese Fähigkeit baut das Backend einer neuen App, einschließlich Registrierung, Zugriffsregeln, Zahlungen und E-Mail. Sie ist für Entwickler gedacht, die ein Produkt bauen und sichere Standardeinstellungen sowie eine Checkliste für den Start wollen.

Wann du ihn nutzt

  • ✓Wenn du Anmeldung, Passwort-Zurücksetzen oder OAuth-Anmeldung in deine App einbauen musst.
  • ✓Wenn du Datenbankmigrationen und Regeln für den Zeilenzugriff einrichten willst.
  • ✓Wenn du Stripe-Zahlungen anbinden oder Transaktions-E-Mails mit deinen eigenen Schlüsseln senden willst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Jakeschincariol/replica-skill/blob/main/replica-backend/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du für meine App eine Registrierung mit E-Mail-Bestätigung, Passwort-Zurücksetzen und Stripe-Testzahlungen einrichten?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent schreibt Datenbankmigrationen, Serverkode und Zugriffsprüfungen und pflegt eine Backend-Checkliste. Konten und Schlüssel legst du selbst an. Der Agent schreibt eine Beispiel-Umgebungsdatei mit Variablennamen, aber ohne Werte.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

replica-backend

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. Claude 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. Claude 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: /replica-test.

Häufige Fragen

Legt der Agent meine Konten an?

Nein. Laut der Fähigkeit legst du die Konten für Stripe, Supabase oder E-Mail selbst an und fügst deine eigenen Schlüssel hinzu.

Nutzt sie zuerst Testzahlungen?

Ja. Sie nutzt Stripe-Testschlüssel und Testkarten bis zum Veröffentlichungsschritt.

Deckt sie das Löschen von Konten ab?

Ja. Dazu gehört das tatsächliche Löschen der Daten, was Apple für Apps mit Registrierung verlangt.

Details

Originalbeschreibung des Autors

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.

repo: Jakeschincariol/replica-skill

Beliebtheit

GitHub-Sterne
7.1k
Platz im Ranking
#13576
Lizenz
MIT
Aktualisiert
3.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills