shipshitdev/skills

component-library

Expert React/Next.js component architect specializing in creating consistent, reusable, and maintainable components for monorepo projects. Use when creating or refactoring UI components, reviewing component architecture, or setting up shared component patterns in a monorepo.

First seen Jan 21, 2026

Installation

$ npx skills add shipshitdev/skills --skill component-library

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from shipshitdev/skills · top by installs.

npx skills add shipshitdev/skills

Browse all from shipshitdev/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 35
Default branch master
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
More metadata
version
1.0.0
tags
react, nextjs, components, design-system, typescript, performance, patterns

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,668 B
  • docs SUMMARY.md 300 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 197 installs

SKILL.md

Component Library Standards Skill

When to Use

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

  • [Full guide: Patterns, styling, TypeScript, testing, documentation](references/full-guide.md)