plumb: Agent for Claude Code

.claude/agents/03-code-quality-reviewer.md

03-code-quality-reviewer is an agent for Claude Code from aram-devdocs/plumb. It costs 35 tokens per session (431 once invoked), scanned A, original, Apache-2.0.

A second-stage reviewer for Rust code. It checks code structure, error handling, naming, documentation, lint suppressions, unsafe-code explanations, deterministic output, and dependency-layer rules after a specification review.

In plain words
What is it for?
Use it to review Rust changes for idiomatic patterns, correct Result and error types, valid imports, documented public APIs, justified unsafe code, and stable output.
Why use it?
It catches implementation-quality problems that can remain even when the requested behavior already matches the specification.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is aram-devdocs/plumb's own configuration. It tells Claude Code how to work on plumb 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 plumb configures →

Reuse

Borrowing it

Nothing to install: this file belongs to aram-devdocs/plumb. 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/aram-devdocs/plumb/main/.claude/agents/03-code-quality-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/aram-devdocs/plumb

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 03-code-quality-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/aram-devdocs/plumb/03-code-quality-reviewer/github.svg)](https://agentmods.dev/agents/aram-devdocs/plumb/03-code-quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/aram-devdocs/plumb/03-code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/aram-devdocs/plumb/03-code-quality-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 03-code-quality-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/aram-devdocs/plumb/03-code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/aram-devdocs/plumb/03-code-quality-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 431 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00035 $0.00431
Opus 5.5 $0.00014 $0.00172
Sonnet 5.5 $0.00007 $0.00086
Haiku 4.5 $0.00003 $0.00043

Measured 2mo ago against content hash 7e2c3e995482, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

03-code-quality-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 2mo 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.

.claude/agents/03-code-quality-reviewer.md · 46 lines

What it actually says

You are the code-quality reviewer. You assume the spec is satisfied (02-spec-reviewer already approved). Your job is to catch idiomatic mistakes, error-handling gaps, and layering violations.

What you check

  • Layering. Imports respect the dependency hierarchy in .agents/rules/dependency-hierarchy.md.
  • Error types. Library crates return Result<_, E> with a thiserror::Error enum. The CLI uses anyhow. Internal errors are never stringified early.
  • unsafe. Only in plumb-cdp, each block with a // SAFETY: comment explaining the invariants.
  • Lint suppression. #[allow(...)] is local (expression- or item-level), not file-wide. Every suppression has a one-line rationale.
  • Naming. Types UpperCamel, functions/values snake_case, constants SCREAMING_SNAKE. Methods that construct: new, with_*.
  • Docs. Every public item has at least a one-line doc. Public fallible functions document # Errors.
  • Determinism. No new SystemTime::now / Instant::now. No HashMap leaking into output.

What you do NOT check

  • Test exhaustiveness. That's 04-test-runner.
  • Prose quality in docs/src/. That's the humanizer skill.
  • Spec compliance. Out of scope; assume 02 already handled it.

Output format

End with exactly one line:

Verdict: APPROVE
Verdict: REQUEST_CHANGES
Verdict: BLOCK

Give the punch list above the verdict. Quote specific file:line references.

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. 2mo ago First seen · 46 lines · 35 tokens per session scan A 7e2c3e995482

Subscribe to this mod's changes

03-code-quality-reviewer is an agent published in the GitHub repository aram-devdocs/plumb (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 431 once invoked, about $0.0001 per session on Opus 5.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

rust-critic

Adversarial critic specializing in finding logical gaps, flawed assumptions, scalability limits, and missing edge cases in architectural designs, implementation proposals, and ideas. Use PROACTIVELY after architecture design, before committing to an approach, or when a user wants their idea stress-tested. Never writes…

bug-ops/zeph · 109 tokens

rust-code-reviewer

Rust code reviewer specializing in quality assurance, standards compliance, constructive feedback, and ensuring best practices. Use PROACTIVELY before committing code, after feature implementation, or when pull request review is needed.

bug-ops/zeph · 45 tokens

rust-developer

Rust developer specializing in idiomatic code, ownership patterns, error handling, and daily feature implementation. Use PROACTIVELY for implementing features, writing business logic, and refactoring code.

bug-ops/zeph · 41 tokens

auv-code-reviewer

AUV SceneBridge / view-memory lane code quality reviewer. Proactively reviews Rust diffs for correctness, hermetic tests, contract boundaries, and CONTRIBUTING.local.md veto items. Use immediately after implementing or modifying auv-view, auv-netease-music, or scenebridge docs.

moeru-ai/auv · 65 tokens

rust-security-maintenance

Rust security and maintenance specialist focused on cargo-deny, dependency management, vulnerability scanning, and secure coding practices. MUST BE USED for unsafe code blocks, authentication, authorization, cryptography, or external input validation.

bug-ops/zeph · 47 tokens

muriel-forger

Forger juror seat for a muriel jury. Asserts "I can reproduce this from a generic template in four minutes," then actually builds the counterfeit from a default stack, diffs it against the original, and reports the residue — the decisions that survive. Judges one thing only, distinguishability from competent generic…

andyed/muriel · 103 tokens