React & Frontend Engineering

React & Frontend Engineering is a skill for Claude Code, Codex from GuitarAlchemist/ga. It costs 30 tokens per session (897 once invoked), scanned A, original, MIT.

A set of coding rules for building the Guitar Alchemist frontend with React, TypeScript, user-interface components, and 3D visuals.

In plain words
What is it for?
Use it when creating or changing React components, hooks, application state, user interfaces, or Three.js-based visualisations in the project.
Why use it?
It keeps frontend code organised and consistent, including how components, state, side effects, and tests should be written.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating or changing React components, hooks, application state, user interfaces, or Three.js-based visualisations in the project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/guitaralchemist/ga/react-frontend-engineering
Install

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.

Any agent
npx skills add GuitarAlchemist/ga --skill react-frontend-engineering
Clone the repo
git clone --depth 1 https://github.com/GuitarAlchemist/ga

Made for: Claude Code, Codex.

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 React & Frontend Engineering

README.md
[![agentmods](https://agentmods.dev/badge/skills/guitaralchemist/ga/react-frontend-engineering/github.svg)](https://agentmods.dev/skills/guitaralchemist/ga/react-frontend-engineering)
Your own site
<a href="https://agentmods.dev/skills/guitaralchemist/ga/react-frontend-engineering"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/react-frontend-engineering/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 React & Frontend Engineering

Your own site · 80×15
<a href="https://agentmods.dev/skills/guitaralchemist/ga/react-frontend-engineering"><img src="https://agentmods.dev/badge/skills/guitaralchemist/ga/react-frontend-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 897 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.00030 $0.00897
Opus 5.5 $0.00012 $0.00359
Sonnet 5.5 $0.00006 $0.00179
Haiku 4.5 $0.00003 $0.00090

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

Security

Grade A, and why

React & Frontend Engineering 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 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.

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.

.agent/skills/react-frontend-engineering/SKILL.md · 89 lines

How it starts

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

React & Frontend Engineering Standards

This skill governs development within ReactComponents/ and the ga-client application. It standardizes the usage of React, TypeScript, Material UI, and React Three Fiber.

1. Technology Stack Compliance

  • Framework: React 18+ (Functional Components only).
  • Language: TypeScript 5.0+ (Strict mode).
  • Build System: Vite.
  • UI Library: Material UI (MUI) v5.
  • 3D Visualization: React Three Fiber (R3F) / Three.js.
  • State Management: React Context or Zustand (Avoid Redux unless necessary).
  • Testing: Playwright (E2E/UI).

2. Component Architecture

2.1 File Structure

  • Paths: src/components/<Feature>/<ComponentName>.tsx
  • Exports: Use named exports. export const MyComponent = ...
  • Props Interface: Define props interface immediately above the component.
// DO:
interface FretboardProps {
    tuning: number[];
    showNotes: boolean;
}

export const Fretboard: React.FC<FretboardProps> = ({ tuning, showNotes }) => { ... };

2.2 Hooks & Logic

  • Custom Hooks: Extract complex logic into src/hooks/use<Feature>.ts.
  • Side Effects: Isolate useEffect calls. Avoid deep dependency chains.
  • Memoization: Use useMemo for expensive calculations (e.g., generating fretboard geometry or theory analysis).

3. 3D & Visualization (React Three Fiber)

3.1 Separation of Concerns

  • Scene Graph: Declarative R3F components for structural objects.
  • Animation: Use useFrame for per-frame updates. Never put state updates or heavy logic inside useFrame.
  • References: Use useRef to manipulate Three.js objects directly for performance (avoiding React re-renders for simple transforms).
// DO:
const ref = useRef<THREE.Mesh>(null);
useFrame(() => {
    if (ref.current) ref.current.rotation.x += 0.01;
});

3.2 Performance

  • Instancing: Use <InstancedMesh> for repetitive elements like frets or markers.
  • Geometry/Materials: Reuse geometries and materials globally or memoize them.

Read the full file on GitHub · 89 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 · 89 lines · 30 tokens per session scan A 0263be0bc1b6

Subscribe to this mod's changes

React & Frontend Engineering is a skill published in the GitHub repository GuitarAlchemist/ga (2 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 897 once invoked, about $0.0001 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-08-31.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

fuzzy-ranking

Rank fuzzy matches with rankItem, filter with RankingInfo.passed, compare saved ranking metadata with compareItems, and configure rankings, thresholds, accessors, min/max bounds, or diacritics. Load for @tanstack/match-sorter-utils itself or fuzzy Table filterMeta wiring.

TanStack/table · 62 tokens

r3f-best-practices

React Three Fiber (R3F) and Poimandres ecosystem best practices. Use when writing, reviewing, or optimizing R3F code. Triggers on tasks involving @react-three/fiber, @react-three/drei, zustand, @react-three/postprocessing, @react-three/rapier, or leva.

zebbern/claude-code-guide · 74 tokens

git-safety

Git safety rules. INVOKE WHEN: git push, force push, git reset, git clean, destructive git, push force, reset hard. NEVER force push or do destructive git operations.

tamagui/tamagui · 0 tokens

remotion-best-practices

Best practices and domain knowledge for building videos programmatically with Remotion (videos in React/TypeScript, rendered to MP4). Use whenever writing or editing Remotion code — scaffolding a video project, animating with interpolate/spring over useCurrentFrame(), sequencing scenes and transitions…

guanyang/open-agent-hub · 116 tokens