AGENT SKILL

visual-verdict

Visual diff/screenshot comparison verdict

License 许可
Apache-2.0
最近更新
2026-10-31
Stars
★ 1
Forks
0

01 前言 Front Matter

name
visual-verdict
trigger
visual-verdict:, /visual-verdict, /omp:visual-verdict
autoinvoke
false
description
Visual diff/screenshot comparison verdict

03 SKILL.md 正文

Skill: Visual Verdict

Metadata

Field Value
ID visual-verdict
Keywords visual-verdict:, /visual-verdict
Tier QA Tool
Source src/skills/visual-verdict.mts

Description

Compares visual diffs or screenshots to render a pass/fail verdict. Accepts before/after image paths or URLs, runs a pixel-level diff, and produces a structured verdict with diff percentage, bounding boxes of changed regions, and a human-readable summary.

Interface

interface SkillInput { trigger: string; args: string[]; }
interface SkillOutput { status: "ok" | "error"; message: string; }
export async function activate(input: SkillInput): Promise<SkillOutput>
export function deactivate(): void

Implementation

Extension-only skill. Triggers visual diff comparison in Copilot. The CLI prints guidance directing users to the Copilot CLI slash command.

P3 scope: Integration with Playwright screenshot capture and CI diff reporting (as specified in SPEC-omp-2.0 §5) are deferred to P3. The current implementation accepts user-supplied image paths only.

04 同仓库更多 Skills