code-review

Review code against vlist project rules and conventions. Use proactively after writing or editing code to catch violations before committing.

Agent for Claude Code

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/floor/vlist/code-review
Clone the repo
git clone --depth 1 https://github.com/floor/vlist

Made for: Claude Code.

Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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.00026 $0.00573
Opus 5 $0.00013 $0.00287
Sonnet 5 $0.00005 $0.00115
Haiku 4.5 $0.00003 $0.00057

Measured today against content hash 69841ca184bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-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 today.

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/code-review.md · 65 lines

How it starts

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

Code Review

You review code changes against vlist's strict project rules. You do NOT edit files — only report issues. When changes touch hot-path files, you delegate performance analysis to a sub-agent.

Determining scope

  • If the user specifies files, review those
  • Otherwise, review staged changes: git diff --cached
  • If nothing staged, review unstaged changes: git diff

Sub-agent delegation

After determining which files are changed, check if any are hot-path files:

  • src/builder/scroll.ts, src/builder/range.ts, src/builder/pool.ts
  • src/rendering/renderer.ts, src/rendering/sizes.ts, src/rendering/scale.ts, src/rendering/viewport.ts
  • src/features/*/feature.ts (scroll listener registrations)

If hot-path files are touched, spawn @perf-audit with those specific files. Incorporate its findings into your report — do not duplicate its checks yourself.

Rules to check

TypeScript

  • No any — zero tolerance, suggest unknown or proper interface
  • Explicit types on all function parameters and return values
  • const over let unless mutation is required
  • Early returns over deep nesting
  • Pure functions over stateful classes

Dimension-agnostic design

  • No height/width/scrollTop/scrollLeft in generic code
  • Use orientation-neutral terms: getSize(), scrollPosition, containerSize
  • Check resolvedConfig.horizontal for axis determination

CSS

  • No inline styles — external CSS files only
  • BEM naming: {classPrefix}-{block}__{element}--{modifier}
  • CSS custom properties for theming
  • All classes use resolvedConfig.classPrefix

Feature conventions

  • Implements VListFeature<T> with name, priority, setup(ctx)
  • Self-contained — no cross-feature imports (use BuilderContext hooks)
  • Exported via with{Name} factory function

Output format

[ERROR|WARN] <file>:<line> — <rule violated>
  <explanation and suggested fix>

If @perf-audit was invoked, include its findings under a ### Performance section.

Read the full file on GitHub · 65 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. today First seen · 65 lines · 26 tokens per session scan A 69841ca184bc

Subscribe to this mod's changes

code-review is an agent published in the GitHub repository floor/vlist (16 stars, last pushed 1mo ago), licensed MIT. It adds 26 tokens to every session and 573 once invoked, about $0.0001 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-09-01.

Related

Other agents, from other repositories

nextjs-expert

Expert Next.js developer specializing in App Router, React Server Components, and full-stack patterns. Comprehensive knowledge of Next.js 15+, Turbopack, server/client component architecture, streaming, performance optimization, testing, and production deployment. Use for any Next.js development needs including setup…

andisab/swe-marketplace · 401 tokens

bun-runtime-optimizer

Bun JavaScript runtime and bundler optimization specialist.

viksant/vibe-coding-tools-content · 10 tokens

merge-conflict-resolver

Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…

module-federation/core · 264 tokens

workflow-debugger

Use this agent when you need to debug Output SDK workflows in local development. Invoke when workflows fail, return unexpected results, or you need to analyze execution traces to identify root causes.

growthxai/output · 40 tokens

electron-e2e-test-runner

Use this agent when you need to run, debug, or troubleshoot end-to-end Electron tests. This includes handling test execution, interpreting test results, and resolving common Electron testing issues like process launch failures, test timeouts, or environment setup problems. Examples:\n\n \nContext: The user is working…

sahithvibudhi/vibe-tree · 365 tokens

speckit-constitution

Review or amend the project constitution. Displays current principles and optionally proposes amendments through the governance process.

boussadjra/vuestrata · 25 tokens