replica-architect
Plans the stack, database schema and API for an app clone, from the recon map replica-recon wrote.
Skill by Anupb1245
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/anupb1245-replica-architect
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, backend, data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/replica-architect
What's inside
- Skill name
replica-architect- Description
- 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.
- License
- MIT
- Instructions
- 105 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- architecture.md
SKILL.md (first lines)
# 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:
```sql
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`.From Anupb1245/mighty-mich, MIT.
More from Anupb1245/mighty-mich
- 0.565score
replica-test
Anupb1245
Clicks through every flow of an app clone and tests it for bugs: a test plan generated from the recon flows with happy paths and edge cases, Playwright…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-recon
Anupb1245
Reverse-engineers any app into a recon map: screen inventory, user flows, component list, inferred data model and a feature matrix, from public pages…
SkillAFreshness: AClaude Code +9 - 0.565score
master-developer
Anupb1245
Elite senior full-stack developer, software architect, code auditor, AI automation engineer and DevOps specialist in one charter.
SkillAFreshness: AClaude Code +9 - 0.565score
replica-backend
Anupb1245
Builds the backend of an app clone: auth, database migrations and access rules, payments with Stripe, email, background jobs and third-party integrations…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-brand
Anupb1245
Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-build
Anupb1245
Rebuilds an app screen by screen from the recon map: app shell first, then the core flow as a vertical slice, then every screen with all its states, ticking…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-deploy
Anupb1245
Ships an app clone live on the user's own domain: a preflight gate (tests green, parity must-haves done, rebrand sweep clean, listing linted, legal pages up)…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-design
Anupb1245
Rebuilds an app's design system for a clone: colour roles, type scale, spacing, radius, shadows and every component with its states, as design tokens plus…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-diff
Anupb1245
Compares an app clone against the original: a feature parity score from the feature matrix (weighted by must, should, could) with the missing list in build…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-entrepreneur
Anupb1245
Researches the app being cloned and reads what its real users say in public reviews (App Store, Google Play, G2, Capterra, Trustpilot, Reddit, Hacker News…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-launch
Anupb1245
Writes the launch for an app clone: the landing page built on the positioning angle, pricing set against the original's public pricing and its users'…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 19, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Anupb1245/mighty-mich
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Anupb1245
- 0.565score
replica-test
Anupb1245
Clicks through every flow of an app clone and tests it for bugs: a test plan generated from the recon flows with happy paths and edge cases, Playwright…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-recon
Anupb1245
Reverse-engineers any app into a recon map: screen inventory, user flows, component list, inferred data model and a feature matrix, from public pages…
SkillAFreshness: AClaude Code +9 - 0.565score
master-developer
Anupb1245
Elite senior full-stack developer, software architect, code auditor, AI automation engineer and DevOps specialist in one charter.
SkillAFreshness: AClaude Code +9 - 0.565score
replica-backend
Anupb1245
Builds the backend of an app clone: auth, database migrations and access rules, payments with Stripe, email, background jobs and third-party integrations…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-brand
Anupb1245
Names and rebrands an app clone so it is the user's own: name candidates with the trademark, domain, store and handle checks to run, a new palette checked for…
SkillAFreshness: AClaude Code +9 - 0.565score
replica-build
Anupb1245
Rebuilds an app screen by screen from the recon map: app shell first, then the core flow as a vertical slice, then every screen with all its states, ticking…
SkillAFreshness: AClaude Code +9
Cite this page
replica-architect skill. Agent Mart. https://agentmart.dev/skills/anupb1245-replica-architect (last updated 2026-10-24)