pr-visual-explainer

When a visual explanation is needed to clarify a pull request, create visual explainers or an HTML demo showing before-and-after behavior and add charts to the PR. Trigger only when the request explicitly requires visual aids; creation of a PR alone does not trigger this.

Last repository push
GitHub Stars
133
Forks
13
Issues / PRs
4

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "pr-visual-explainer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-200ed8f7033de6517e411587fd40fc9411cfdc0086019cb29627699e6f844c39. Verify the upstream source and version against https://github.com/jMerta/codex-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

When a visual explanation is needed to clarify a pull request, create visual explainers or an HTML demo showing before-and-after behavior and add charts to the PR. Trigger only when the request explicitly requires visual aids; creation of a PR alone does not trigger this.

0 Downloads

Introduction source: third_party · jMerta · 0.0.1 Reference

SkillPi interpretation

Tasks
Use when the user asks to explain a pull request visually, create an HTML walkthrough, show before-and-after behavior, or add diagrams for a PR. Triggers automatically for requests such as "explain this PR" when a visual artifact would materially improve understanding; does not run merely because a PR was created.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pr-visual-explainer
description: Use when the user asks to explain a pull request visually, create an HTML walkthrough, show before-and-after behavior, or add diagrams for a PR. Triggers automatically for requests such as "explain this PR" when a visual artifact would materially improve understanding; does not run merely because a PR was created.

PR Visual Explainer

Create a self-contained visual companion to a pull request. Treat it as an evidence-backed explanation of the current PR head, not as decorative release notes.

Establish authority and lifecycle

  1. Resolve the repository, PR number, base, head, and current head SHA before writing.
  2. Read the committed base-to-head diff, relevant tests, repository instructions, and current PR evidence.
  3. Create or refresh the guide when the user asks to explain the PR. Do not run solely because another workflow opened a PR.
  4. Keep the generated HTML local, unstaged, uncommitted, and unpushed unless the user explicitly requests publication.
  5. Reuse a matching guide rather than creating competing files. Refresh it when the PR head, behavior, risk, or validation evidence changes.
  6. Preserve unrelated work and report the guide's exact local path and Git state.

Gather current evidence

Establish:

  • the practical outcome and intended audience;
  • previous and new behavior, including decisions and failure paths;
  • affected application, API, persistence, authorization, deployment, or telemetry boundaries;
  • tests, checks, review conclusions, accepted trade-offs, and material gaps;
  • source files that support each important claim.

Prefer current code, tests, and workflow definitions over PR prose. Distinguish verified behavior, inference, and open questions. Never include secrets, credentials, tokens, private URLs, personal data, or raw sensitive logs.

Use the conversation language. This skill does not force Polish or English.

Select the smallest useful document

Read references/content-model.md before selecting sections or diagrams.

  • Default to four to six short sections and one primary visual.
  • Add another diagram, scenario table, or deeper section only when it materially improves understanding.
  • Use no diagram for a trivial PR when prose is clearer.
  • Explain behavior in plain language before naming implementation details.

Create or update the guide

Use an established ignored artifact directory when the repository already has one. Otherwise use a durable task-owned temporary location. Write into repository documentation only when the user explicitly asks for a versioned guide.

Start a new guide from assets/pr-explainer-shell.html. Replace every placeholder and remove unused sample sections. Preserve a useful existing guide instead of overwriting it mechanically.

Treat all PR-derived content as untrusted. Escape &, <, and > in text nodes and also escape both quote characters in attribute values before replacing placeholders. Never copy evidence-derived HTML, event handlers, URLs, CSS, or JavaScript into the shell; emit markup only from fixed structures you construct explicitly.

Build one portable HTML file:

  • inline CSS, JavaScript, and SVG;
  • no CDN, remote font, runtime diagram dependency, or remote image;
  • semantic headings, one main, captions or accessible names for diagrams, visible focus, reduced-motion support, and print styles;
  • no meaning encoded through color alone;
  • wide tables and diagrams scroll within their own container;
  • JavaScript is optional and progressively enhanced.

Keep claims honest

