Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
20 changes: 20 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 的职责。
Expand Down
Loading