mcpField
R
react-native-elements

react-native-elements

github.com/pproencaDevelopment218254 installsUpdated 11w ago
Repository

About react-native-elements

react-native-elements is a best-practices skill for applications built with React Native Elements. Its 45 prioritized rules cover setup, theming, component use, performance, styling, and events.

Key features

  1. 0145 rules across eight categories
  2. 02ThemeProvider and createTheme guidance
  3. 03Component selection and configuration
  4. 04FlatList performance recommendations
  5. 05Styling and event handling patterns

Use cases

  1. 01Setting up themes in a new application
  2. 02Building lists and forms with RNE components
  3. 03Reviewing FlatList performance and rendering
  4. 04Applying theme-aware styles and callbacks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/pproenca/dot-skills --skill react-native-elements

After installing, type/react-native-elementsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

metadata.json
assets/templates/
_template.md
references/
_sections.md
adv-custom-component.md
adv-image-component.md
adv-makeStyles.md
adv-overlay-modal.md
adv-platform-specific.md
comp-avatar-vs-image.md
comp-button-type.md
comp-icon-source.md
comp-input-over-textinput.md
comp-listitem-over-view.md
comp-searchbar-platform.md
event-avoid-anonymous.md
event-debounce-search.md
event-input-handlers.md
event-listitem-onpress.md
event-usecallback.md
list-getitemlayout.md
list-keyextractor.md
list-memo-items.md
list-removeClipped.md
list-renderitem-callback.md
list-virtualized.md
list-windowsize.md
props-button-color.md
props-disabled-styling.md
props-icon-configuration.md
props-input-validation.md

Details

From the project README

Community React Native Elements Best Practices

Comprehensive best practices guide for React Native Elements applications. Contains 45 rules across 8 categories, prioritized by impact to guide component usage, theming, and performance optimization.

When to Apply

Reference these guidelines when:

  • Setting up React Native Elements in a new project
  • Configuring ThemeProvider and createTheme
  • Building lists with ListItem components
  • Implementing form inputs with Input and SearchBar
  • Optimizing FlatList performance with RNE components
  • Reviewing code using React Native Elements

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Import & SetupCRITICALsetup-
2Theme ArchitectureCRITICALtheme-
3Component SelectionHIGHcomp-
4List PerformanceHIGHlist-
5Props & ConfigurationMEDIUM-HIGHprops-
6Styling PatternsMEDIUMstyle-
7Callbacks & EventsMEDIUMevent-
8Advanced PatternsLOWadv-

Quick Reference

1. Import & Setup (CRITICAL)
2. Theme Architecture (CRITICAL)
3. Component Selection (HIGH)
4. List Performance (HIGH)
5. Props & Configuration (MEDIUM-HIGH)
6. Styling Patterns (MEDIUM)
7. Callbacks & Events (MEDIUM)
8. Advanced Patterns (LOW)

How to Use

Read individual reference files for detailed explanations and code examples:

Reference Files

FileDescription
references/_sections.mdCategory definitions and ordering
assets/templates/_template.mdTemplate for new rules
metadata.jsonVersion and reference information

Comments

Markdown supported