Agent skill

Review PR UI Screenshots

by xiaocang in xiaocang/easydict_win32

Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory.

GPL-3.0Auto-check passedDevelopment

Install Review PR UI Screenshots

skills CLI
$ npx skills add xiaocang/easydict_win32 --skill review-pr-ui-screenshots -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install xiaocang/easydict_win32 review-pr-ui-screenshots --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/xiaocang/easydict_win32.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/review-pr-ui-screenshots .claude/skills/review-pr-ui-screenshots && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
review-pr-ui-screenshots
GitHub stars
104
Token cost
~1.2k tokens
SKILL.md length
381 words
Files
2
Skills in repo
2
Repo updated
First seen
Licence
GPL-3.0

At a glance

Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory.

  • Works in 4 steps: visual-diffs/ and *_diff.png → baseline-candidates-* artifacts and… → diagnostic files containing not_found,… → …
  • Asked to review PR UI screenshots
  • SKILL.md covers Goal, Resolve PR And Run, Download Screenshot Artifacts and Review Workflow, plus 1 more section
  • Calls gh

What it does

Review PR UI Screenshots is an agent skill from xiaocang/easydict_win32. Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory. Use when asked to review PR UI screenshots, CI visual artifacts, ui-screenshots artifacts, baseline candidates, visual diffs, or failure snapshots generated by the UI Automation workflow.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Pull requests, Visual regression testing and Workflow automation. It works with GitHub Actions. The repository describes itself as: Easy to look up words or translate text. Windows port of tisfeng/Easydict. The licence is GPL-3.0.

When your agent uses it

  • Asked to review PR UI screenshots
  • CI visual artifacts
  • Ui-screenshots artifacts
  • Baseline candidates

Example prompts

  • “/review-pr-ui-screenshots”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. visual-diffs/ and *_diff.png
  2. baseline-candidates-* artifacts and baseline-candidates/ directories
  3. diagnostic files containing not_found, failed, failure, missing, error, or navigation_failed
  4. regular ui-screenshots-* artifacts

What it can do on your machine

Read from SKILL.md and the folder at commit 2b4231d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Review PR UI Screenshots loads about 1.2k tokens when it runs. Until then it costs about 97 tokens; SKILL.md has 381 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~97
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from xiaocang/easydict_win32 at commit 2b4231d, republished under its GPL-3.0 licence (© xiaocang). 381 words, ~1,164 tokens.

Download SKILL.mdSave it as .claude/skills/review-pr-ui-screenshots/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
review-pr-ui-screenshots
description
Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory. Use when asked to review PR UI screenshots, CI visual artifacts, ui-screenshots artifacts, baseline candidates, visual diffs, or failure snapshots generated by the UI Automation workflow.

Review PR UI Screenshots

Goal

Fetch the relevant GitHub Actions UI screenshot artifacts for a PR, then review them like local UI artifacts: file and directory names describe the expected UI state, and mismatches should be reported first.

Resolve PR And Run

Use gh from the repository root. Start by confirming authentication:

powershell
gh auth status

If the user gave a PR number, use it. Otherwise resolve the current branch PR:

powershell
$pr = gh pr view --json number,headRefName,headRefOid,url | ConvertFrom-Json

Find the latest matching UI Automation workflow run for the PR head commit:

