React Expert
Jeffallan/claude-skills
Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.
Agent skill
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelines --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .claude/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .claude/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelinesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelines --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .agents/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .agents/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelines --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .cursor/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .cursor/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/diet103/claude-code-infrastructure-showcase.git --path .agents/skills/frontend-dev-guidelines--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelines --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .gemini/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .gemini/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelinesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .github/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .github/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install diet103/claude-code-infrastructure-showcase frontend-dev-guidelines --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/diet103/claude-code-infrastructure-showcase.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/frontend-dev-guidelines .opencode/skills/frontend-dev-guidelines && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "frontend-dev-guidelines" agent skill from https://github.com/diet103/claude-code-infrastructure-showcase/tree/main/.agents/skills/frontend-dev-guidelines into .opencode/skills/frontend-dev-guidelines/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "frontend-dev-guidelines", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
frontend-dev-guidelinesGuidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
The guide is written for React 18, TypeScript, MUI v7 and TanStack Router and Query, and tells the agent to adapt the principles for a different stack. It emphasizes Suspense-based data fetching with useSuspenseQuery, lazy loading heavy components behind a SuspenseLoader, a features directory layout, performance work and TypeScript standards.
A new component checklist asks for the React.FC pattern with typed props, lazy loading for heavy components, import aliases such as @/, ~types, ~components and ~features, inline styles under 100 lines and a separate file above that, useCallback for handlers passed to children, a default export at the bottom, no early returns with loading spinners, and useMuiSnackbar for notifications. A feature checklist sets up a features folder with api, components, hooks, helpers and types subfolders, an API service file, a route and a public index export.
Ten resource files go deeper on common patterns, complete examples, component patterns, data fetching, file organization, loading and error states, performance, routing, styling and TypeScript standards.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 07f75ce. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
React Frontend Development Guidelines loads about 2.9k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 709 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from diet103/claude-code-infrastructure-showcase at commit 07f75ce, republished under its MIT licence (© diet103). 709 words, ~2,858 tokens.
.claude/skills/frontend-dev-guidelines/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Comprehensive guide for modern React development, emphasizing Suspense-based data fetching, lazy loading, proper file organization, and performance optimization.
Written for React 18 + TypeScript + MUI v7 + TanStack Router/Query. Different stack? Adapt the principles - see CLAUDE_INTEGRATION_GUIDE.md in the repo root.
Creating a component? Follow this checklist:
React.FC<Props> pattern with TypeScriptReact.lazy(() => import())<SuspenseLoader> for loading statesuseSuspenseQuery for data fetching@/, ~types, ~components, ~featuresuseCallback for event handlers passed to childrenuseMuiSnackbar for user notificationsCreating a feature? Set up this structure:
features/{feature-name}/ directoryapi/, components/, hooks/, helpers/, types/api/{feature}Api.tstypes/routes/{feature-name}/index.tsxindex.ts| Alias | Resolves To | Example |
|---|---|---|
@/ | src/ | import { apiClient } from '@/lib/apiClient' |
~types | src/types | import type { User } from '~types/user' |
~components | src/components | import { SuspenseLoader } from '~components/SuspenseLoader' |
~features | src/features | import { authApi } from '~features/auth' |
Defined in: vite.config.ts lines 180-185
// React & Lazy Loading
import React, { useState, useCallback, useMemo } from 'react';
const Heavy = React.lazy(() => import('./Heavy'));
// MUI Components
import { Box, Paper, Typography, Button, Grid } from '@mui/material';
import type { SxProps, Theme } from '@mui/material';
// TanStack Query (Suspense)
import { useSuspenseQuery, useQueryClient } from '@tanstack/react-query';
// TanStack Router
import { createFileRoute } from '@tanstack/react-router';
// Project Components
import { SuspenseLoader } from '~components/SuspenseLoader';
// Hooks
import { useAuth } from '@/hooks/useAuth';
import { useMuiSnackbar } from '@/hooks/useMuiSnackbar';
// Types
import type { Post } from '~types/post';Modern React components use:
React.FC<Props> for type safetyReact.lazy() for code splittingSuspenseLoader for loading statesKey Concepts:
📖 Complete Guide: resources/component-patterns.md
PRIMARY PATTERN: useSuspenseQuery
isLoading checksAPI Service Layer:
features/{feature}/api/{feature}Api.tsapiClient axios instance/form/route (NOT /api/form/route)📖 Complete Guide: resources/data-fetching.md
features/ vs components/:
features/: Domain-specific (posts, comments, auth)components/: Truly reusable (SuspenseLoader, CustomAppBar)Feature Subdirectories:
features/
my-feature/
api/ # API service layer
components/ # Feature components
hooks/ # Custom hooks
helpers/ # Utility functions
types/ # TypeScript types📖 Complete Guide: resources/file-organization.md
Inline vs Separate:
const styles: Record<string, SxProps<Theme>>100 lines: Separate
.styles.tsfile
Primary Method:
sx prop for MUI componentsSxProps<Theme>(theme) => theme.palette.primary.mainMUI v7 Grid:
<Grid size={{ xs: 12, md: 6 }}> // ✅ v7 syntax
<Grid xs={12} md={6}> // ❌ Old syntax📖 Complete Guide: resources/styling-guide.md
TanStack Router - Folder-Based:
routes/my-route/index.tsxcreateFileRouteExample:
import { createFileRoute } from '@tanstack/react-router';
import { lazy } from 'react';
const MyPage = lazy(() => import('@/features/my-feature/components/MyPage'));
export const Route = createFileRoute('/my-route/')({
component: MyPage,
loader: () => ({ crumb: 'My Route' }),
});📖 Complete Guide: resources/routing-guide.md
CRITICAL RULE: No Early Returns
// ❌ NEVER - Causes layout shift
if (isLoading) {
return <LoadingSpinner />;
}
// ✅ ALWAYS - Consistent layout
<SuspenseLoader>
<Content />
</SuspenseLoader>Why: Prevents Cumulative Layout Shift (CLS), better UX
Error Handling:
useMuiSnackbar for user feedbackreact-toastifyonError callbacks📖 Complete Guide: resources/loading-and-error-states.md
Optimization Patterns:
useMemo: Expensive computations (filter, sort, map)useCallback: Event handlers passed to childrenReact.memo: Expensive components📖 Complete Guide: resources/performance.md
Standards:
any typeimport type { User } from '~types/user'📖 Complete Guide: resources/typescript-standards.md
Covered Topics:
useAuth hook for current user📖 Complete Guide: resources/common-patterns.md
Full working examples:
📖 Complete Guide: resources/complete-examples.md
| Need to... | Read this resource |
|---|---|
| Create a component | component-patterns.md |
| Fetch data | data-fetching.md |
| Organize files/folders | file-organization.md |
| Style components | styling-guide.md |
| Set up routing | routing-guide.md |
| Handle loading/errors | loading-and-error-states.md |
| Optimize performance | performance.md |
| TypeScript types | typescript-standards.md |
| Forms/Auth/DataGrid | common-patterns.md |
| See full examples | complete-examples.md |
src/
features/
my-feature/
api/
myFeatureApi.ts # API service
components/
MyFeature.tsx # Main component
SubComponent.tsx # Related components
hooks/
useMyFeature.ts # Custom hooks
useSuspenseMyFeature.ts # Suspense hooks
helpers/
myFeatureHelpers.ts # Utilities
types/
index.ts # TypeScript types
index.ts # Public exports
components/
SuspenseLoader/
SuspenseLoader.tsx # Reusable loader
CustomAppBar/
CustomAppBar.tsx # Reusable app bar
routes/
my-route/
index.tsx # Route component
create/
index.tsx # Nested routeimport React, { useState, useCallback } from 'react';
import { Box, Paper } from '@mui/material';
import { useSuspenseQuery } from '@tanstack/react-query';
import { featureApi } from '../api/featureApi';
import type { FeatureData } from '~types/feature';
interface MyComponentProps {
id: number;
onAction?: () => void;
}
export const MyComponent: React.FC<MyComponentProps> = ({ id, onAction }) => {
const [state, setState] = useState<string>('');
const { data } = useSuspenseQuery({
queryKey: ['feature', id],
queryFn: () => featureApi.getFeature(id),
});
const handleAction = useCallback(() => {
setState('updated');
onAction?.();
}, [onAction]);
return (
<Box sx={{ p: 2 }}>
<Paper sx={{ p: 3 }}>
{/* Content */}
</Paper>
</Box>
);
};
export default MyComponent;For complete examples, see resources/complete-examples.md
Skill Status: Modular structure with progressive loading for optimal context management
© diet103, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files in .agents/skills/frontend-dev-guidelines of diet103/claude-code-infrastructure-showcase.
Open the folder on GitHubat commit 07f75ce
We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in diet103/claude-code-infrastructure-showcase, which our catalogue first saw on October 7, 2026.
React Frontend Development Guidelines next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| React Frontend Development Guidelines this skilldiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| React ExpertJeffallan/claude-skills | 12k | — | ~1.4k | Automated safety check: Pass | MIT | |
| React Devdavila7/claude-code-templates | 32k | 2 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Typescript Rulesshinpr/claude-code-workflows | 690 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Senior Frontendalirezarezvani/claude-skills | 28k | 5 repos | ~3.9k | Automated safety check: Pass | MIT | |
| Senior Frontendborghei/Claude-Skills | 874 | — | ~1.7k | Automated safety check: Pass | MIT |
Jeffallan/claude-skills
Builds React 19 components in TypeScript with Server Components, useActionState forms, custom hooks and state libraries, checked with tsc and React Testing Library.
davila7/claude-code-templates
This skill should be used when building React components with TypeScript, typing hooks, handling events, or when React TypeScript, React 19, Server Components are mentioned.
shinpr/claude-code-workflows
React/TypeScript frontend development rules including type safety, component design, state management, and error handling.
alirezarezvani/claude-skills
Frontend development skill for React, Next.js, TypeScript, and Tailwind CSS applications.
borghei/Claude-Skills
Frontend development for React, Next.js, TypeScript, and Tailwind CSS.
wevm/wagmi
Walks through adding a Wagmi feature across its layers: a Viem-based core action, TanStack Query options, and React and Vue bindings.
diet103/claude-code-infrastructure-showcase
A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.
diet103/claude-code-infrastructure-showcase
Sets layered architecture and coding rules for Node.js, Express and TypeScript microservices, covering routes, controllers, services, repositories, Prisma, Sentry and Zod.
diet103/claude-code-infrastructure-showcase
Enforces that every error in a service is captured to Sentry v8, with patterns for controllers, routes, cron jobs and database performance spans instead of console logging alone.
diet103/claude-code-infrastructure-showcase
Run the infrastructure health check and fix anything that fails
Works with
Categories
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance. The guide is written for React 18, TypeScript, MUI v7 and TanStack Router and Query, and tells the agent to adapt the principles for a different stack. It emphasizes Suspense-based data fetching with useSuspenseQuery, lazy loading heavy components behind a SuspenseLoader, a features directory layout, performance work and TypeScript standards.
React Frontend Development Guidelines fits situations like: creating a new React component or page in this stack; setting up a new feature folder with API, hooks and types; fetching data with TanStack Query and Suspense; styling components with MUI v7.
Run `npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a claude-code`. Or copy the skill folder (.agents/skills/frontend-dev-guidelines in diet103/claude-code-infrastructure-showcase) into .claude/skills/frontend-dev-guidelines in your project. Claude Code loads it when a task matches its description.
Run `npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a codex`. Or copy the skill folder (.agents/skills/frontend-dev-guidelines in diet103/claude-code-infrastructure-showcase) into .agents/skills/frontend-dev-guidelines in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add diet103/claude-code-infrastructure-showcase --skill frontend-dev-guidelines -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frontend-dev-guidelines, .gemini/skills/frontend-dev-guidelines, .github/skills/frontend-dev-guidelines and .opencode/skills/frontend-dev-guidelines in your project.
SKILL.md names no scripts, command-line tools or credentials: React Frontend Development Guidelines is instructions for the agent only. Our summary lists: A React 18, TypeScript and MUI v7 project, ideally with TanStack Router and Query.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
React Frontend Development Guidelines is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with React Frontend Development Guidelines: React Expert (Jeffallan/claude-skills, 12k stars), React Dev (davila7/claude-code-templates, 32k stars), Typescript Rules (shinpr/claude-code-workflows, 690 stars) and Senior Frontend (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
diet103 (a GitHub user) maintains it in diet103/claude-code-infrastructure-showcase, which has 10,030 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on July 13, 2026.
Source: diet103/claude-code-infrastructure-showcase on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.