Skip to main content

component-library

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

소스 정보

저장소
shipshitdev/v0
최근 소스 활동
2026년 4월 23일 11:55
감지된 SKILL.md 언어
영어
스타
1
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
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)
GitHub에서 보기