pr-visual
FreeNo executable scriptsNot checkedTransform pull request diffs into Mermaid diagrams for visual code review and change understanding.
by rp1-run★ 38 GitHub starsAbout 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_IDcomes from the generated Workflow Bootstrap section- Use the pre-resolved
projectRoot,kbRoot, andworkRootvalues 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
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
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic