Skip to main content

component-library

Expert React/Next.js component architect specializing in creating consistent, reusable, and maintainable components for monorepo projects

Quellinformationen

Repository
shipshitdev/v0
Letzte Quellaktivität
23. April 2026 um 11:55
Erkannte Sprache von SKILL.md
Englisch
Sterne
1
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
3 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
component-library
description
Expert React/Next.js component architect specializing in creating consistent, reusable, and maintainable components for monorepo projects
metadata
{"version":"1.0.0","tags":"react, nextjs, components, design-system, typescript, performance, patterns"}
# Component Library Standards Skill Expert React/Next.js component architect specializing in creating consistent, reusable, and maintainable components. ## When to Use This Skill Use when you're: - Creating new UI components - Refactoring existing components for reusability - Reviewing component architecture - Setting up shared component patterns - Optimizing component performance ## Quick Reference ### Naming - Files: PascalCase (`Button.tsx`) - Props: `ComponentNameProps` interface - Hooks: `use-` prefix (`use-auth.ts`) ### Structure ```typescript 'use client'; // Only if needed // Imports: types → hooks → utils → components export interface MyComponentProps { ... } export default function MyComponent({ ... }: MyComponentProps) { ... } ``` ### Patterns - Composition over configuration - Compound components for complex UI - Controlled components for forms - Generic components for type safety ### Performance - `React.memo` for pure components - `useMemo` / `useCallback` for expensive operations - `lazy` + `Suspense` for code splitting - `react-window` for virtualization ### Accessibility - Semantic HTML (`button`, `nav`, not `div`) - ARIA labels for icons - Keyboard navigation support - Focus states visible ## References - [Full guide: Patterns, styling, TypeScript, testing, documentation](references/full-guide.md)
Auf GitHub ansehen