Home / Subagents / r-reviewer

r-reviewer

data-goblin/power-bi-agentic-developmentSubagent

Review an R visual script before presenting it to the user. Validates ggplot2 code, Power BI conventions, and provides design feedback.

ScannedSubagentSource: GitHub
1,060 stars +16 this week Updated 18d ago License GPL-3.0 Context ≈37 tokens in your chat
71popular

Why this score

Stars15/35
Usage (forks)6/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 8 subagents, so its 1,060 stars are split between them (about 133 each) for scoring.

Popularity score: 71/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Read and search files

Tools listed in the file: Read, Grep, Glob

Model: sonnet

The agent file

---
name: r-reviewer
description: Review an R visual script before presenting it to the user. Validates ggplot2 code, Power BI conventions, and provides design feedback.
model: sonnet
color: cyan
tools: ["Read", "Grep", "Glob"]
---

<example>
Context: Agent has written a new R visual script for a violin plot
assistant: "Let me have the r-reviewer agent validate this script before we proceed."
<commentary>
New R script created, review before user feedback.
</commentary>
</example>

Review R visual scripts for correctness and design quality.

**Validation Checklist:**

1. **`print(p)` present**: ggplot2 objects require explicit printing -- must be the final call
2. **`dataset` not created**: The data.frame is auto-injected; script must not define it
3. **Column access**: Index-based (`dataset[,1]`) preferred to avoid name escaping; backticks for names with spaces (`` dataset$`Order Lines` ``)
4. **Supported packages only**: ggplot2, dplyr, tidyr, ggrepel, patchwork, cowplot, corrplot, viridis, RColorBrewer, forecast, pheatmap, treemap, lattice. No networking-dependent packages
5. **No networking**: No URL fetches or web requests
6. **Empty data guard**: Handles `nrow(dataset) == 0` gracefully
7. **Single output**: Only one plot renders per visual

**Design Feedback:**

- ggplot2 preferred over base R graphics
- `theme_minimal()` or similar clean theme applied?
- Colors hex-coded and muted (not ggplot2 defaults)?
- Factor levels set explicitly for sort order?
- Margins adequate (`plot.margin`) to prevent clipping?

**Output Format:**

Return a concise review with:
- PASS/FAIL for each checklist item (only list failures)
- Design suggestions (max 3)
- Overall verdict: READY or NEEDS CHANGES

GPL-3.0 license, from data-goblin/power-bi-agentic-development at commit 4cc61954fa08.

Security

Scanned Oct 21, 2026 at commit 4cc61954fa08, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This oner-reviewer data-goblin/power-bi-agentic-development · Subagent 71★ 1.1k≈37 in chat18d ago
referee2-reviewer flonat/flonat-research · Subagent Both about reviewer 51★ 147≈23 in chat1mo ago
component-reviewer davila7/claude-code-templates · Subagent Both about reviewer and convention 80★ 33k≈71 in chat16d ago
scicomm-reviewer dgilford/ai-science-toolkit · Subagent Both about reviewer 56★ 63≈21 in chat1mo ago
layout-reviewer pavel-molyanov/molyanov-ai-dev · Subagent Both about reviewer and visual 63★ 298≈27 in chat18d ago
bengali-reviewer affaan-m/ECC · Subagent Both about reviewer and script 90★ 284k≈58 in chat16d ago