svg-reviewer — Claude Code subagent for SVG DAX reviews
svg-reviewer is a Claude Code subagent that checks SVG DAX measures for markup and DAX issues and comments on their design before they are shared with a user.
GPL-3.0 ★ 1,104 updated 2026-10-28
.github/agents/svg-reviewer.agent.mdWhat svg-reviewer does
The subagent inspects how a DAX measure produces SVG, including its image prefix, xmlns and viewBox attributes, colors, and quoting. It also checks string escaping, the HASONEVALUE guard, the ImageUrl category, variable layout, and the SVG Y-axis direction.
Design feedback covers output size, coordinate precision, CONCATENATEX use, intended visual type, and color choices. The response lists failed checks, gives up to three suggestions, and ends with READY or NEEDS CHANGES. It reviews rather than edits the measure; its available tools are Read, Grep, and Glob.
What it helps with
- check the image prefix in a DAX SVG measure
- catch SVG attribute and string-escaping errors
- verify single-category context handling
- review variable structure and SVG coordinates
- get feedback on visual size and color choices
Example prompts for the agent
- Review this DAX SVG measure before I show it to the user.
- Check this measure's SVG markup and DAX string escaping.
- Assess the size and design of this SVG for a matrix cell.
How to install svg-reviewer
Manually: put the files in place
.github/agents/svg-reviewer.agent.md1Plugin marketplace
/plugin marketplace add data-goblin/power-bi-agentic-development/plugin install reports@power-bi-agentic-development2Manually: put the files in place
.claude/agents/svg-reviewer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention. Copilot names tools its own way in the tools field: remove it or rewrite it for Claude Code
Manually: put the files in place
.codex/agents/svg-reviewer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/svg-reviewer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about svg-reviewer
How do I install svg-reviewer in Claude Code?
Add the marketplace with /plugin marketplace add data-goblin/power-bi-agentic-development, then install the plugin with /plugin install reports@power-bi-agentic-development. The agent file is .claude/agents/svg-reviewer.md.
What does svg-reviewer do?
It checks SVG DAX measures for markup and DAX conventions, then gives design feedback. Its verdict is READY or NEEDS CHANGES.
What does it check in an SVG DAX measure?
Checks include viewBox, hex colors, single-quoted SVG attributes, HASONEVALUE, and the ImageUrl category. It also reviews the VAR structure and Y-axis coordinates.