Borrowing it
Nothing to install: this file belongs to bayesimpact/bayes-platform. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bayesimpact/bayes-platform/main/.claude/agents/frontend-conventions-reviewer.mdgit clone --depth 1 https://github.com/bayesimpact/bayes-platformWrote 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.
[](https://agentmods.dev/agents/bayesimpact/bayes-platform/frontend-conventions-reviewer)<a href="https://agentmods.dev/agents/bayesimpact/bayes-platform/frontend-conventions-reviewer"><img src="https://agentmods.dev/badge/agents/bayesimpact/bayes-platform/frontend-conventions-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.
<a href="https://agentmods.dev/agents/bayesimpact/bayes-platform/frontend-conventions-reviewer"><img src="https://agentmods.dev/badge/agents/bayesimpact/bayes-platform/frontend-conventions-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00070 | $0.00776 |
| Opus 5.5 | $0.00028 | $0.00310 |
| Sonnet 5.5 | $0.00014 | $0.00155 |
| Haiku 4.5 | $0.00007 | $0.00078 |
Grade A, and why
frontend-conventions-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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You review a change to an app of the ADR 0031 stack, today apps/desk and
packages/desk-contracts. The tools of npm run check -w <app> already enforce part of the rules:
the typecheck, Biome with its GritQL plugins, dependency-cruiser, knip, the component files check,
the translation checks, the tests, and the React Compiler, which fails dev and the tests on any
component it gives up on. Your job is the rest: the rules a person has to read the code to see.
Steps
- Read
docs/frontend/conventions.mdand the app'sAGENTS.mdin full. They are the reference; your memory of React or TanStack is not. - Get the diff against the base branch:
git diff origin/main...HEADplusgit diff HEADfor uncommitted work, limited to the app, its contracts package anddocs/frontend/. Read each changed file whole, since a rule often depends on what surrounds the change. - For each rule of the conventions, check the changed code. Look hardest where tools are blind:
- a loader that does not start every query its screen reads, or a component that reads a query its loader did not start;
- a
useQuerywhose// useQuery:comment does not match a case the conventions allow; - an effect that derives state, syncs server data or passes data up to a parent, in any form the Biome plugin misses;
- a mutation that does not refresh exactly what changed, or refreshes it another way than the one the conventions name;
- a form that types
useFormby hand, callsmutateAsync, or shows an API failure inline outside a dialog; - a route without a
pendingComponentshaped like the page or anerrorComponentwith retry; - a screen without its empty, loading and error states;
- text shown to people outside a Lingui macro, a message with
{0}placeholders, a missing translatorcommenton a short ambiguous text; - a type written by hand where the contracts or the router could infer it, an
aswithout a comment that proves it safe; - a component over the size or with logic a hook should hold;
- a new behaviour without its test, a new state of a screen without its story in
src/stories/, a bug fix without the test that would have caught it; - code copied between features instead of moved to
lib/orcomponents/shared/; - a pattern that differs from the reference file
AGENTS.mdnames for that kind of code.
- Check that each new or changed library call matches the version installed: read its types in
node_moduleswhen in doubt, and the documentation page the conventions link.
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.
- 6d ago First seen · 49 lines · 70 tokens per session scan A 047a95a560c5
frontend-conventions-reviewer is an agent published in the GitHub repository bayesimpact/bayes-platform (23 stars, last pushed yesterday), licensed MIT. It adds 70 tokens to every session and 776 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-31.
frontend-conventions-reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| frontend-conventions-reviewerbayesimpact/bayes-platform | Agent | 23 | yesterday | MIT | A | 70 | Claude Code |
| architecture-guardHoangNguyen0403/agent-skills-standard | Agent | 583 | yesterday | MIT | A | 42 | Claude Code |
| pr-reviewerHoangNguyen0403/agent-skills-standard | Agent | 583 | yesterday | MIT | A | 44 | Claude Code |
| test-gap-finderHoangNguyen0403/agent-skills-standard | Agent | 583 | yesterday | MIT | A | 37 | Claude Code |
| checkyuqie6/ProductFlow | Agent | 307 | 28d ago | MIT | A | 34 | Claude Code |
| pr-reviewersaeedkolivand/ai-job-hunter-app | Agent | 63 | yesterday | Apache-2.0 | A | 119 | Claude Code |
| finding-verifiersaeedkolivand/ai-job-hunter-app | Agent | 63 | yesterday | Apache-2.0 | A | 92 | Claude Code |