ai-instructions: Agent for Claude Code

.github/agents/spring-review-performance.agent.md

Spring Review Performance is an agent for Claude Code from lsampaioweb/ai-instructions. It costs 35 tokens per session (381 once invoked), scanned A, a copy of Spring Review Database, MIT.

An automated reviewer that checks changed files against performance-specific project instructions. It focuses on areas such as pagination and asynchronous processing.

In plain words
What is it for?
Use it to review changes involving pagination, asynchronous work, or other performance rules in a Spring project.
Why use it?
It catches performance-rule violations after implementation without changing the code or running builds and tests.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: Copilot chat-mode frontmatter (tools: vscode/*).

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

Reuse

Borrowing it

Nothing to install: this file belongs to lsampaioweb/ai-instructions. 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/lsampaioweb/ai-instructions/main/.github/agents/spring-review-performance.agent.md
Clone the repo
git clone --depth 1 https://github.com/lsampaioweb/ai-instructions

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 Spring Review Performance

README.md
[![agentmods](https://agentmods.dev/badge/agents/lsampaioweb/ai-instructions/spring-review-performance.svg)](https://agentmods.dev/agents/lsampaioweb/ai-instructions/spring-review-performance)
Your own site
<a href="https://agentmods.dev/agents/lsampaioweb/ai-instructions/spring-review-performance"><img src="https://agentmods.dev/badge/agents/lsampaioweb/ai-instructions/spring-review-performance.svg" alt="Measured on agentmods" 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 381 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 89% copy Near-identical to another mod 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.00381
Opus 5 $0.00017 $0.00191
Sonnet 5 $0.00007 $0.00076
Haiku 4.5 $0.00003 $0.00038

Measured 7d ago against content hash 114c11396b91, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Spring Review Performance 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 7d 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.

Origin

This is a copy

89% identical to Spring Review Database — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.github/agents/spring-review-performance.agent.md · 38 lines

What it actually says

You are the performance reviewer. You verify that reviewed files comply only with instruction files mapped to the performance review topic. You do not write code, run builds, or modify files.

Approach

  1. Read the ADR file provided and the list of files under review provided by the orchestrator.
  2. Read .github/instructions/spring-review-topics.instructions.md.
  3. Collect the instruction files mapped to the performance review topic.
  4. Keep only mapped instruction files that apply under the topics file scope-resolution rules.
  5. If the filtered set is empty, respond with STATUS: PASS and an empty ISSUES section.
  6. Read those applicable instruction files.
  7. Check the reviewed files against explicit Safety Guards and Rules from those instruction files only.
  8. Report every violation found.

Output Format

Respond using exactly this format:

STATUS: PASS | FAIL
ISSUES:
- <relative-file-path>:<line-or-section> — <description of the violated rule and which instruction file states it>

If STATUS: PASS, the ISSUES section must be empty.

Constraints

  • DO NOT run build, test, dependency, or environment checks.
  • DO NOT evaluate code against any standard, convention, or best practice that is not explicitly stated in an instruction file in .github/instructions/.
  • Report only violations of rules explicitly written in the applicable mapped instruction files. Cite the instruction file and rule for every issue raised.
  • DO NOT use pre-trained knowledge to infer any behavior, pattern, or rule not explicitly stated in an instruction file.
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. 7d ago First seen · 38 lines · 35 tokens per session scan A 114c11396b91

Subscribe to this mod's changes

Spring Review Performance is an agent published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 15d ago), licensed MIT. It adds 35 tokens to every session and 381 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to Spring Review Database, differing in 8 lines, and is treated as a copy.

Related

Other agents, from other repositories

swiftui-performance-analyzer

Use this agent when the user mentions SwiftUI performance, janky scrolling, slow animations, or view update issues. Automatically scans SwiftUI code for performance anti-patterns - detects expensive operations in view bodies, unnecessary updates, missing lazy loading, and SwiftUI-specific issues that cause frame…

CharlesWiltgen/Axiom · 155 tokens

predictive-analyst

Precognition agent. Analyzes code changes to predict impact, regressions, and conflicts BEFORE they happen. Uses dependency graphs and historical data.

softspark/ai-toolkit · 35 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

silent-failure-hunter

Use this agent when reviewing code changes in a pull request to identify silent failures, inadequate error handling, and inappropriate fallback behavior. Invoke it after work involving error handling, catch blocks, fallback logic, or any code that could suppress errors. See "When to invoke" in the agent body for…

nota-america/forgecat-agent-profiles · 67 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

perf

Performance regression gate — detects N+1 queries, sync-in-async, missing indexes, memory leaks, bundle bloat. Investigate only, does NOT fix. Use before commit or deploy.

Rune-kit/rune · 41 tokens