Frontend Patterns
kurealnum/dotfiles
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
Automatically discover frontend development skills when working with React, Next.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO.
$ npx skills add rand/cc-polymath --skill discover-frontend -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install rand/cc-polymath discover-frontend --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/rand/cc-polymath.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/discover-frontend .claude/skills/discover-frontend && 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 "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .claude/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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/rand/cc-polymath/tree/main/skills/discover-frontendType 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 rand/cc-polymath --skill discover-frontend -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install rand/cc-polymath discover-frontend --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/discover-frontend .agents/skills/discover-frontend && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .agents/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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 rand/cc-polymath --skill discover-frontend -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install rand/cc-polymath discover-frontend --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/discover-frontend .cursor/skills/discover-frontend && 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 "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .cursor/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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/rand/cc-polymath.git --path skills/discover-frontend--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 rand/cc-polymath --skill discover-frontend -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install rand/cc-polymath discover-frontend --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/discover-frontend .gemini/skills/discover-frontend && 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 "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .gemini/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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 rand/cc-polymath discover-frontendInstalls 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 rand/cc-polymath --skill discover-frontend -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/discover-frontend .github/skills/discover-frontend && 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 "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .github/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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 rand/cc-polymath --skill discover-frontend -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install rand/cc-polymath discover-frontend --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/rand/cc-polymath.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/discover-frontend .opencode/skills/discover-frontend && 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 "discover-frontend" agent skill from https://github.com/rand/cc-polymath/tree/main/skills/discover-frontend into .opencode/skills/discover-frontend/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "discover-frontend", 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.
discover-frontendAutomatically discover frontend development skills when working with React, Next.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO.
Discover Frontend is an agent skill from rand/cc-polymath. Automatically discover frontend development skills when working with React, Next.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO. Activates for frontend web development tasks.
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
It sits in Frontend & Design, covering State management, Accessibility and Frontend development. It works with Next.js and React. The repository describes itself as: Claude Code skills and workflows, optimized for context-efficiency and skill quality. Skills ranging from cloud infrastructure to design to advanced maths. The licence is MIT.
11 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit baa2df1. 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.
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.
Designed for Claude Code. Compatible with any agent supporting the Agent Skills format.
From compatibility in the SKILL.md frontmatter.
Discover Frontend loads about 2.4k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 981 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 rand/cc-polymath at commit baa2df1, republished under its MIT licence (© rand). 981 words, ~2,387 tokens.
.claude/skills/discover-frontend/SKILL.md (or your agent's skills folder).Provides automatic access to comprehensive frontend development skills.
This skill auto-activates when you're working with:
The Frontend category contains 16 skills across 2 subcategories (+ elegant-design):
Frontend (11 skills):
TUI (5 skills): See ../tui/INDEX.md
Read ../frontend/INDEX.md Read ../tui/INDEX.md
Sequence: App Router → Components → Data Fetching
Read ../frontend/nextjs-app-router.md # Setup routing, layouts Read ../frontend/react-component-patterns.md # Build components Read ../frontend/react-data-fetching.md # Fetch data
Sequence: Design System → Components → Accessibility
Read ../frontend/react-component-patterns.md Read ../frontend/web-accessibility.md
Sequence: Form Handling → State Management
Read ../frontend/react-form-handling.md # Build forms Read ../frontend/react-state-management.md # Manage form state
Sequence: Performance → Accessibility → SEO
Read ../frontend/frontend-performance.md # Optimize bundle Read ../frontend/web-accessibility.md # Ensure accessibility Read ../frontend/nextjs-seo.md # Optimize SEO
Sequence: Workers → Concurrency → Performance
Read ../frontend/web-workers.md # Offload heavy computation Read ../frontend/browser-concurrency.md # Service Workers, offline support Read ../frontend/frontend-performance.md # Optimize overall performance
React Component Patterns → react-component-patterns.md:
Next.js App Router → nextjs-app-router.md:
State Management → react-state-management.md:
Data Fetching → react-data-fetching.md:
Forms → react-form-handling.md:
Accessibility → web-accessibility.md:
Performance → frontend-performance.md:
SEO → nextjs-seo.md:
Web Workers → web-workers.md:
Browser Concurrency → browser-concurrency.md:
Frontend skills commonly combine with:
API skills (discover-api):
Testing skills (discover-testing):
Design (elegant-design Agent Skill):
Database skills (discover-database):
Deployment skills (discover-deployment):
This gateway skill enables progressive loading:
Total context: 2K + 4K + skill(s) = 6-12K tokens vs 25K+ for entire index.
"Build a Next.js app with App Router": Read ../frontend/nextjs-app-router.md
"Create reusable React components": Read ../frontend/react-component-patterns.md
"Implement global state management": Read ../frontend/react-state-management.md
"Build a form with validation": Read ../frontend/react-form-handling.md
"Optimize my app performance": Read ../frontend/frontend-performance.md
"Make my app accessible": Read ../frontend/web-accessibility.md
"Improve SEO": Read ../frontend/nextjs-seo.md
"Offload heavy computation": Read ../frontend/web-workers.md
"Build a PWA with offline support": Read ../frontend/browser-concurrency.md
Use React (Vite) when:
Use Next.js when:
Use Component State (useState) when:
Use Context when:
Use Zustand when:
Use Redux Toolkit when:
For detailed guidance: Read ../frontend/react-state-management.md
Server Components (Next.js App Router):
Server Actions (Next.js):
SWR:
React Query:
For detailed patterns: Read ../frontend/react-data-fetching.md
Read ../frontend/INDEX.md for full category overviewNext Steps: Run Read ../frontend/INDEX.md to see full category details, or load specific skills using the bash commands above.
© rand, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/discover-frontend of rand/cc-polymath.
Open the folder on GitHubat commit baa2df1
Discover Frontend 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 |
|---|---|---|---|---|---|---|
| Discover Frontend this skillrand/cc-polymath | 181 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Frontend Patternskurealnum/dotfiles | 290 | 19 repos | ~3.7k | Automated safety check: Pass | None | |
| Moai Domain Frontendmodu-ai/moai-adk | 1.2k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| Frontend Developmentavibebuilder/claude-prime | 120 | — | ~1.3k | Automated safety check: Pass | MIT | |
| Senior Frontendborghei/Claude-Skills | 881 | — | ~1.7k | Automated safety check: Pass | MIT | |
| React Code Reviewgiuseppe-trisciuoglio/developer-kit | 355 | — | ~2.6k | Automated safety check: Notes | MIT |
kurealnum/dotfiles
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
modu-ai/moai-adk
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture.
avibebuilder/claude-prime
A skill your agent uses for ANY work involving React, Next.js, TypeScript, or Tailwind in the browser layer.
borghei/Claude-Skills
Frontend development for React, Next.js, TypeScript, and Tailwind CSS.
giuseppe-trisciuoglio/developer-kit
Provides comprehensive code review capability for React applications, validates component architecture, hooks usage, React 19 patterns, state management, performance optimization, accessibility…
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.
rand/cc-polymath
Comprehensive toolkit for detecting and eliminating "AI slop" - generic, low-quality AI-generated patterns in natural language, code, and design.
rand/cc-polymath
Refactor codebases using Design by Typed Holes methodology - iterative, test-driven refactoring with formal hole resolution, constraint propagation, and continuous validation.
rand/cc-polymath
Automatically discover agentic workflow skills when building AI agents, implementing tool use patterns, managing context windows, decomposing complex tasks, or designing multi-step autonomous…
rand/cc-polymath
Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content.
rand/cc-polymath
Automatically discover API design skills when working with REST APIs, GraphQL schemas, API authentication, OAuth, JWT, rate limiting, API versioning, error handling, or endpoint design.
rand/cc-polymath
Automatically discover database skills when working with SQL, PostgreSQL, MongoDB, Redis, database schema design, query optimization, migrations, connection pooling, ORMs, or database selection.
Categories
Automatically discover frontend development skills when working with React, Next.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO. Discover Frontend is an agent skill from rand/cc-polymath.js, UI components, state management, data fetching, forms, accessibility, performance optimization, or SEO.
Discover Frontend fits situations like: tasks that involve State management; tasks that involve Accessibility; tasks that involve Frontend development.
Run `npx skills add rand/cc-polymath --skill discover-frontend -a claude-code`. Or copy the skill folder (skills/discover-frontend in rand/cc-polymath) into .claude/skills/discover-frontend in your project. Claude Code loads it when a task matches its description.
Run `npx skills add rand/cc-polymath --skill discover-frontend -a codex`. Or copy the skill folder (skills/discover-frontend in rand/cc-polymath) into .agents/skills/discover-frontend 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 rand/cc-polymath --skill discover-frontend -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/discover-frontend, .gemini/skills/discover-frontend, .github/skills/discover-frontend and .opencode/skills/discover-frontend in your project.
SKILL.md names no scripts, command-line tools or credentials: Discover Frontend is instructions for the agent only. Compatibility (from SKILL.md): Designed for Claude Code. Compatible with any agent supporting the Agent Skills format..
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.
Discover Frontend is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.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 Discover Frontend: Frontend Patterns (kurealnum/dotfiles, 290 stars), Moai Domain Frontend (modu-ai/moai-adk, 1.2k stars), Frontend Development (avibebuilder/claude-prime, 120 stars) and Senior Frontend (borghei/Claude-Skills, 881 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
rand (a GitHub user) maintains it in rand/cc-polymath, which has 181 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on February 28, 2026.
Source: rand/cc-polymath on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.