visual-ralph
[OMX] Implement or restyle frontend UI against a generated image, static reference, or live URL through measured capture-and-compare iteration.
- License 许可
- Apache-2.0
- 最近更新
- 2026-10-23
- Stars
- ★ 45
- Forks
- 12
01 前言 Front Matter
- name
- visual-ralph
- description
- [OMX] Implement or restyle frontend UI against a generated image, static reference, or live URL through measured capture-and-compare iteration.
03 SKILL.md 正文
Visual Ralph
The name is retained for compatibility. Use this skill for frontend work with a visual target; perform the work with ordinary repository editing, capture, comparison, and verification tools.
Repository-wide authority, state, and verification rules live in AGENTS.md.
Workflow
- Inspect the frontend stack, route, tokens, reusable components, screenshot tooling, and relevant commands.
- Establish the reference, viewport, route and state, visible interactions, and exclusions. For a live URL, record its source and authorized scope. For a generated concept, use
$imagegenwith the requested dimensions, text, visual constraints, and feasible UI details, then copy the selected artifact into.omx/artifacts/visual-ralph/<slug>/reference.png. - Treat a user-specified reference, or a reference already authorized for the current task, as approved. Ask only when an unresolved design choice would materially change the result; do not repeat an approval already given.
- Implement with existing components and tokens. Capture the same viewport and state, compare it with the reference, turn observed differences into the next edit, and repeat until the requested match is reached or a concrete blocker remains.
- Use image inspection and pixel-diff overlays when they improve comparison. Preserve the reference, final screenshot, reproduction command, and useful diff artifacts.
- Run the repository's applicable build, lint, tests, and accessibility checks for the changed surface.
Quality and stopping
Honor an explicit pixel-diff or similarity threshold from the user. Otherwise judge completion from visible layout, typography, color, spacing, states, interactions, and the user's stated fidelity; a model-generated score is supporting judgment, not an objective quality fact.
Finish when the result reproduces at the recorded viewport and state, relevant checks pass, and remaining visible differences are documented. Encode reusable values in the repository's existing token or component system when the implementation actually introduces them.
Task: {{ARGUMENTS}}
04 同仓库更多 Skills
worker
[OMX] Team worker protocol (ACK, mailbox, task lifecycle) for tmux-based OMX teams
wiki
[OMX] Persistent markdown project wiki stored under repository omx_wiki with keyword search and lifecycle capture
ultraqa
[OMX] Adversarial dynamic e2e QA workflow - generate hostile scenarios, test, verify, fix, report, and clean up
ultragoal
[OMX] Create and execute durable repo-native multi-goal plans over Codex goal mode artifacts.
team
[OMX] N coordinated agents on shared task list using tmux-based orchestration
skill
[OMX] Inspect, add, edit, validate, or remove local agent skills.