component-library

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

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "component-library" with this command: npx skills add shipshitdev/library/shipshitdev-library-component-library

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

'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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

financial-operations-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

youtube-video-analyst

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

nestjs-testing-expert

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

brand-name-generator

No summary provided by upstream source.

Repository SourceNeeds Review