frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
Skill by agent-skills-hub
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/agent-skills-hub-frontend-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/frontend-patterns
What's inside
- Skill name
frontend-patterns- Description
- Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
- License
- MIT
- Instructions
- 627 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- name: "frontend-patterns" does not match folder "cc-skill-frontend-patterns"
- body: 627 lines (spec recommends under 500)
Files (1)
- SKILL.md
SKILL.md (first lines)
# Frontend Development Patterns
Modern frontend patterns for React, Next.js, and performant user interfaces.
## Component Patterns
### Composition Over Inheritance
```typescript
// ✅ GOOD: Component composition
interface CardProps {
children: React.ReactNode
variant?: 'default' | 'outlined'
}
export function Card({ children, variant = 'default' }: CardProps) {
return <div className={`card card-${variant}`}>{children}</div>
}
export function CardHeader({ children }: { children: React.ReactNode }) {
return <div className="card-header">{children}</div>
}
export function CardBody({ children }: { children: React.ReactNode }) {
return <div className="card-body">{children}</div>
}
// Usage
<Card>
<CardHeader>Title</CardHeader>
<CardBody>Content</CardBody>
</Card>
```
### Compound Components
```typescript
interface TabsContextValue {
activeTab: string
setActiveTab: (tab: string) => void
}
const TabsContext = createContext<TabsContextValue | undefined>(undefined)
export function Tabs({ children, defaultTab }: {
children: React.ReactNode
defaultTab: string
}) {
const [activeTab, setActiveTab] = useState(defaultTab)
return (
<TabsContext.Provider value={{ activeTab, setActiveTab }}>
{children}
</TabsContext.Provider>
)
}
export function TabList({ children }: { children: React.ReactNode }) {
return <div className="tab-list">{children}</div>
}
export function Tab({ id, children }: { id: string, children: React.ReactNode }) {
const context = useContext(TabsContext)
if (!context) throw new Error('Tab must be used within Tabs')
return (
<button
className={context.activeTab === id ? 'active' : ''}
onClick={() => context.setActiveTab(id)}
>
{children}
</button>
)
}
// Usage
<Tabs defaultTab="overview">
<TabList>
<Tab id="overview">Overview</Tab>
<Tab id="details">Details</Tab>
</TabList>
</Tabs>
```
### Render Props Pattern
```typescript
interface DataLoaderProps<T> {
url: string
children: (data: T | null, loading: boolean, error: Error | null) => React.ReactNode
}
export function DataLoader<T>({ url, children }: DataLoaderProps<T>) {
const [data, setData] = useState<T | null>(null)
const [loading, setLoading] = useState(true)
const [error, setError] = useState<Error | null>(null)
useEffect(() => {
fetch(url)
.then(res => res.json())
.then(setData)
.catch(setError)
.finally(() => setLoading(false))
}, [url])
return <>{children(data, loading, error)}</>
}
// Usage
<DataLoader<Market[]> url="/api/markets">
{(markets, loading, error) => {
if (loading) return <Spinner />
if (error) return <Error error={error} />
return <MarketList markets={markets!} />
}}
</DataLoader>
```
## Custom Hooks PatternsFrom agent-skills-hub/agent-skills-hub, MIT.
More from agent-skills-hub/agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.572score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillDFreshness: D★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
dotnet-backend-patterns
agent-skills-hub
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
copy-editing
agent-skills-hub
When the user wants to edit, review, or improve existing marketing copy.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
e2e-testing-patterns
agent-skills-hub
Master end-to-end testing with Playwright and Cypress to build reliable test suites that catch bugs, improve confidence, and enable fast deployment.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
ai-product
agent-skills-hub
Every product will be AI-powered.
SkillDFreshness: D★ 123Claude Code +9 - 0.449score
algolia-search
agent-skills-hub
Expert patterns for Algolia search implementation, indexing strategies, React InstantSearch, and relevance tuning Use when: adding search to, algolia…
SkillDFreshness: D★ 123Claude Code +9
Signals
- Stars
- 123
- Forks
- 44
- Open issues
- 6
- Last commit (this folder)
- Feb 10, 2026 (8 months ago)
- Last release
- Mar 2, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Website
- agent-skills-hub.github.io/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.383score
frontend-patterns
myths-labs
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillAFreshness: A★ 36Claude Code +9 - 0.368score
frontend-patterns
Fmarzochi
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillBFreshness: B★ 67Claude Code +9 - 0.340score
frontend-patterns
mturac
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: C★ 83Claude Code +9 - 0.337score
frontend-patterns
ysyecust
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: C★ 59Claude Code +9 - 0.299score
frontend-patterns
ViewWay
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: C★ 3Claude Code +9 - 0.295score
frontend-patterns
Adaptive-Liquidity
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: C★ 2Claude Code +9 - 0.291score
frontend-patterns
marshall0524
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillDFreshness: D★ 41Claude Code +9 - 0.289score
frontend-patterns
SriramGandhiS
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: C★ 1Claude Code +9 - 0.289score
frontend-patterns
fimoklei
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillDFreshness: D★ 42Claude Code +9 - 0.287score
frontend-patterns
Luohaothu
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillDFreshness: D★ 26Claude Code +9 - 0.274score
frontend-patterns
Infopibe
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillDFreshness: D★ 8Claude Code +9 - 0.273score
frontend-patterns
v-swapnil
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillCFreshness: CClaude Code +9
More from agent-skills-hub
- 0.586score
ai-antislop
agent-skills-hub
Anti-slop discipline for AI agent behavior across ALL domains — code, design/UI, security, writing, research, data, creative/media.
SkillAFreshness: A★ 123Claude Code +9 - 0.549score
build-webgl-liquid-glass
agent-skills-hub
Build production-ready GPU liquid-glass surfaces with liquid-gl for React or DOM UIs.
SkillBFreshness: B★ 123Claude Code +9 - 0.549score
build-sdf-liquid-glass
agent-skills-hub
Build lightweight SDF/canvas displacement glass with Vaso.
SkillBFreshness: B★ 123Claude Code +9 - 0.504score
bilig-workpaper
agent-skills-hub
Formula WorkPaper runtime and MCP server for AI agents and Node.js services.
SkillCFreshness: C★ 123Claude Code +9 - 0.453score
churn-prevention
agent-skills-hub
When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies.
SkillDFreshness: D★ 123Claude Code +9 - 0.453score
cold-email
agent-skills-hub
Write B2B cold emails and follow-up sequences that get replies.
SkillDFreshness: D★ 123Claude Code +9
Cite this page
frontend-patterns skill. Agent Mart. https://agentmart.dev/skills/agent-skills-hub-frontend-patterns (last updated 2026-10-24)