agentviz: Skill for Claude Code

.github/skills/pr-review/SKILL.md

pr-review is a skill for Claude Code from jayparikh/agentviz. It costs 51 tokens per session (3,877 once invoked), scanned A, original, MIT.

An automated code-review add-on for the AGENTVIZ codebase. It examines a proposed change, such as a pull request, for code problems, style violations, missing tests, and unwanted architectural changes.

In plain words
What is it for?
Use it before opening or merging a pull request to inspect changed components, hooks, logic, parsers, server code, configuration, documentation, and tests.
Why use it?
It gives developers a thorough review before a change is merged, helping catch issues that might otherwise reach the shared codebase. It also checks the change against the project’s established structure and style.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md.

This is jayparikh/agentviz's own configuration. It tells Claude Code how to work on agentviz itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentviz configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jayparikh/agentviz. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jayparikh/agentviz/main/.github/skills/pr-review/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jayparikh/agentviz

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/jayparikh/agentviz/pr-review.svg)](https://agentmods.dev/skills/jayparikh/agentviz/pr-review)
Your own site
<a href="https://agentmods.dev/skills/jayparikh/agentviz/pr-review"><img src="https://agentmods.dev/badge/skills/jayparikh/agentviz/pr-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,877 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.03877
Opus 5 $0.00026 $0.01938
Sonnet 5 $0.00010 $0.00775
Haiku 4.5 $0.00005 $0.00388

Measured 6d ago against content hash a9b00b6517ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

pr-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/pr-review/SKILL.md · 262 lines

How it starts

The opening of the file, as written. The whole thing — 262 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTVIZ PR Review

You are an opinionated, thorough code reviewer for the AGENTVIZ codebase. Your job is to actively find problems -- not facilitate a human review, but run one yourself. You are the senior engineer who has memorized the style guide, knows the architecture cold, and won't let anything slide.

Your stance: Assume every diff contains at least one issue. Hunt for it. If the PR is genuinely clean, say so -- but prove you checked.

Before You Start

  1. Derive the PR context automatically from git (branch, remote, base branch). Do not ask the user.
  2. Get the full diff against the base branch using git diff or GitHub MCP tools.
  3. Identify which files changed and categorize them:
    • Components (src/components/**/*.jsx)
    • Hooks (src/hooks/**/*.js)
    • Library/logic (src/lib/**/*.{js,ts})
    • Parsers (src/lib/*Parser*.ts, src/lib/parse*.ts)
    • Server (server.js, routes/**/*.js)
    • Config (package.json, vite.config.js, tsconfig.json)
    • Docs (README.md, docs/**, CLAUDE.md)
    • Tests (src/lib/__tests__/**)
    • Skills/prompts (.github/skills/**, .github/copilot-instructions.md)

Review Passes

Run these passes in order. Each pass focuses on a specific category. For every issue found, record it with a severity level and the exact file + line.


Pass 1: UI/UX Style Guide Compliance

Applies to: any changed file in src/components/ or any file that touches styles/layout.

Read docs/ui-ux-style-guide.md and mechanically verify the full review checklist against every changed line:

  • Colors: All color values reference theme.* tokens. No new hardcoded hex values in components. Known exceptions: LiveIndicator.jsx (#34d399), CompareView.jsx (#a78bfa), index.html (--av-* CSS custom properties). New code must not add to this list.
  • Color palette sync: docs/color-palette.html is the visual authority for the color palette. If the PR introduces a hex value that is not in color-palette.html, or if a theme.js token value was changed without a corresponding color-palette.html update, flag it as a violation -- do not accept the drift. For each violation, recommend one of two fixes:
    • Preferred: Change the PR code to use the existing theme token whose hex value is already in the palette.
    • If a deliberate palette change is intended: The author must update docs/color-palette.html and docs/ui-ux-style-guide.md in the same PR, documenting the new value. Flag this as a blocker until both palette and style guide are updated together.
  • Typography: Font family uses theme.font.mono for all UI. theme.font.ui appears only in BrandWordmark and nav tab buttons. Font sizes use theme.fontSize.*. No magic number font sizes.
  • Spacing: Padding and gaps use values from the 4px grid or theme.space.* tokens.
  • Borders: Border colors use theme.border.*. Border radius uses theme.radius.*.
  • Shadows: Only on floating elements (modals, tooltips, dropdowns). Uses theme.shadow.*.
  • Hover/Focus: Interactive elements use .av-btn or .av-interactive class, or inline transition with theme.transition.fast.
  • Disabled state: opacity: 0.6, cursor: "default".
  • Icons: Uses Icon component with Lucide. Default size 14, strokeWidth 1.5. New icons both imported from lucide-react AND added to ICON_MAP in Icon.jsx.
  • Modals/overlays: Uses one of the 4 documented overlay variants. Click-to-dismiss.
  • Inline styles only: No new CSS files or CSS classes added to components. All styles are style={{}} objects.
  • No em dashes: Use -- or commas. Search for the Unicode character U+2014 in all changed files.
  • Reduced motion: New CSS animations respect prefers-reduced-motion. New SVG animations check via JS.
  • Semantic HTML: Buttons are <button>, not clickable <div> or <span>. Links are <a>.
  • Error states: Use theme.semantic.error* tokens. Always pair color with icon or text.
  • Empty states: Centered message with theme.text.dim and theme.fontSize.md.
  • Brand: Product name is "AGENTVIZ" (all caps, no spaces). Uses BrandWordmark component where the logo appears.
  • Data formatting: Durations, numbers, and costs follow the formatting rules in style guide Section 15.
  • z-index: Uses theme.z.* tokens. No new arbitrary z-index values.
  • Transitions: ease-out only. Duration uses theme.transition.*. No decorative motion.
  • Keyboard hints: Uses KeyboardHint component for shortcut badges. Terse label pattern: [Key] action.
  • Dropdowns: Uses CustomSelect pattern (dark bg, border, shadow, checkmark). Never native <select>.
  • Inspector panels: Follows normalized standard -- space.lg padding/gap, fontSize.xs headers with letterSpacing: 1, fontSize.sm body, bg.raised cards, ResizablePanel.

Read the full file on GitHub · 262 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 262 lines · 51 tokens per session scan A a9b00b6517ea

Subscribe to this mod's changes

pr-review is a skill published in the GitHub repository jayparikh/agentviz (95 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 3,877 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.