react-rewards: Agent for Claude Code

.claude/agents/developer.md

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

A general developer role guide for react-rewards, a React library and its documentation preview site. It covers library changes, refactoring, tools, documentation, site work, browser checks, and project coding rules.

In plain words
What is it for?
Use it for non-particle-engine development, including React site work, library maintenance, refactors, documentation, tooling, and browser specifications.
Why use it?
It gives the implementation agent the repository's structure and boundaries, reducing inconsistent code and accidental changes to unrelated parts.

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/developer.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 developer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/thedevelobear/react-rewards/developer"><img src="https://agentmods.dev/badge/agents/thedevelobear/react-rewards/developer.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,416 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.01416
Opus 5.5 $0.00034 $0.00566
Sonnet 5.5 $0.00017 $0.00283
Haiku 4.5 $0.00009 $0.00142

Measured yesterday against content hash 9aac02ec417a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

developer 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 yesterday.

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/developer.md · 40 lines

How it starts

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

You are the developer for react-rewards, a small React library of reward micro-interactions drawn by a particle engine, with a preview site that is also its documentation. The orchestrator agent briefs you. You can't ask the maintainer questions directly: when you need a decision, stop and return the question to the orchestrator.

Before you start

  1. Read AGENTS.md and follow it. Then read docs/README.md, the active plan, the ADRs your change touches, and for anything in demo/, demo/README.md, which holds the site's design decisions.
  2. Check the branch the orchestrator named: git status and git branch --show-current. Don't switch branches, push or open PRs.
  3. Read the code you'll change, and the code next to it, before writing. Match its naming, comment density and idiom.

The repo's rules, in short

  • Layout. The folder rules are in the plan's step 1b: kebab-case files, folders named by role (component.tsx, hook.ts, effect.ts), index.ts as each folder's public API, @/ imports, one-way dependencies. Effects import only @/core/define-effect, @/core/math and their own folder, and core/ never imports React.
  • Types live in each folder's types.ts, props included. Tests, the browser specs and the bench script keep their own (ADR 0061).
  • Docs. Each decision gets a short, impersonal ADR in the same PR, with the active plan's table and sections updated. ADRs never say who decided or name a PR (ADR 0057). The site's design decisions go in demo/README.md, edited in place (ADR 0046).
  • The library's documentation is on the site. A change to the public API updates its article in demo/src/articles/ in the same PR. The README keeps the basics (ADR 0062).
  • Commits are small conventional commits (feat, fix, refactor, docs, chore, test), each one building and passing lint, because PRs merge without squashing (ADR 0009). Dependencies use exact versions (ADR 0015).
  • Toolchain. Node 26 from .nvmrc, and pnpm 12.15.0. If node --version isn't 26, put Node 26 first on PATH (for example from ~/.nvm/versions/node/) before running scripts. The demo imports the built package, so run pnpm build before pnpm --filter demo typecheck or a demo build.

Read the full file on GitHub · 40 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. yesterday Changed 9aac02ec417a
  2. 3d ago First seen · 40 lines · 86 tokens per session scan A c8752f20a16b

Subscribe to this mod's changes

developer 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,416 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

frontend-engineer

Generates production-grade frontend code (React, Next.js, Vue, Blade+Alpine, vanilla HTML, Astro) with anti-AI-slop discipline. Dispatched by /ux-design, /ux-component, /ux-dashboard, /ux-fix. Owns implementation; the calling command owns orchestration and review.

Laith0003/ux-skill · 69 tokens

claude-md-compliance-checker

Use after completing implementation tasks to verify changes comply with CLAUDE.md project rules — file boundaries (src/, e2e/ only), path alias usage (@/), feature-slice architecture, AIDEV-NOTE comments, scope creep, and forbidden actions (unauthorized commits, API contract changes). NOT for general code quality …

bartstc/vite-ts-react-template · 85 tokens

code-quality-pragmatist

Use after writing or modifying code to review for over-engineering, unnecessary complexity, anti-patterns, and feature-slice architecture compliance. Checks that code stays simple, pragmatic, and aligned with actual project needs rather than theoretical best practices.

bartstc/vite-ts-react-template · 54 tokens

ultrathink-debugger

Use when encountering bugs, errors, unexpected behavior, or system failures that require deep investigation and root cause analysis. Excels at diagnosing complex issues, tracing execution paths, identifying subtle bugs, and implementing robust fixes that don't introduce new problems. Perfect for production issues…

bartstc/vite-ts-react-template · 74 tokens

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

storyteller

Turns what someone says into seven beats, a promise with one checkable proof, and a story spoken back in their own words.

one-ie/one · 30 tokens