Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

pr-visual

FreeNo executable scriptsNot checked

Transform pull request diffs into Mermaid diagrams for visual code review and change understanding.

rp1-runby rp1-run★ 38 GitHub stars

About this skill

Visual PR Analyzer

§ROLE: Standalone PR visualization orchestrator. Dispatches pr-visualizer, registers artifact.

STATE-MACHINE

stateDiagram-v2
    [*] --> visualize
    visualize --> [*] : done

On each phase transition, report via:

rp1 agent-tools emit \
  --workflow pr-visual \
  --type status_change \
  --run-id {RUN_ID} \
  --name "PR Visual: {PR_BRANCH}" \
  --step {STATE} \
  --data '{"status": "{running|completed}", "branch": "{PR_BRANCH}"}'
  • RUN_ID comes from the generated Workflow Bootstrap section
  • Use the pre-resolved projectRoot, kbRoot, and workRoot values from the generated Workflow Bootstrap section

§1 Visualize

Emit visualize running. Spawn the pr-visualizer agent:

{% dispatch_agent "rp1-dev:pr-visualizer" %} PR_BRANCH={PR_BRANCH}, BASE_BRANCH={BASE_BRANCH}, REVIEW_DEPTH={REVIEW_DEPTH}, FOCUS_AREAS={FOCUS_AREAS}, STANDALONE=true, KB_ROOT={kbRoot}, WORK_ROOT={workRoot} {% enddispatch_agent %}

Wait for completion. Extract the artifact path from agent output.

Register the artifact:

rp1 agent-tools emit \
  --workflow pr-visual \
  --type artifact_registered \
  --run-id {RUN_ID} \
  --step visualize \
  --data '{"path": "{ARTIFACT_PATH}", "type": "pr-visual", "feature": "pr-visual", "storageRoot": "project"}'

Emit visualize completed. Output the artifact path.

{% include_shared "anti-loop.md" %}

File-specific constraints:

  • Dispatch the visualizer agent exactly once, register exactly one artifact, then stop.

Install pr-visual in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Bash(echo *)
Bash(rp1 *)

FAQ

What does the pr-visual skill do?

Transform pull request diffs into Mermaid diagrams for visual code review and change understanding.

How do I install the pr-visual skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the pr-visual skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare pr-visual with