frontend-patterns
SolidLoad when a task needs React or Next.js frontend logic, component patterns, state, forms, routing, accessibility, or responsive behavior; use frontend-design for visual direction.
Web & Frontend 84 stars
0 forks Updated 4 days ago
Install
Quality Score: 78/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# 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}`}>{...
Details
- Author
- JasonxzWen
- Repository
- JasonxzWen/harness-hub
- Created
- 4 months ago
- Last Updated
- 4 days ago
- Language
- JavaScript
- License
- None
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Web & Frontend Featured
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
233,821 Updated today
affaan-m Web & Frontend Solid
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
0 Updated 5 days ago
lhbsaa Web & Frontend Solid
frontend-patterns
Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices.
159 Updated 1 weeks ago
arabicapp