Chuyển đến nội dung
Skillpedia
Lập trình chung7.1k · #13578

replica-build

Skill này làm gì

Skill này xây các màn hình của ứng dụng mới theo một thứ tự đã định, dùng mã, nhãn và văn bản của chính bạn. Skill dành cho lập trình viên đã có bản đồ tính năng và muốn xây ứng dụng theo các bước rõ ràng.

Khi nào nên dùng

  • ✓Khi bạn muốn bắt đầu xây ứng dụng từ bản đồ tính năng, từng màn hình một.
  • ✓Khi bạn cần xây một màn hình đơn với đầy đủ các trạng thái, như đang tải và lỗi.
  • ✓Khi bạn muốn hoàn thành một luồng cốt lõi từ đầu đến cuối trước khi xây phần còn lại của ứng dụng.

Liên kết skill

https://github.com/Jakeschincariol/replica-skill/blob/main/replica-build/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/Jakeschincariol/replica-skill/blob/main/replica-build/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể xây trang đặt chỗ cho ứng dụng của tôi, gồm các trạng thái đang tải, trống và lỗi không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent xây khung vỏ ứng dụng và định tuyến trước, sau đó là một phiên bản chạy được của luồng cốt lõi, rồi đến từng màn hình còn lại theo thứ tự. Agent tự viết toàn bộ mã và nội dung, đồng thời cập nhật ma trận tính năng khi hoàn thành từng phần.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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:

  1. Read its row in the recon map: purpose, components, states, which flows pass through it.
  2. Look at the reference screenshot for layout and hierarchy. Not for pixels.
  3. Build it with the primitives. Real data from the data layer.
  4. Every state: empty, loading (skeletons, not spinners, if the original does), filled, error, no permission, long content (a 60 character name), mobile width.
  5. Basics, every time: semantic HTML, labels on inputs, keyboard reachable, visible focus, images with alt text.
  6. Set the matching rows in features.csv to yes or partial (with a note).
  7. Screenshot it at the same viewport as the reference into replica/clone-screens/S07.png for replica-diff.
  8. 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.

Câu hỏi thường gặp

Skill có sao chép mã của ứng dụng gốc không?

Không. Skill nói mọi dòng mã được viết mới, và không sao chép mã, hình ảnh hay văn bản của ứng dụng gốc.

Khi xây dựng, việc gì được làm trước?

Một khung vỏ có định tuyến, bố cục và dữ liệu mẫu, sau đó là một phiên bản đơn giản chạy được của luồng chính.

Skill có theo dõi tiến độ không?

Có. Skill cập nhật ma trận tính năng và giữ nhật ký xây dựng khi làm việc.

Chi tiết

Mô tả gốc của tác giả

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.

repo: Jakeschincariol/replica-skill

Độ phổ biến

Sao GitHub
7.1k
Vị trí xếp hạng
#13578
Giấy phép
MIT
Cập nhật
3/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự