Pular para o conteúdo
Skillpedia
APIs e servidores (backend)7,1 mil · #13576

replica-backend

O que ela faz

Esta skill constrói o backend de um app novo, incluindo cadastro, regras de acesso, pagamentos e e-mails. Serve para desenvolvedores que criam um produto e querem padrões seguros e uma lista de verificação para o lançamento.

Quando usar

  • ✓Quando você precisa adicionar login, redefinição de senha ou login com OAuth ao seu app.
  • ✓Quando você quer configurar migrações de banco de dados e regras de acesso por linha.
  • ✓Quando você quer conectar pagamentos com Stripe ou enviar e-mails transacionais com suas próprias chaves.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/Jakeschincariol/replica-skill/blob/main/replica-backend/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Pode configurar o cadastro com verificação de e-mail, a redefinição de senha e pagamentos de teste com Stripe para o meu app?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente escreve as migrações do banco de dados, o código do servidor e as verificações de acesso, e mantém uma lista de verificação do backend atualizada. Você cria as contas e as chaves por conta própria, e o agente escreve um exemplo de arquivo de ambiente com os nomes das variáveis, mas sem os valores.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

O agente cria minhas contas?

Não. A skill diz que você cria as contas da Stripe, do Supabase ou de e-mail e adiciona as suas próprias chaves.

Ele usa pagamentos de teste primeiro?

Sim. Ele usa as chaves de teste da Stripe e cartões de teste até a etapa de publicação.

Ele cobre a exclusão de conta?

Sim. Inclui uma exclusão de conta que realmente apaga os dados, o que a Apple exige para apps com cadastro.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
7,1 mil
Posição no ranking
#13576
Licença
MIT
Atualizada em
03/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas