Skip to content

Jakeschincariol/replica-skill / replica-architect

replica-architect

Verified

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.

FileKindSize
SKILL.mdskill md4.5 KB
architecture.mdmarkdown716 B

architecture.md

View on GitHub
# Architecture: {{your app}} (a rebuild of {{app}}'s core features)

## Stack

| layer | choice | why |
| --- | --- | --- |
| web | | |
| database | | |
| auth | | |
| payments | | |
| email | | |
| jobs | | |
| hosting | | |

## Schema

Tables: {{n}}. Access rules: {{RLS | data-layer checks}}.

```sql
-- or see replica/schema.sql
```

## API

| method path | does | who | input | output | flow |
| --- | --- | --- | --- | --- | --- |

Webhooks in: {{...}}  Webhooks out: {{...}}
Jobs: {{name, schedule, what it does}}

## The parts that bite

- time zones:
- idempotency:
- races:

## Build order

1. Vertical slice: {{screens, tables, routes}}
2. Must-haves:
3. Should-haves:
4. Fixes from replica-entrepreneur:
deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall
agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json.Stars: 118kUpdated Claude CodeCodexVerifiedInstall