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

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.

agentmods
npx agentmods add skills/guitaralchemist/ga/react-frontend-engineering
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00030 $0.00897
Opus 5 $0.00015 $0.00449
Sonnet 5 $0.00006 $0.00179
Haiku 4.5 $0.00003 $0.00090

Measured 3d ago against content hash 0263be0bc1b6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 today), licensed MIT. It adds 30 tokens to every session and 897 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

development

开发语言能力索引。Python、Go、Rust、TypeScript、Java、C++、Shell。当用户提到编程、开发、代码、语言时路由到此。.

fengshao1227/ccg-workflow · 41 tokens

rust-pro

Master modern Rust (2024 edition) with async patterns, advanced type system features, and production-ready systems programming. Expert in the current Rust ecosystem including Tokio, axum, and modern crates. Use PROACTIVELY for Rust development, performance optimization, or systems programming.

vudovn/ag-kit · 58 tokens

ax-python-agent

Use when writing Python code with axllm for agents, child delegation, tools, MCP, citations, persistent playbook learning, stage instructions, runtime state, final typed responses, and direct-respond executor skipping.

ax-llm/ax · 49 tokens

migrate-better-result-3

Migrate a TypeScript codebase from better-result 2.x to 3.0. Use when upgrading better-result across the TaggedError syntax, removed Result serialization helpers, recovery inference, matching, or retry APIs.

dmmulroy/better-result · 52 tokens

mps-aspect-actions

Use when defining or editing MPS node factories (the "actions" aspect) — NodeFactories roots, per-concept NodeFactory setup functions that initialize a freshly created node and optionally copy data from a replaced sampleNode, plus the actions aspect's CopyPasteHandlers and PasteWrappers roots. Reach for this skill…

JetBrains/MPS · 115 tokens

product-marketing

Build product marketing strategy including positioning, messaging, and go-to-market. Use when the user says "positioning", "messaging framework", "go-to-market", "GTM strategy", "product marketing", "competitive positioning", "battlecard", "sales enablement", "launch plan", or asks about how to position or message…

OpenClaudia/openclaudia-skills · 77 tokens