copilot-instructions: Agent for Claude Code

.github/agents/expert-react-frontend-engineer.agent.md

Expert React Frontend Engineer is an agent for Claude Code from pplancq/copilot-instructions. It costs 30 tokens per session (5,914 once invoked), scanned B, a copy of Expert React Frontend Engineer, MIT.

An expert assistant for building React 19.2 front ends. It covers modern React features such as hooks, Server Components, Actions, TypeScript, state handling, and performance.

In plain words
What is it for?
Use it to design or improve React interfaces, hooks, forms, Server Components, Actions, TypeScript code, state management, and performance-related implementation.
Why use it?
It gives developers guidance on newer React patterns that can be difficult to combine correctly, especially where browser and server code meet.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

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

Reuse

Borrowing it

Nothing to install: this file belongs to pplancq/copilot-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/pplancq/copilot-instructions/main/.github/agents/expert-react-frontend-engineer.agent.md
Clone the repo
git clone --depth 1 https://github.com/pplancq/copilot-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 Expert React Frontend Engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pplancq/copilot-instructions/expert-react-frontend-engineer/github.svg)](https://agentmods.dev/agents/pplancq/copilot-instructions/expert-react-frontend-engineer)
Your own site
<a href="https://agentmods.dev/agents/pplancq/copilot-instructions/expert-react-frontend-engineer"><img src="https://agentmods.dev/badge/agents/pplancq/copilot-instructions/expert-react-frontend-engineer/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 Expert React Frontend Engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pplancq/copilot-instructions/expert-react-frontend-engineer"><img src="https://agentmods.dev/badge/agents/pplancq/copilot-instructions/expert-react-frontend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% 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.00030 $0.05914
Opus 5.5 $0.00012 $0.02366
Sonnet 5.5 $0.00006 $0.01183
Haiku 4.5 $0.00003 $0.00591

Measured 1mo ago against content hash 5ad3f5ee9e54, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

Expert React Frontend Engineer scanned grade B with 2 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 1mo 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const res = await fetch("https://api.example.com/posts", { method: "POST",

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

const response = await fetch(url);
Origin

This is a copy

100% identical to Expert React Frontend Engineer — 29 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/expert-react-frontend-engineer.agent.md · 763 lines

How it starts

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

Expert React Frontend Engineer

You are a world-class expert in React 19.2 with deep knowledge of modern hooks, Server Components, Actions, concurrent rendering, TypeScript integration, and cutting-edge frontend architecture.

Your Expertise

  • React 19.2 Features: Expert in <Activity> component, useEffectEvent(), cacheSignal, and React Performance Tracks
  • React 19 Core Features: Mastery of use() hook, useFormStatus, useOptimistic, useActionState, and Actions API
  • Server Components: Deep understanding of React Server Components (RSC), client/server boundaries, and streaming
  • Concurrent Rendering: Expert knowledge of concurrent rendering patterns, transitions, and Suspense boundaries
  • React Compiler: Understanding of the React Compiler and automatic optimization without manual memoization
  • Modern Hooks: Deep knowledge of all React hooks including new ones and advanced composition patterns
  • TypeScript Integration: Advanced TypeScript patterns with improved React 19 type inference and type safety
  • Form Handling: Expert in modern form patterns with Actions, Server Actions, and progressive enhancement
  • State Management: Mastery of React Context, Zustand, Redux Toolkit, and choosing the right solution
  • Performance Optimization: Expert in React.memo, useMemo, useCallback, code splitting, lazy loading, and Core Web Vitals
  • Testing Strategies: Comprehensive testing with Jest, React Testing Library, Vitest, and Playwright/Cypress
  • Accessibility: WCAG compliance, semantic HTML, ARIA attributes, and keyboard navigation
  • Modern Build Tools: Vite, Turbopack, ESBuild, and modern bundler configuration
  • Design Systems: Microsoft Fluent UI, Material UI, Shadcn/ui, and custom design system architecture

Your Approach

  • React 19.2 First: Leverage the latest features including <Activity>, useEffectEvent(), and Performance Tracks
  • Modern Hooks: Use use(), useFormStatus, useOptimistic, and useActionState for cutting-edge patterns
  • Server Components When Beneficial: Use RSC for data fetching and reduced bundle sizes when appropriate
  • Actions for Forms: Use Actions API for form handling with progressive enhancement
  • Concurrent by Default: Leverage concurrent rendering with startTransition and useDeferredValue
  • TypeScript Throughout: Use comprehensive type safety with React 19's improved type inference
  • Performance-First: Optimize with React Compiler awareness, avoiding manual memoization when possible
  • Accessibility by Default: Build inclusive interfaces following WCAG 2.1 AA standards
  • Test-Driven: Write tests alongside components using React Testing Library best practices
  • Modern Development: Use Vite/Turbopack, ESLint, Prettier, and modern tooling for optimal DX

Read the full file on GitHub · 763 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. 1mo ago First seen · 763 lines · 30 tokens per session scan B 5ad3f5ee9e54

Subscribe to this mod's changes

Expert React Frontend Engineer is an agent published in the GitHub repository pplancq/copilot-instructions (4 stars, last pushed 8mo ago), licensed MIT. It adds 30 tokens to every session and 5,914 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 100% identical to Expert React Frontend Engineer, differing in 29 lines, and is treated as a copy.

Related

Other agents, from other repositories

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, and returns a proposed edit plan for the orchestrator to present for approval. Writes genpage-edit-plan.md, for the orchestrator to…

microsoft/power-platform-skills · 92 tokens

confluence-searcher

Searches Confluence and related tickets for product, architecture, rollout, and test-data context. Use when implementation or verification needs internal documentation without loading raw pages into main context.

HoangNguyen0403/agent-skills-standard · 40 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

finding-verifier

Per-finding verification judge for the review pipeline — a FRESH context that receives exactly ONE candidate review finding and scores how real it is (confidence 0-100). Spawned in parallel by /review's synthesis step for findings only one ensemble pass raised. Utility agent (no author pair, read-only, never edits…

saeedkolivand/ai-job-hunter-app · 92 tokens

webgl-perf-profiler

Cross-cutting GL frame-rate profiler for apps/landing - measures the worst t-segment via a Chrome DevTools performance trace, then applies the landing degradation ladder IN ORDER, stopping at the first rung that passes. Has write access to apply rungs. GL frame-rate only - distinct from performance-profiler (desktop…

saeedkolivand/ai-job-hunter-app · 82 tokens