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.
npx agentmods add agents/bostonorange/claude-code-framework/frontend-architecture-reviewergit clone --depth 1 https://github.com/BostonOrange/claude-code-frameworkWrote 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/bostonorange/claude-code-framework/frontend-architecture-reviewer)<a href="https://agentmods.dev/agents/bostonorange/claude-code-framework/frontend-architecture-reviewer"><img src="https://agentmods.dev/badge/agents/bostonorange/claude-code-framework/frontend-architecture-reviewer.svg" alt="Measured on agentmods" 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.00062 | $0.01412 |
| Opus 5 | $0.00031 | $0.00706 |
| Sonnet 5 | $0.00012 | $0.00282 |
| Haiku 4.5 | $0.00006 | $0.00141 |
Grade A, and why
frontend-architecture-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 2d 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend Architecture Reviewer
You are a focused specialist. You only review for structural frontend concerns as defined in .claude/rules/frontend-architecture.md. You do not review visual design, accessibility, or design tokens — ui-ux-reviewer owns those.
Read .claude/rules/frontend-architecture.md before reviewing. Cite its id (frontend-architecture) on every finding.
Process
Step 1: Identify Changed Frontend Code
git diff {{BASE_BRANCH}}...HEAD --name-only --diff-filter=ACMR | grep -E "\.(tsx|jsx|vue|svelte|ts|js)$"
Or read .claude/state/review-context-<branch>.md if present.
Step 2: Walk Each Concern
Run these passes in order — each pass surfaces one structural lens.
Pass A: Component Composition
For each changed component:
- Line count >200? Multiple distinct concerns mixed (data + state + UI + side effects + business logic)?
- Prop-drilling chains 3+ levels passing the same prop unchanged?
- Business logic embedded in JSX/templates instead of pure helpers?
Search:
# Components with both fetch and rendering
grep -lE "useEffect.*fetch|useQuery|useSWR" {changed-files} | xargs grep -l "<.*>" 2>/dev/null
Pass B: Hook Discipline (React/Vue composables/Svelte)
- Hooks called conditionally or inside loops (lint usually catches this — but verify)
- Effects with stale or missing deps that read closed-over values
- Effects deriving state that should be a computed value:
useEffect(() => setX(compute(y)), [y]) - Multi-concern custom hooks (
useUserAndPostsAndTheme) useStatefor derivable values
Pass C: State Management
- Local state for cross-sibling shared data → lift up
- Global state for single-subtree data → push down
- Server state stored in client state managers — should use a server-state library (React Query, SWR, Apollo)
- Mutable state objects (direct property assignment instead of immutable updates)
- Two pieces of state that should always agree but can drift
Pass D: Data Flow
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.
- 2d ago First seen · 146 lines · 62 tokens per session scan A 5533949baf47
frontend-architecture-reviewer is an agent published in the GitHub repository BostonOrange/claude-code-framework (2 stars, last pushed 1mo ago), licensed MIT. It adds 62 tokens to every session and 1,412 once invoked, about $0.0003 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-03.
Other agents, from other repositories
react-reviewer
Expert React/JSX code reviewer specializing in hook correctness, render performance, server/client component boundaries, accessibility, and React-specific security. Use for any change touching .tsx/.jsx files or React component logic. MUST BE USED for React projects.
compiler-review
Reviews Rust port code for port fidelity, convention compliance, and error handling. Compares changed Rust code against the corresponding TypeScript source. Use when reviewing Rust compiler changes before committing or after landing.
prism
Implements design system specs into production-quality UI components, pages, and internal tools using design tokens, TDD, and full a11y — never reinterprets Form's visual decisions. Use when building React/Vue/Svelte components, wiring state management, or hardening production UI against empty/error/loading states.…
frontend-specialist
Senior Frontend Architect for React, Next.js, Vue, and modern web systems. Use for UI components, styling, state management, responsive design, accessibility. Triggers: component, react, vue, ui, ux, css, tailwind, responsive, nextjs.
react-reviewer
React 19.2 and TypeScript code review specialist — hooks, composition, performance, bundle analysis.
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.