replica-architect
하는 일
이 스킬은 앞서 만든 기능 지도를 이용해, 기존 앱의 기능을 복제하는 새 앱의 기술 설계를 계획합니다. 관리형 서비스와 명확한 빌드 순서를 갖춘 실용적인 계획을 원하는 개발자를 위한 것입니다.
사용하는 경우
- ✓복제하려는 앱의 기능 지도가 있고 자신의 버전을 위한 스택을 골라야 할 때.
- ✓데이터 모델에서 데이터베이스 스키마와 API 경로를 계획하고 싶을 때.
- ✓전체 앱을 만들기 전에 작은 작동 조각으로 빌드 순서를 정하고 싶을 때.
스킬 링크
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-architect/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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 |
| 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_idororg_id) on everything a user owns - foreign keys with an
on deleterule 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
- Vertical slice. The core loop end to end, ugly: sign up, do the one thing, see the result. Proves the stack.
- Must-haves from
features.csv, by area. - Should-haves, then could-haves.
- 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.
인기도
- GitHub 스타
- 7.1k
- 순위
- #13575
- 라이선스
- MIT
- 업데이트
- 2026. 10. 3.
댓글
- …
이 저장소의 다른 스킬
replica-backend
7.1k에이전트가 공식 API를 사용해 로그인, 데이터베이스 규칙, Stripe 결제, 이메일, 백그라운드 작업이 있는 서버 측을 만들도록 돕습니다.
replica-brand
7.1k에이전트가 앱에 고유한 이름과 색상 팔레트를 주고, 남아 있는 다른 브랜드 흔적을 찾아내도록 돕습니다.
replica-build
7.1k에이전트가 기능 지도를 따라 새 앱을 셸부터 핵심 흐름, 나머지 화면 순서로 처음부터 만들도록 돕습니다.
replica-deploy
7.1k에이전트가 사전 점검과 DNS 설정을 거쳐 새 앱을 자체 도메인에 올리고, 운영 설정과 스토어 빌드를 준비하도록 돕습니다.