From c0c1fca5c3b2681da632278ddf6052c5a309d65d Mon Sep 17 00:00:00 2001 From: mapleluvr Date: Sun, 2 Aug 2026 16:18:05 +0800 Subject: [PATCH] Restore README replication examples --- README.md | 20 ++++++++++++++++++++ README.zh-CN.md | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/README.md b/README.md index f2a9e0a..cfab004 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,26 @@ The package includes six discoverable Skills: Use `using-visual-primitives` for standalone image and screenshot evidence. Use `frontend-replication` when the task includes oracle intake, implementation rounds, masked scoring, verdicts, or delivery review. Specialized Skills reference the generic command and coordinate guidance instead of duplicating it. +## Frontend Replication Examples + +These examples show the `frontend-replication` -> `inline-replication` workflow in a single-pass render. They demonstrate the replication Skills, not automatic output from the `vp` CLI: the CLI supplies inspectable image evidence, while the Skills own implementation and feedback. + +### Simple task: analytics dashboard + +The oracle is a regular dashboard layout with a sidebar, KPI row, chart cards, and a transactions table. + +![Analytics dashboard oracle next to the single-pass render](docs/visual-primitives/examples/pulse-side-by-side.png) + +*Left: oracle mockup. Right: single-pass render.* + +### Complex task: dense desktop UI + +The oracle is a real NetEase Cloud Music desktop screenshot (`1448x940`) with three major regions, dense Chinese typography, icons, badges, aligned table columns, and a floating progress bar. + +![NetEase Cloud Music oracle next to the single-pass render](docs/visual-primitives/examples/netease-side-by-side.png) + +*Left: oracle screenshot. Right: single-pass render. Full-resolution oracle, render, and side-by-side files are available under [`docs/visual-primitives/examples/`](docs/visual-primitives/examples/).* + ## Frontend Workflow Helper `masked-oracle-diff` remains owned by the frontend replication workflow. It is not a `vp` command, npm binary, generic core export, or responsibility of `using-visual-primitives`. diff --git a/README.zh-CN.md b/README.zh-CN.md index dbcbfa8..d5834a3 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -98,6 +98,26 @@ Package 包含六个可发现的 Skills: 独立的图像和截图证据任务使用 `using-visual-primitives`。包含 oracle intake、实现轮次、masked scoring、verdict 或交付审查时使用 `frontend-replication`。专用 Skills 引用通用命令和坐标指南,不重复定义它们。 +## 前端复现示例 + +以下示例展示 `frontend-replication` -> `inline-replication` 工作流的一次 render。它们展示的是 replication Skills,而不是 `vp` CLI 自动生成的结果:CLI 提供可检查的图像证据,Skills 负责实现与反馈循环。 + +### 简单任务:分析仪表盘 + +Oracle 是一个规则的仪表盘布局,包含 sidebar、KPI 行、chart cards 和 transactions table。 + +![分析仪表盘 oracle 与单次 render 对照](docs/visual-primitives/examples/pulse-side-by-side.png) + +*左:oracle mockup。右:单次 render。* + +### 复杂任务:密集桌面 UI + +Oracle 是一张网易云音乐桌面端真实截图(`1448x940`),包含三大区域、密集中文排版、icons、badges、对齐的表格列和浮动进度条。 + +![网易云音乐 oracle 与单次 render 对照](docs/visual-primitives/examples/netease-side-by-side.png) + +*左:oracle 截图。右:单次 render。完整分辨率的 oracle、render 和对照文件都位于 [`docs/visual-primitives/examples/`](docs/visual-primitives/examples/) 下。* + ## 前端工作流 Helper `masked-oracle-diff` 归 `frontend-replication` 工作流所有。它不是 `vp` 子命令,不是 npm binary,不是通用 core export,也不属于 `using-visual-primitives` 的职责。