Typescript Rules
shinpr/claude-code-workflows
React/TypeScript frontend development rules including type safety, component design, state management, and error handling.
Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.
$ npx skills add ChrisWiles/claude-code-showcase --skill react-ui-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ChrisWiles/claude-code-showcase react-ui-patterns --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/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/react-ui-patterns .claude/skills/react-ui-patterns && 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 "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .claude/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patternsType 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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ChrisWiles/claude-code-showcase react-ui-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/react-ui-patterns .agents/skills/react-ui-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .agents/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ChrisWiles/claude-code-showcase react-ui-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/react-ui-patterns .cursor/skills/react-ui-patterns && 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 "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .cursor/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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/ChrisWiles/claude-code-showcase.git --path .claude/skills/react-ui-patterns--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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ChrisWiles/claude-code-showcase react-ui-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/react-ui-patterns .gemini/skills/react-ui-patterns && 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 "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .gemini/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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 ChrisWiles/claude-code-showcase react-ui-patternsInstalls 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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/react-ui-patterns .github/skills/react-ui-patterns && 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 "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .github/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ChrisWiles/claude-code-showcase react-ui-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ChrisWiles/claude-code-showcase.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/react-ui-patterns .opencode/skills/react-ui-patterns && 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 "react-ui-patterns" agent skill from https://github.com/ChrisWiles/claude-code-showcase/tree/main/.claude/skills/react-ui-patterns into .opencode/skills/react-ui-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-ui-patterns", 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.
react-ui-patternsSets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.
The skill starts from five principles: never show stale UI, always surface errors, update optimistically, reveal content progressively and degrade gracefully when only partial data exists. Its golden rule for loading is to show an indicator only when there is no data to display, so a refetch with cached data does not flash a spinner. A decision tree puts the error check first, and a table says to use skeletons for known content shapes such as lists, cards and initial page loads, and spinners for modal actions, button submissions and inline operations.
For errors it sets a hierarchy that runs from inline field-level messages for form validation, through toast notifications for recoverable problems, to an error banner for page-level problems where data is still partly usable. Errors must never be swallowed silently, and an error state component takes the error plus an optional retry callback. Buttons show a loading state and are disabled while an async operation runs, and every list or collection must have an empty state, including contextual ones such as search with no results.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a95518f. 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 UI State Patterns loads about 1.6k tokens when it runs. Until then it costs about 44 tokens; SKILL.md has 238 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.
Without a licence we can't republish the file, so here is its outline and opening line. It has 238 words (~1,617 tokens).
“Show loading indicator ONLY when there's no data to display.”
Just SKILL.md in .claude/skills/react-ui-patterns of ChrisWiles/claude-code-showcase.
Open the folder on GitHubat commit a95518f
We found 23 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 7 other GitHub owners. This page covers the copy in ChrisWiles/claude-code-showcase, which our catalogue first saw on October 7, 2026.
React UI State Patterns 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 UI State Patterns this skillChrisWiles/claude-code-showcase | 6.1k | 7 repos | ~1.6k | Automated safety check: Pass | None | |
| Typescript Rulesshinpr/claude-code-workflows | 690 | — | ~1.8k | Automated safety check: Pass | MIT | |
| React Router Developmentremix-run/react-router | 57k | 1 repos | ~1.5k | Automated safety check: Pass | MIT | |
| React Frontend Development Guidelinesdiet103/claude-code-infrastructure-showcase | 10k | 2 repos | ~2.9k | Automated safety check: Pass | MIT | |
| Moai Ref React Patternsmodu-ai/moai-adk | 1.2k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| @pierre/diffs Code Renderingpierrecomputer/pierre | 6.2k | 2 repos | ~803 | Automated safety check: Pass | Apache-2.0 |
shinpr/claude-code-workflows
React/TypeScript frontend development rules including type safety, component design, state management, and error handling.
remix-run/react-router
Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.
diet103/claude-code-infrastructure-showcase
Guidelines for React 18 and TypeScript apps covering Suspense data fetching, lazy loading, feature folders, MUI v7 styling, TanStack Router and performance.
modu-ai/moai-adk
React/Next.js component design patterns, state management strategies, and project structure reference for frontend development.
pierrecomputer/pierre
Guides an agent through using @pierre/diffs to render syntax-highlighted files and diffs, and to build editing and review surfaces in React or plain JavaScript.
pierrecomputer/pierre
Use when an app uses @pierre/trees to render or control a file tree, including React, vanilla JavaScript, SSR, web components, selection, search, rename, drag…
ChrisWiles/claude-code-showcase
Reference for building UI with a token-based core component library: spacing, color and typography tokens, Box, stacks, Text, Button, Input and Card, plus layout patterns.
ChrisWiles/claude-code-showcase
Jest patterns for React Native style tests: TDD discipline, mock factory functions, module and GraphQL hook mocking, custom render helpers and anti-patterns to avoid.
ChrisWiles/claude-code-showcase
Shows how to build forms with Formik and Yup validation, including conditional rules, field helpers, GraphQL submission, edit forms and multi-step flows.
ChrisWiles/claude-code-showcase
Sets the rules for writing GraphQL queries and mutations in .gql files, running codegen, and using generated Apollo hooks with proper error and loading handling.
ChrisWiles/claude-code-showcase
Applies a four-phase debugging routine that finds the root cause of a bug or failing test before any fix is written.
Works with
Categories
Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists. The skill starts from five principles: never show stale UI, always surface errors, update optimistically, reveal content progressively and degrade gracefully when only partial data exists. Its golden rule for loading is to show an indicator only when there is no data to display, so a refetch with cached data does not flash a spinner.
React UI State Patterns fits situations like: building a data-fetching component that needs loading, error and empty states; fixing a spinner that flashes during a refetch; making sure form submit buttons cannot be double-clicked; reviewing a React screen for swallowed errors.
Run `npx skills add ChrisWiles/claude-code-showcase --skill react-ui-patterns -a claude-code`. Or copy the skill folder (.claude/skills/react-ui-patterns in ChrisWiles/claude-code-showcase) into .claude/skills/react-ui-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ChrisWiles/claude-code-showcase --skill react-ui-patterns -a codex`. Or copy the skill folder (.claude/skills/react-ui-patterns in ChrisWiles/claude-code-showcase) into .agents/skills/react-ui-patterns 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 ChrisWiles/claude-code-showcase --skill react-ui-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-ui-patterns, .gemini/skills/react-ui-patterns, .github/skills/react-ui-patterns and .opencode/skills/react-ui-patterns in your project.
SKILL.md names no scripts, command-line tools or credentials: React UI State Patterns is instructions for the agent only.
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.
No licence was found for React UI State Patterns or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.
About 1.6k tokens (SKILL.md is roughly 6.5k 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 UI State Patterns: Typescript Rules (shinpr/claude-code-workflows, 690 stars), React Router Development (remix-run/react-router, 57k stars), React Frontend Development Guidelines (diet103/claude-code-infrastructure-showcase, 10k stars) and Moai Ref React Patterns (modu-ai/moai-adk, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ChrisWiles (a GitHub user) maintains it in ChrisWiles/claude-code-showcase, which has 6,072 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on January 6, 2026.
Source: ChrisWiles/claude-code-showcase on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.