replica-build
它能做什么
这个技能按既定顺序构建新应用的各个屏幕,使用你自己的代码、标签和文字。适合已经有功能地图、并希望以清晰步骤构建应用的开发者。
适用场景
- ✓当你想根据功能地图逐屏开始构建应用时。
- ✓当你需要构建一个包含全部状态(例如加载中和错误状态)的单个屏幕时。
- ✓当你希望在构建应用其余部分之前,先端到端完成核心流程时。
技能链接
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-build/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“你能构建我的应用的预约页面,包括加载中、空白和错误状态吗?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先构建应用外壳和路由,然后构建核心流程的可用版本,再按顺序构建其余每个屏幕。所有代码和文案都由它自己编写,并在每个部分完成后更新功能清单。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
replica-build
Reads replica/recon.md, replica/architecture.md, replica/design/.
Updates replica/features.csv (the clone column) and keeps
replica/build-log.md.
The rules
- Clean room. Every line of code is written here, from the recon map and the specs. Never paste the original's HTML, CSS, JavaScript, SVGs or images, never load anything from its domain or CDN, never "view source and adapt".
- Your words. Write every label, button, empty state and email fresh. Matching what a button does is parity. Matching its sentence is copying.
- Tokens only. No raw hex or pixel values in components. If a value is missing, add it to the tokens.
Step 1: the shell
Routing for every screen in the inventory (stub pages are fine), the layout (nav, header, sidebar), tokens wired in, the primitives from replica-design, and seed data so screens have something real to show. Commit.
Step 2: the vertical slice
The core loop from the recon map, end to end, before anything else. For a booking app: create an event type, open the public page, book a slot, see it on the dashboard. Ugly is fine. Working is the point. If replica-backend has not run yet, use the seed data and a fake data layer with the same function signatures, so swapping in the real one changes no screen code.
Step 3: screen by screen
Work in the order of architecture.md. For each screen:
- Read its row in the recon map: purpose, components, states, which flows pass through it.
- Look at the reference screenshot for layout and hierarchy. Not for pixels.
- Build it with the primitives. Real data from the data layer.
- Every state: empty, loading (skeletons, not spinners, if the original does), filled, error, no permission, long content (a 60 character name), mobile width.
- Basics, every time: semantic HTML, labels on inputs, keyboard reachable, visible focus, images with alt text.
- Set the matching rows in
features.csvtoyesorpartial(with a note). - Screenshot it at the same viewport as the reference into
replica/clone-screens/S07.pngfor replica-diff. - One commit per screen:
build: S07 booking page.
Definition of done, per screen
- every state from the recon map, plus empty, error and loading
- works at 390px and 1440px wide
- keyboard only: can complete the flow
- no console errors
- no hard-coded copy borrowed from the original
- features.csv updated
- screenshot saved for diff
Step 4: the build log
replica/build-log.md, one line per screen: ID, date, done or partial, what
is missing, what was harder than expected. When a feature is bigger than it
looked, say so in the log and in the chat. Do not quietly ship half of it.
When you are stuck on how something works
Go back to the original as a user: read its help article, watch its public walkthrough, use the user's own account. Do not dig into its code or network calls. Then build your own version of the behaviour.
Output
Screens built, the feature matrix updated, screenshots saved, and a summary:
screens done of total, must-haves done of total, what is next. Then
/replica-backend if the data layer is still fake, else /replica-test.
常见问题
它会复制原应用的代码吗?
不会。该技能说明,每一行都是重新编写的,它不会复制原应用的代码、图片或文字。
构建时先做什么?
先搭建带有路由、布局和示例数据的外壳,然后是主要流程的简单可用版本。
它会跟踪进度吗?
会。它会在过程中更新功能矩阵,并保留构建日志。
详情
作者的原始描述
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 off the feature matrix as it goes. Writes every line fresh, never the original's code, assets or copy. Use when the user says "build the clone", "build screen S07", "start building", "rebuild this screen", "implement the booking page", or after /replica-design.
热度
- GitHub 星标
- 7.1k
- 排名
- #13578
- 许可证
- MIT
- 更新时间
- 2026/10/3
评论
- …
同一仓库的更多技能
replica-architect
7.1k帮你的智能体根据功能地图,为新应用规划技术栈、数据库和 API,并先从一个可工作的薄切片开始安排构建顺序。
replica-backend
7.1k帮你的智能体使用官方 API 构建应用的服务端,包括登录、数据库规则、Stripe 支付、邮件以及后台任务。
replica-brand
7.1k帮你的智能体为应用命名并重新塑造品牌,使其与众不同,包括需要进行的名称检查、新的配色、标识简报,以及对残留名称的全面扫描。
replica-deploy
7.1k帮你的智能体把新应用部署到你自己的域名上线,包括部署前检查清单、DNS 记录、生产环境设置以及应用商店构建。