跳到正文
cccskills
免费在 GitHub 公开

replica-architect

Turn research about an existing app into a technical plan for a new implementation. Choose technologies, define database tables and access rules, map API routes, and order development around a small, complete core workflow.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Choose technologies for an alternative app
  • Design database tables, indexes, and access rules
  • Map API routes and scheduled background jobs
  • Plan milestones around the core user workflow

包含的文件(2)

  • SKILL.md4.5 KB
  • architecture.md716 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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:

layerdefaultswap for
web appNext.js (App Router) + TypeScriptRemix, SvelteKit, Rails
stylingTailwind, tokens from replica-designCSS modules
mobileExpo (React Native)SwiftUI, Kotlin
databasePostgres on Supabase or NeonPlanetScale, SQLite (Turso)
ORMDrizzle or Prismaraw SQL
authSupabase Auth or Auth.jsClerk
paymentsStripe Checkout + BillingLemon Squeezy, Paddle
emailResend or PostmarkSES
jobsVercel Cron, Inngest or Trigger.deva worker on Fly
filesSupabase Storage or Cloudflare R2S3
hostingVercelNetlify, 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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Build the backend for an app modeled on an existing service, including login, database access rules, Stripe test payments, email, and integrations through official APIs. Track implementation and security checks in a dedicated checklist.

中文简介正在准备中。当前显示英语简介。

  • Add login and account management
  • Connect screens to a database
  • Implement Stripe payments in test mode
Jakeschincariol/replica-skill39672026年10月3日 更新

Develop an app’s own identity through name candidates, a distinct color palette, a logo brief, and writing guidance. Track name screening checks and scan project files for leftover names, domains, and colors from the original app.

中文简介正在准备中。当前显示英语简介。

  • Shortlist app names and track screening checks
  • Choose a distinct palette with readable contrast
  • Prepare a logo brief and consistent interface wording
Jakeschincariol/replica-skill39672026年10月3日 更新

Implement an app screen by screen from research and design documents, starting with its core workflow. Write fresh code and interface text, cover loading and error states, and track progress with a feature matrix and screenshots.

中文简介正在准备中。当前显示英语简介。

  • Build app screens from research and design documents
  • Implement the core workflow from start to finish
  • Cover empty, loading, error, and mobile states
Jakeschincariol/replica-skill39672026年10月3日 更新

Prepare and publish an app built from an existing reference, covering release checks, production services, domain and email records, payments, sign-in, monitoring, and mobile distribution. It records results and requires user approval before going live.

中文简介正在准备中。当前显示英语简介。

  • Checking whether an app is ready for release
  • Connecting a custom domain and email settings
  • Preparing production payments and sign-in
Jakeschincariol/replica-skill39672026年10月3日 更新

Rebuild an app’s visual system as reusable design values and component specifications. It covers typography, spacing, component states, implementation, and contrast checks while replacing the original app’s branded assets with independent alternatives.

中文简介正在准备中。当前显示英语简介。

  • Reconstructing design rules from app screenshots
  • Defining shared tokens and component states
  • Checking text and background contrast
Jakeschincariol/replica-skill39672026年10月3日 更新

Compare a recreated app with its reference using weighted feature coverage, screenshot layout differences that ignore color, and workflow reviews. Generate a report showing missing functionality, release readiness, and the next five implementation priorities.

中文简介正在准备中。当前显示英语简介。

  • Measuring how much reference functionality is implemented
  • Comparing screen layouts after changing brand colors
  • Reviewing workflow and error-handling differences
Jakeschincariol/replica-skill39672026年10月3日 更新

查看 Jakeschincariol 的全部技能

报告此技能的问题