Tooluck logoTooluck
SKILL.md

replica-backend

Agent skill fromJakeschincariol/replica-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.

How to install replica-backend

install replica-backend
# install the replica-skill pack with the skills CLI
npx skills add Jakeschincariol/replica-skill

# or add only this skill to Claude Code: copy the folder

replica-backend/

# into

~/.claude/skills/replica-backend/ (all projects)

.claude/skills/replica-backend/ (one project)

replica-backend/SKILL.md

MITFull file
1# replica-backend
2
3Reads `replica/architecture.md`. Writes migrations and server code, and keeps
4`replica/backend.md` (checklist below) up to date.
5
6## The rules
7
8- **Official, public APIs only, with the user's own keys.** Never call the
9 original app's private endpoints, never reuse its OAuth client, never proxy
10 through it.
11- **The user creates accounts and keys.** Claude never signs up for services,
12 never types a password, card or live key. The user creates the Stripe,
13 Supabase, Resend or Google Cloud project and puts keys in `.env.local`.
14 Claude writes `.env.example` with every variable name and no values.
15- **Test mode first.** Stripe test keys and test cards until replica-deploy.
16
17## Auth
18
19- Email sign up with verification, password reset, magic link if the original
20 has it. OAuth (Google, Apple) with the user's own developer apps.
21- Sessions: http-only secure cookies. Sign out everywhere.
22- Roles and teams if the recon map has them: owner, admin, member, with one
23 function that answers "can this user do this to this record".
24- Account deletion that actually deletes. Apple requires it for apps with
25 sign up.
26
27## Database
28
29- Migrations from `architecture.md`, checked in, run by a script.
30- Access rules on every table: row level security policies on Supabase, or
31 the authorisation function called in every query. Test it: a second user
32 must get nothing back.
33- Seed script with realistic fake data (no real people).
34…

Excerpt shown under the repository's MIT license.

More skills in replica-skill

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates