← Back to list
📊

replica-backend Checked

Builds the backend of an app clone: auth, database migrations and access rules, payments with Str…
📊 Data & Analytics skills By Jakeschincariol Version v1.0.0 Added 2026-10-12 Updated 2026-10-12 Source ↗
8.7Overall rating
0Views
0Downloads
1.9kStars

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "replica-backend" skill by following the instructions at https://skill123.me/install/replica-backend.
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/replica-backend.sh | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0 · 2 KB
📊 Static rating
8.7/10
Trigger
8.0
Structure
8.0
Workflow
8.0
Content
9.0
Engineering
10.0
Security
10.0

Six-dimension rubric with reviewer rationale.

View scorecard ↓
🛡 Dynamic test
—

Not live-tested yet — this skill is rated on static analysis only.

About this skill

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.

replica-backend

Reads replica/architecture.md. Writes migrations and server code, and keeps

replica/backend.md (checklist below) up to date.

Documentation

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.

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

View full documentation

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.

Score breakdown

Trigger
8.0
What/When clear with many concrete trigger phrasings ('add login', 'set up auth', 'wire up the database', 'connect Stripe', 'send emails') plus pipeline position (when /replica-build runs on fake data); no explicit When-Not in description.
Structure
8.0
90 lines, single file, checklist inline; no references or assets needed at this size; no redundant docs.
Workflow
8.0
Topic sections each carry actionable instructions (webhook event names to handle, idempotency, RLS or per-query authz, OAuth verification lead times); excellent guards (never sign up for services, never type credentials, test mode first, official APIs only); security checklist plus 'second user must get nothing back' test serve as verification, but no ordered step flow.
Content
9.0
Extremely tight prose, every line actionable; few runnable command examples (only npm audit implied); consistent imperative style.
Engineering
10.0
Valid frontmatter; no scripts; the referenced replica/architecture.md is a project file convention; /replica-test next-step reference verified to exist on the site.
Security
10.0
Capability manifest: reads replica/architecture.md, writes migrations, server code, .env.example (names only, no values) and replica/backend.md; no network calls, no credential access, no persistence, no scripts. Text actively promotes security (secrets in env vars, .gitignore, webhook signature verification, no user data in URLs/logs). Capabilities match declared scope.
Backend stage of the replica-* suite: auth, migrations, Stripe payments, email, jobs, integrations. 90-line topic-organized SKILL.md with unusually strong guard rails (official APIs only, user creates all accounts/keys, Claude never types passwords or live keys, test mode first) and a solid security checklist. Weaker on ordered workflow (sections are topic-based rather than step-based) and has few concrete commands; verification relies on the checklist and 'second user gets nothing' access test. No scripts, no network, purely guidance.