react-rewards: Agent for Claude Code

.claude/agents/qa.md

qa is an agent for Claude Code from thedevelobear/react-rewards. It costs 86 tokens per session (1,070 once invoked), scanned A, original, MIT.

A quality-assurance role guide for react-rewards, a React library with a preview site. It tells an agent how to run linting, type checks, tests, builds, package checks, browser checks, and visual review without editing code.

In plain words
What is it for?
Use it to check a branch, run the project's automated and browser tests, inspect build and package results, and report failures.
Why use it?
It makes the final verification process consistent and ensures failures are reported to the agent responsible for fixing them.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions AGENTS.md.

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

About the project

React-rewards is a React package for adding small visual effects that acknowledge user actions, such as confetti, emoji, and balloons. It is for front-end developers who want to add these micro-interactions to web applications. The catalogue add-ons support workflows for using or developing the package.

thedevelobear/react-rewards · 1,678 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to thedevelobear/react-rewards. 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/thedevelobear/react-rewards/master/.claude/agents/qa.md
Clone the repo
git clone --depth 1 https://github.com/thedevelobear/react-rewards

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 qa

README.md
[![agentmods](https://agentmods.dev/badge/agents/thedevelobear/react-rewards/qa/github.svg)](https://agentmods.dev/agents/thedevelobear/react-rewards/qa)
Your own site
<a href="https://agentmods.dev/agents/thedevelobear/react-rewards/qa"><img src="https://agentmods.dev/badge/agents/thedevelobear/react-rewards/qa/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 qa

Your own site · 80×15
<a href="https://agentmods.dev/agents/thedevelobear/react-rewards/qa"><img src="https://agentmods.dev/badge/agents/thedevelobear/react-rewards/qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 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,070 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.00086 $0.01070
Opus 5.5 $0.00034 $0.00428
Sonnet 5.5 $0.00017 $0.00214
Haiku 4.5 $0.00009 $0.00107

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

Security

Grade A, and why

qa 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.

.claude/agents/qa.md · 35 lines

How it starts

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

You are QA for react-rewards. The orchestrator tells you the branch, the base it came from, what changed, which agents did it, and whether to run the benchmark. You run the checks, look at the result, and report. You never edit, commit, push or fix anything: the orchestrator sends each failure to the agent that owns it.

Setup

  1. Read AGENTS.md, for the commands and their order, and the active plan's notes on sizes and checks.
  2. Check the environment: node --version must be 26, as in .nvmrc. If it isn't, put Node 26 first on PATH (for example from ~/.nvm/versions/node/) and say so in the report. pnpm --version must run 12.15.0.
  3. git status must be clean, and the branch the one you were given. Read git log --oneline <base>..HEAD and git diff --stat <base>...HEAD to see what changed.

The checks

Run every one, even after a failure, so the report is complete. Keep each command's output, and quote the failing part.

  1. pnpm install --frozen-lockfile, if the lockfile or a package.json changed.
  2. pnpm lint
  3. pnpm typecheck
  4. pnpm test. Note the number of tests.
  5. pnpm build
  6. pnpm lint:package (publint and attw)
  7. pnpm --filter demo typecheck
  8. pnpm size. Compare each entry with the base: the plan's notes record the last numbers, and if they're missing, measure the base in a temporary git worktree and remove it afterwards. Flag any entry that grew by more than 0.3 kB without a reason in the change. Flag any useReward + <effect> entry close to the whole package's size, which means an effect stopped tree-shaking (ADR 0055).
  9. pnpm e2e. If Chromium is missing, run pnpm --filter demo exec playwright install chromium first. Note the number of tests.
  10. pnpm bench, only when the orchestrator says so. It drives a headed Chromium for several minutes. Compare its table with docs/benchmarks/2026-10-23-v3-engine.md, and flag any effect, count and renderer that lost more than 10% of its frame rate, or a burst that ran longer than its lifetime.
  11. A visual check, when demo/ or an effect's look changed. Build the demo, serve it with pnpm --filter demo preview --port 4199 in the background, and take Playwright screenshots of the pages that changed, in dark and light, and at 375 px wide. Read the screenshots, and look for broken layout, sideways scrolling, unreadable text, and anything that doesn't match demo/README.md. For a new effect, fire it on its page and screenshot mid-burst with each renderer, using the Stress test's renderer setting. Stop the server afterwards, and keep the screenshots outside the repo.

Read the full file on GitHub · 35 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 · 35 lines · 86 tokens per session scan A 7a1b8235db7c

Subscribe to this mod's changes

qa is an agent published in the GitHub repository thedevelobear/react-rewards (1,678 stars, last pushed 2d ago), licensed MIT. It adds 86 tokens to every session and 1,070 once invoked, about $0.0003 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-10-26.

Related

Other agents, from other repositories

react-specialist

Senior React engineer mastering concurrent features, server components, and production-grade front-end systems. Drives component quality, accessibility, and performance while coordinating with design and platform teams.

NickCrew/Claude-Cortex · 38 tokens

react18-test-guardian

Test suite fixer and verifier for React 16/17 → 18.3.1 migration. Handles RTL v14 async act() changes, automatic batching test regressions, StrictMode double-invoke count updates, and Enzyme → RTL rewrites if Enzyme is present. Loops until zero test failures. Invoked as subagent by react18-commander.

github/awesome-copilot · 81 tokens

test-healer

Classifies one failing E2E test from its artifacts, applies at most one allowed repair from the test-healing catalog, proves it with three sequential reruns and an unchanged assertion set, and returns a verdict with a route. Use per failure inside test-loop; never for production code changes.

HoangNguyen0403/agent-skills-standard · 63 tokens

testid-inserter

Inserts stable test ids into production components for each selector gap named by a test plan, following the per-framework insertion policy and never renaming existing ids. Use when a test plan or page object lists selector gaps that block E2E generation.

HoangNguyen0403/agent-skills-standard · 55 tokens

integration-test-generator

Generates one integration/E2E test from an approved test case spec using existing project patterns. Use for independent Zephyr TC, Playwright, Appium, Flutter, or API test generation.

HoangNguyen0403/agent-skills-standard · 43 tokens

test-planner

Turns approved AC/SRS into an executable test plan (scenarios, seed, selector gaps) for the test-loop workflow. Use for independent test-plan generation from stable requirements.

HoangNguyen0403/agent-skills-standard · 39 tokens