powershell
$runs = gh run list `
  --workflow ui-automation.yml `
  --branch $pr.headRefName `
  --event pull_request `
  --limit 20 `
  --json databaseId,status,conclusion,headSha,createdAt,displayTitle,url |
  ConvertFrom-Json

$run = $runs |
  Where-Object { $_.headSha -eq $pr.headRefOid -and $_.status -eq "completed" } |
  Sort-Object createdAt -Descending |
  Select-Object -First 1

If no completed run matches, list the latest runs and explain whether the workflow is still running, skipped, failed before artifacts, or expired.

Download Screenshot Artifacts

Download into a unique, meaningful local directory:

powershell
$dest = "artifacts/pr-ui-screenshots/pr-$($pr.number)/run-$($run.databaseId)"
New-Item -ItemType Directory -Force -Path $dest | Out-Null

gh run download $run.databaseId --pattern "ui-screenshots-*" --dir $dest
gh run download $run.databaseId --pattern "baseline-candidates-*" --dir $dest
gh run download $run.databaseId --pattern "theme-contrast-regression-screenshots-*" --dir $dest

Artifact names should remain visible in the folder tree, for example:

text
artifacts/pr-ui-screenshots/pr-123/run-456/ui-screenshots-ocr-overlay/
artifacts/pr-ui-screenshots/pr-123/run-456/ui-screenshots-core-settings-darkmode/
artifacts/pr-ui-screenshots/pr-123/run-456/baseline-candidates-pop-button/

If gh run download reports no matching artifacts, inspect the run status and artifact list:

powershell
gh run view $run.databaseId --json status,conclusion,url
gh run view $run.databaseId --log-failed

Review Workflow

Use the local screenshot review workflow on the downloaded root. Review priority is:

  1. visual-diffs/ and *_diff.png
  2. baseline-candidates-* artifacts and baseline-candidates/ directories
  3. diagnostic files containing not_found, failed, failure, missing, error, or navigation_failed
  4. regular ui-screenshots-* artifacts

Inspect individual images, not just generated galleries. The artifact name should help set expectations:

  • ui-screenshots-pop-button: PopButton settings, selection, popup visibility, and mini-window launch states.
  • ui-screenshots-mini-phonetic-dictionary: mini window long text, phonetic display, dictionary WebView/fallback states.
  • ui-screenshots-core-settings-darkmode: main window, translation, settings scrolling, window lifecycle, dark mode states.
  • ui-screenshots-theme-contrast: theme matrix and light/dark contrast states.
  • ui-screenshots-ocr-overlay: OCR hotkey, overlay, cancel/dismiss, and silent OCR states.
  • ui-screenshots-long-document: long document mode controls and translation workflow states.
Show full SKILL.md (132 more words)Show less

For each screenshot, compare the visible UI to the filename semantics. Examples:

  • *_before_* should show pre-action state.
  • *_after_translate should show translation output or an expected result state.
  • *_overlay_active should show the capture overlay.
  • *_not_found or *_failed should be treated as diagnostic evidence, not a successful UI state.
  • *_dark_* and *_light_* should match the named palette.

Report Format

Lead with findings. For each finding include:

  • severity: High, Medium, or Low
  • artifact and screenshot path
  • expected state inferred from artifact/file name
  • observed state
  • why this matters for PR review
  • suggested next check or fix

Then include:

  • PR URL, run URL, run id, conclusion, and head SHA
  • downloaded artifact root
  • reviewed artifact groups
  • any artifacts that were missing, expired, or not reviewed

If no mismatches are found, say so explicitly and state the review coverage.

© xiaocang, GPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .codex/skills/review-pr-ui-screenshots of xiaocang/easydict_win32.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 2b4231d

Compare with similar skills

Review PR UI Screenshots next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Review PR UI Screenshots compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Review PR UI Screenshots this skillxiaocang/easydict_win32104—~1.2kAutomated safety check: PassGPL-3.0
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0
Ghbubbuild/bub1.7k—~798Automated safety check: PassApache-2.0
ZCF Release AutomationUfoMiao/zcf6.1k—~3.4kAutomated safety check: PassMIT
Renovate Actions PR Reviewbacknotprop/plannotator9.3k—~640Automated safety check: PassApache-2.0
ReleasePipelex/pipelex942—~4.8kAutomated safety check: NotesCustom licence

Similar skills

  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Gh

    bubbuild/bub

    GitHub CLI skill for interacting with GitHub via the gh command line tool.

    1.7k GitHub stars~798 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.

    6.1k GitHub stars~3.4k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Renovate Actions PR Review

    backnotprop/plannotator

    Reviews Renovate pull requests that bump GitHub Actions by checking pinned SHAs against upstream tags, scanning changelogs and confirming workflows stay compatible.

    9.3k GitHub stars~640 tokensUpdated today
    DevelopmentAuto-check passed
  • Release

    Pipelex/pipelex

    Cut a release of pipelex, which ships the pipelex and pipelex-api packages and the pipelex/pipelex-api Docker image under one version: the gates, the migration-ledger cross-check, the CHANGELOG.md…

    942 GitHub stars~4.8k tokensUpdated today
    DevelopmentAuto-check: notes
  • Prepare, validate, push, open, monitor, and merge paired pull requests across the public AetherKiri repository and private AetherInternal package without publishing private source or unrelated…

    154 GitHub stars~1.9k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from xiaocang/easydict_win32

  • Review Local UI Screenshots

    xiaocang/easydict_win32

    Review Easydict UI automation screenshot artifacts already present in local artifacts/ui-screenshots, screenshots, or a user-provided artifact directory.

    104 GitHub stars~1.1k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Review PR UI Screenshots

What does Review PR UI Screenshots do?

Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory. Review PR UI Screenshots is an agent skill from xiaocang/easydict_win32. Download and review Easydict pull request CI screenshot artifacts from GitHub Actions using gh, then verify whether each screenshot matches its filename and artifact directory.

When should I use Review PR UI Screenshots?

Review PR UI Screenshots fits situations like: asked to review PR UI screenshots; CI visual artifacts; ui-screenshots artifacts; baseline candidates.

How do I install Review PR UI Screenshots in Claude Code?

Run `npx skills add xiaocang/easydict_win32 --skill review-pr-ui-screenshots -a claude-code`. Or copy the skill folder (.codex/skills/review-pr-ui-screenshots in xiaocang/easydict_win32) into .claude/skills/review-pr-ui-screenshots in your project. Claude Code loads it when a task matches its description.

How do I install Review PR UI Screenshots in Codex?

Run `npx skills add xiaocang/easydict_win32 --skill review-pr-ui-screenshots -a codex`. Or copy the skill folder (.codex/skills/review-pr-ui-screenshots in xiaocang/easydict_win32) into .agents/skills/review-pr-ui-screenshots in your project. Codex loads it when a task matches its description.

Can I use Review PR UI Screenshots in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add xiaocang/easydict_win32 --skill review-pr-ui-screenshots -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/review-pr-ui-screenshots, .gemini/skills/review-pr-ui-screenshots, .github/skills/review-pr-ui-screenshots and .opencode/skills/review-pr-ui-screenshots in your project.

What does Review PR UI Screenshots need to run?

Going by SKILL.md and its folder, Review PR UI Screenshots needs the command-line tools its instructions call (gh).

Does Review PR UI Screenshots access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Review PR UI Screenshots safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Review PR UI Screenshots use?

Review PR UI Screenshots is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Review PR UI Screenshots use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Review PR UI Screenshots?

Skills that share tags, products or a category with Review PR UI Screenshots: Babysit PR To Pass CI (sgl-project/sglang, 37k stars), Gh (bubbuild/bub, 1.7k stars), ZCF Release Automation (UfoMiao/zcf, 6.1k stars) and Renovate Actions PR Review (backnotprop/plannotator, 9.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Review PR UI Screenshots?

xiaocang (a GitHub user) maintains it in xiaocang/easydict_win32, which has 104 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 9, 2026.

Source: xiaocang/easydict_win32 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.