Include only evidence that exists. Never claim that a test, check, migration, runtime scenario, or rollout passed unless it was observed. Avoid counts or assertions likely to become stale after the next commit.

When a human can meaningfully verify the change, include short manual steps with preconditions, actions, expected result, and one important edge case. Omit manual instructions when they add no review value.

Hand off

Run git status --short and confirm the guide is not staged. Return a clickable absolute path, summarize the primary visual and conclusion, state the head SHA represented, and say explicitly that the file is local and not committed or pushed.

Version history

  1. 3.0.0 GitHub ↗
    Original release notes

    # Codex skills 3.0.0 (2026-08-18) This release publishes a focused catalog of 20 maintained engineering, product, documentation, review, and operations skills for current Codex and GitHub usage. ## Highlights - Add nine reusable workflows for focused TDD, visual PR explanations, product-idea management, Polish and English UI copy, and architecture, backend, frontend, security/privacy, and test-coverage reviews ([#11](https://github.com/jMerta/codex-skills/pull/11)). - Modernize Git, GitHub Actions, debugging, documentation, release, regex, dependency, and VPS workflows ([#10](https://github.com/jMerta/codex-skills/pull/10)). - Rewrite every skill description around concrete user requests and invocation triggers. - Refresh commit and pull request templates with exact PR creation and visual-evidence guidance. - Add `agents/openai.yaml` discovery metadata to every published skill. - Strengthen catalog validation for skill names, frontmatter, referenced files, body size, UI metadata, malformed YAML keys, and exact skill-token prompts. - Reject stale `skills.json`, run CLI tests in CI, and refresh GitHub Actions to current major versions. ## Breaking changes - Remove `agents-md`, `coding-guidelines-gen`, `coding-guidelines-verify`, `create-cli`, `plan-work`, `sessions-to-blog`, `ui-ux-pro-max`, and `video-transcript-downloader` from the published catalog. - Existing local installations are not deleted automatically. The `init-ledger` CLI command remains available; only the `agents-md` skill is removed. - Require Node.js 18 or newer for the npm CLI. ## Security - Upgrade the CLI archive extractor from `tar` 6.2.1 to 7.5.22 after npm and OSV reported twelve path traversal, overwrite, parser, and denial-of-service advisories against the resolved version. - Prefer GitHub connector context with explicit fallbacks and mutation gates in GitHub-related workflows. - Add direct and transitive CVE/advisory auditing, dependency-path verification, patched-version selection, and time-bounded override guidance. - Add dependency release-age, lockfile, provenance, integrity, lifecycle-script, and dependency-review checks. - Detect the active VPS firewall and keep package refreshes, restarts, pruning, and configuration changes behind explicit approval. ## Upgrade notes - Review locally installed removed skills before deleting them; upgrading the catalog does not modify an existing skills directory. - Skill contributors must add valid `agents/openai.yaml` metadata and install PyYAML before running the local validator. ## Verification - `python scripts/build_skills_json.py --check` - `python -m unittest discover -s scripts -p "test_*.py"` - `python scripts/validate_skills.py` - `python scripts/check_invisible_chars.py --all` - `npm ci --ignore-scripts --prefix cli` - `npm audit --omit=dev --prefix cli` - `npm test --prefix cli`

  2. 2.0.0 GitHub ↗
    Original release notes

    # Codex skills 2.0.0 (2026-02-06) ## Highlights - Standardize skill installs to the new `.agents/skills` catalog (`~/.agents/skills` by default, or `--dir .agents/skills` for repo-local installs). - Simplify the CLI: remove multi-agent installs and replace `--agent` with `--dir`. - Update the skill catalog: add `ui-ux-pro-max`; remove `frontend-design`, `brave-search`, and `oracle`. ## Breaking changes - CLI: removed `--agent` / multi-agent install targets. Use `--dir <dir>` instead. - CLI: default install dir changed from `~/.codex/skills/` to `~/.agents/skills/`. - Skills removed from the catalog: `frontend-design`, `brave-search`, `oracle`. ## Upgrade notes - If you previously installed skills into `~/.codex/skills/`, reinstall into the new default: - `npx codex-skills install-all` - To install into a repo (portable), use: - `npx codex-skills install-all --dir .agents/skills` - If you added scripts to PATH, update it to the new location: - macOS/Linux: `export PATH="$PATH:$HOME/.agents/skills/agent-scripts"` - Windows (PowerShell): add `$HOME\\.agents\\skills\\agent-scripts` to PATH ## Deprecations - None. ## Features - Skills: add `ui-ux-pro-max`. - CLI: add `--dir <dir>` and make installs more robust on Windows (retry deletes for transient file locks). ## Fixes - `python3 scripts/validate_skills.py` no longer requires `PyYAML`. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python3 scripts/build_skills_json.py` - `python3 scripts/validate_skills.py` - `npm test` (cli) ## Risk / notes - Users must reinstall skills if they relied on the legacy `~/.codex/skills/` location or the removed skills.

  3. 1.6.0 GitHub ↗
    Original release notes

    # Codex skills 1.6.0 (2026-01-02) ## Highlights - Add new skills sourced from agent-scripts: brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Add a CLI command to install shared agent-scripts. - Document Brave Search API key setup in the README. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills install-agent-scripts` to install shared scripts alongside skills. ## Deprecations - None. ## Features - CLI: add `install-agent-scripts` to install shared scripts. - Skills: add brave-search, create-cli, frontend-design, oracle, and video-transcript-downloader. - Docs: add Brave Search API key setup instructions. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/build_skills_json.py` - `npm test` (cli) ## Risk / notes - No migrations or config changes required.

  4. 1.5.0 GitHub ↗
    Original release notes

    # Codex skills 1.5.0 (2025-12-23) ## Highlights - Add a global AGENTS.MD ledger template and CLI init-ledger command to generate it. - Introduce a new verify command plus a richer CLI test suite for local installs. - Add new skills: branch-cleaner, regex-builder, and rebase-assistant. ## Breaking changes - None. ## Upgrade notes - Optional: run `npx codex-skills init-ledger` to create the global ledger at `~/.codex/AGENTS.MD`. - Optional: use `npx codex-skills verify <skill-name>` to validate local skill installs. ## Deprecations - None. ## Features - CLI: add init-ledger for the global AGENTS.MD template. - CLI: add verify for local skill validation and add test coverage for CLI flows. - Skills: add branch-cleaner, regex-builder, and rebase-assistant. - Docs: highlight install-all and document the global ledger workflow. ## Fixes - Pages: ensure the release workflow dispatches the pages deploy. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - Add a release workflow dispatch for pages builds. ## Database / migrations - None. ## Known issues - None. ## Verification - `npm test` ## Risk / notes - No migrations or config changes required.

  5. 1.4.0 GitHub ↗
    Original release notes

    # codex-skills 1.4.0 (2025-12-19) ## Highlights - Added `install-all` to install every skill in the catalog with one command. ## Breaking changes - None. ## Upgrade notes - None. ## Deprecations - None. ## Features - New `install-all` / `install-everything` CLI command for bulk installs. ## Fixes - None. ## Performance - None. ## Security - None. ## Dependencies - None. ## Operations / infrastructure - None. ## Database / migrations - None. ## Known issues - None. ## Verification - `python scripts/validate_skills.py` - `node cli/bin/codex-skills.js --help` ## Risk / notes - None.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 针对开发者高频刚需场景(PR 可视化解释),能显著提升代码审查效率
  • 功能定位精准,解决明确痛点
Trigger Precision95/100

Highlights

  • 触发条件明确限定(需视觉辅助解释 PR),边界清晰
  • 覆盖多种变体,避免误触
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有出口条件
  • frontmatter 完整,结构规范
Execution Reliability88/100

Areas to improve

  • 引用文件缺失 Reported severity: Major

    SKILL.md 引用了 references/content-model.md 和 assets/pr-explainer-shell.html,但未传入

    Recommendation: 请补充缺失的引用文件,确保执行流程完整

Evidence Verifiability (mean of the first four)91/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Accounts, secrets or authorization

    Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.

    Mentioned in main document · lines 29

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.