frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
Skill by Fmarzochi
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/fmarzochi-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: not checked yet.
What's inside
- Skill name
frontend-patterns- Description
- Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
- License
- Apache-2.0
- Instructions
- 644 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Agent Skills spec issues
- body: 644 lines (spec recommends under 500)
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Frontend Development Patterns
Modern frontend patterns for React, Next.js, and performant user interfaces.
## When to Activate
- Building React components (composition, props, rendering)
- Managing state (useState, useReducer, Zustand, Context)
- Implementing data fetching (SWR, React Query, server components)
- Optimizing performance (memoization, virtualization, code splitting)
- Working with forms (validation, controlled inputs, Zod schemas)
- Handling client-side routing and navigation
- Building accessible, responsive UI patterns
## Privacy and Data Boundaries
Frontend examples should use synthetic or domain-generic data. Do not collect, log, persist, or display credentials, access tokens, SSNs, health data, payment details, private emails, phone numbers, or other sensitive personal data unless the user explicitly requests a scoped implementation with appropriate validation, redaction, and access controls.
Avoid adding analytics, tracking pixels, third-party scripts, or external data sinks without explicit approval. When handling user data, prefer least-privilege APIs, client-side redaction before logging, and server-side validation for every boundary.
## Component Patterns
### Composition Over Inheritance
```typescript
// PASS: 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))From Fmarzochi/EGC, Apache-2.0.
More from Fmarzochi/EGC
- 0.668score
dmux-workflows
Fmarzochi
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillAFreshness: A★ 67Claude Code +9 - 0.668score
product-capability
Fmarzochi
Translate PRD intent, roadmap asks, or product discussions into an implementation-ready capability plan that exposes constraints, invariants, interfaces, and…
SkillAFreshness: A★ 67Claude Code +9 - 0.662score
egc
Fmarzochi
Development conventions and patterns for EGC - Extended Global Context.
SkillAFreshness: A★ 67Claude Code +9 - 0.662score
eval-harness
Fmarzochi
Formal evaluation framework for AI coding sessions implementing eval-driven development (EDD) principles
SkillAFreshness: A★ 67Claude Code +9 - 0.659score
verification-loop
Fmarzochi
A comprehensive verification system for AI coding sessions.
SkillAFreshness: A★ 67Claude Code +9 - 0.628score
agent-sort
Fmarzochi
Build an evidence-backed EGC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using…
SkillBFreshness: B★ 67Claude Code +9 - 0.603score
article-writing
Fmarzochi
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand…
SkillBFreshness: B★ 67Claude Code +9 - 0.591score
backend-patterns
Fmarzochi
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
SkillBFreshness: B★ 67Claude Code +9 - 0.343score
mcp-server-patterns
Fmarzochi
No description from the publisher yet.
SkillBFreshness: B★ 67Claude Code +9 - 0.343score
nextjs-turbopack
Fmarzochi
No description from the publisher yet.
SkillBFreshness: B★ 67Claude Code +9
Signals
- Stars
- 67
- Forks
- 49
- Open issues
- 0
- Last commit (this folder)
- May 16, 2026 (5 months ago)
- Last release
- Sep 16, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Fmarzochi/EGC
- Website
- fmarzochi.github.io/EGCSite/
- 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.376score
frontend-patterns
agent-skills-hub
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
SkillDFreshness: D★ 123Claude 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 Fmarzochi
- 0.668score
dmux-workflows
Fmarzochi
Multi-agent orchestration using dmux (tmux pane manager for AI agents).
SkillAFreshness: A★ 67Claude Code +9 - 0.668score
product-capability
Fmarzochi
Translate PRD intent, roadmap asks, or product discussions into an implementation-ready capability plan that exposes constraints, invariants, interfaces, and…
SkillAFreshness: A★ 67Claude Code +9 - 0.662score
egc
Fmarzochi
Development conventions and patterns for EGC - Extended Global Context.
SkillAFreshness: A★ 67Claude Code +9 - 0.662score
eval-harness
Fmarzochi
Formal evaluation framework for AI coding sessions implementing eval-driven development (EDD) principles
SkillAFreshness: A★ 67Claude Code +9 - 0.659score
verification-loop
Fmarzochi
A comprehensive verification system for AI coding sessions.
SkillAFreshness: A★ 67Claude Code +9 - 0.628score
agent-sort
Fmarzochi
Build an evidence-backed EGC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using…
SkillBFreshness: B★ 67Claude Code +9
Cite this page
frontend-patterns skill. Agent Mart. https://agentmart.dev/skills/fmarzochi-frontend-patterns (last updated 2026-10-24)