본문으로 건너뛰기
Skillpedia
일반 코딩7.1k · #13575

replica-architect

하는 일

이 스킬은 앞서 만든 기능 지도를 이용해, 기존 앱의 기능을 복제하는 새 앱의 기술 설계를 계획합니다. 관리형 서비스와 명확한 빌드 순서를 갖춘 실용적인 계획을 원하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓복제하려는 앱의 기능 지도가 있고 자신의 버전을 위한 스택을 골라야 할 때.
  • ✓데이터 모델에서 데이터베이스 스키마와 API 경로를 계획하고 싶을 때.
  • ✓전체 앱을 만들기 전에 작은 작동 조각으로 빌드 순서를 정하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Jakeschincariol/replica-skill/blob/main/replica-architect/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“재구축하고 싶은 앱의 기능 지도가 있어요. 그것을 위한 스택, 데이터베이스 스키마, API를 계획해 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 기존 기능 지도를 읽고, 각 도구마다 한 줄의 이유를 붙여 평범하고 관리형인 도구를 고르며, 데이터 모델을 인덱스와 접근 규칙이 있는 SQL 테이블로 바꿉니다. 그다음 흐름별로 경로를 나열하고 빌드 순서를 정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

replica-architect

Reads replica/recon.md and replica/features.csv. Writes replica/architecture.md (template: architecture.md in this folder).

If there is no recon map, stop and run /replica-recon first. Planning a clone from memory of what an app does is how you miss half of it.

Step 1: the stack

Use what the user already knows if they have a stack. Otherwise the default, because every part is managed, documented and cheap at zero users:

layer default swap for
web app Next.js (App Router) + TypeScript Remix, SvelteKit, Rails
styling Tailwind, tokens from replica-design CSS modules
mobile Expo (React Native) SwiftUI, Kotlin
database Postgres on Supabase or Neon PlanetScale, SQLite (Turso)
ORM Drizzle or Prisma raw SQL
auth Supabase Auth or Auth.js Clerk
payments Stripe Checkout + Billing Lemon Squeezy, Paddle
email Resend or Postmark SES
jobs Vercel Cron, Inngest or Trigger.dev a worker on Fly
files Supabase Storage or Cloudflare R2 S3
hosting Vercel Netlify, Fly, Render

Write each choice with one line of why. One database. No microservices. The clone does not need the original's architecture, it needs the original's features.

Step 2: the schema

Turn the inferred data model into SQL. For every table:

  • id uuid primary key default gen_random_uuid(), created_at, updated_at
  • an owner column (user_id or org_id) on everything a user owns
  • foreign keys with an on delete rule decided, not defaulted
  • indexes on every foreign key and every column you filter or sort by
  • enums or check constraints for status fields
  • times as timestamptz, always, stored in UTC
  • money as integer cents plus a currency column
  • access rules: Postgres row level security on Supabase, or one authorisation check per query in the data layer. Write which.

Example, for a booking app:

create table bookings (
  id uuid primary key default gen_random_uuid(),
  event_type_id uuid not null references event_types(id) on delete cascade,
  host_id uuid not null references users(id) on delete cascade,
  start_at timestamptz not null,
  end_at timestamptz not null,
  guest_name text not null,
  guest_email text not null,
  guest_timezone text not null,
  status text not null default 'confirmed'
    check (status in ('confirmed','cancelled','rescheduled')),
  answers jsonb not null default '{}',
  created_at timestamptz not null default now(),
  constraint no_zero_length check (end_at > start_at)
);
create index on bookings (host_id, start_at);

Then the hard constraints the recon found. Two guests booking the same slot is a database problem (an exclusion constraint or a unique index), not a UI problem.

Step 3: the API

One table per flow from the recon map. For every route or server action:

method path | what it does | who can call it | input | output | flow

Plus webhooks in (Stripe, calendar providers) and out, and background jobs (reminders, sync, cleanup) with their schedule.

Only official, public APIs with the user's own keys. Never the original app's private endpoints, even if they are visible in a browser.

Step 4: the parts that bite

Write a line on each that applies: time zones and daylight saving, idempotency (webhooks arrive twice), race conditions, rate limits, file size limits, search, realtime, offline, email deliverability, multi-tenancy, GDPR deletion.

Step 5: build order

  1. Vertical slice. The core loop end to end, ugly: sign up, do the one thing, see the result. Proves the stack.
  2. Must-haves from features.csv, by area.
  3. Should-haves, then could-haves.
  4. The fixes replica-entrepreneur finds, once it has run.

Each milestone lists its screens (S-IDs), tables and routes.

Output

replica/architecture.md, the SQL in replica/schema.sql or as the first migration, and a summary: stack in one line, table count, route count, the three riskiest parts, and the next step: /replica-design.

자주 묻는 질문

먼저 기능 지도가 필요한가요?

네. 기능 지도가 없으면 스킬이 멈춥니다. 기억에 의존한 계획은 기능을 놓치기 때문입니다.

기본 스택은 무엇인가요?

Next.js, Postgres, Stripe, Vercel 같은 도구를 기본으로 하며, 어떤 것이든 바꿀 수 있습니다.

원래 앱의 아키텍처를 복사하나요?

아니요. 복제에는 기능이 필요하며 원래 앱의 내부 아키텍처는 필요하지 않다고 스킬이 말합니다.

상세 정보

작성자의 원본 설명

Plans the stack, database schema and API for an app clone, from the recon map replica-recon wrote. Picks boring, managed tech, turns the inferred data model into real SQL with indexes and access rules, lists every route by flow, and orders the build as a thin vertical slice first. Use when the user says "plan the clone", "what stack should I use", "design the database", "write the schema", "plan the API", "architecture for my version of X", or after /replica-recon finishes.

repo: Jakeschincariol/replica-skill

인기도

GitHub 스타
7.1k
순위
#13575
라이선스
MIT
업데이트
2026. 10. 3.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