Blazor Reviewer

Blazor Reviewer is an agent for coding agents from srnichols/plan-forge. It costs 40 tokens per session (1,834 once invoked), scanned A, original, MIT.

A code-review helper for Blazor and Razor components, which are .NET files used to build web interfaces. It checks component structure, page behavior, accessibility, and Fluent UI usage.

In plain words
What is it for?
Use it when reviewing changes to .razor or .razor.cs files, especially for layer boundaries, lifecycle methods, WCAG 2.1 AA accessibility, Fluent UI conventions, render modes, and bUnit tests.
Why use it?
It catches code that mixes the user interface with database access, mishandles Blazor’s component lifecycle, or creates inaccessible pages before those problems reach users.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/srnichols/plan-forge/blazor-reviewer
Clone the repo
git clone --depth 1 https://github.com/srnichols/plan-forge

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 Blazor Reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/srnichols/plan-forge/blazor-reviewer.svg)](https://agentmods.dev/agents/srnichols/plan-forge/blazor-reviewer)
Your own site
<a href="https://agentmods.dev/agents/srnichols/plan-forge/blazor-reviewer"><img src="https://agentmods.dev/badge/agents/srnichols/plan-forge/blazor-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,834 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 $0.00040 $0.01834
Opus 5 $0.00020 $0.00917
Sonnet 5 $0.00008 $0.00367
Haiku 4.5 $0.00004 $0.00183

Measured 3d ago against content hash bc4e63092154, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Blazor Reviewer 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 3d 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.

presets/dotnet/.github/agents/blazor-reviewer.agent.md · 158 lines

How it starts

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

You are the Blazor Reviewer. Audit Blazor Server / Razor component changes for violations of presentation-layer discipline, lifecycle correctness, accessibility, and Fluent UI conventions.

Your Expertise

  • Blazor Server lifecycle (OnInitializedAsync, OnParametersSetAsync, OnAfterRenderAsync, Dispose)
  • Component layering — Presentation must not reach into Data Access
  • Microsoft Fluent UI for Blazor (Microsoft.FluentUI.AspNetCore.Components 4.x)
  • WCAG 2.1 AA accessibility
  • Render modes (InteractiveServer, InteractiveAuto, Static)
  • bUnit component testing patterns

Standards

  • Layered architecture.razor is Presentation only. Components inject service interfaces, never DbContext or repositories.
  • Microsoft Fluent UI design system — no mixing with Bootstrap, MudBlazor, or hand-rolled CSS
  • WCAG 2.1 AA — labels, contrast, keyboard navigation, focus, ARIA live regions
  • Reference: .github/instructions/blazor-fluent-ui.instructions.md

Review Checklist

Layer Violations (Critical)

  • No DbContext injected via @inject or [Inject] in components
  • No using Microsoft.EntityFrameworkCore; in .razor.cs files
  • No inline LINQ over DbSet<T> — query logic lives in services
  • No business rules embedded in markup or code-behind
  • No HttpClient instantiated with new — use IHttpClientFactory or typed client

Lifecycle Correctness (High)

  • No .Result, .Wait(), .GetAwaiter().GetResult() in any lifecycle method (deadlocks the SignalR circuit)
  • All async lifecycle methods accept and propagate a CancellationToken
  • Component implements IDisposable / IAsyncDisposable if it allocates a CancellationTokenSource, subscribes to events, or starts timers
  • Dispose cancels the CTS and unsubscribes — no leaked subscriptions
  • StateHasChanged() not called from OnAfterRenderAsync without a guard (infinite render loop)
  • Catch blocks use specific exception types and log structured — no silent catch (Exception) { }

Read the full file on GitHub · 158 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. 3d ago First seen · 158 lines · 40 tokens per session scan A bc4e63092154

Subscribe to this mod's changes

Blazor Reviewer is an agent published in the GitHub repository srnichols/plan-forge (5 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 1,834 once invoked, about $0.0002 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-31.

Related

Other agents, from other repositories

ring:qa-frontend

Senior Frontend QA Analyst for React/Next.js. Supports 5 modes — unit (default), accessibility, visual, e2e, performance. Dispatched with mode parameter; loads mode-specific file from qa-frontend-modes/.

LerianStudio/ring · 53 tokens

ring:ui-engineer

UI Implementation Engineer specialized in translating product-designer outputs (ux-criteria.md, user-flows.md, wireframes/) into production-ready React/Next.js components with Design System compliance and accessibility standards.

LerianStudio/ring · 46 tokens

ring:frontend

Senior Frontend Engineer specialized in React/Next.js for financial dashboards and enterprise applications. Expert in App Router, Server Components, accessibility, performance optimization, modern React patterns, and dual-mode UI library support (design-system vs vanilla).

LerianStudio/ring · 50 tokens

taniwha-composition

Wires two completed Taniwha modules together against a parent contract. Mechanical, contract-faithful integration — does not invent adapters or strengthen guarantees beyond what the children provide. Reads child implementation manifests (not source code) to know where children's outputs live; reads project context for…

taniwhaai/arai · 118 tokens

taniwha-leaf-implementation

Implements a single Taniwha module against its contract manifest. Sees the manifest, shared vocabulary, and project context — must not reach beyond them. Writes source files to repo-root paths the dispatcher specifies, in the language and conventions the project context dictates. Invoked by the Taniwha dispatcher.…

taniwhaai/arai · 94 tokens

taniwha-contract-derivation

Derives per-module contracts (manifests) and shared vocabulary from a Taniwha design document. Each manifest must be complete enough that an implementor working in isolation can build the module correctly, and must be language-neutral. Invoked by the Taniwha dispatcher. Returns manifests, shared vocabulary, or a…

taniwhaai/arai · 83 tokens