react-native-components
/react-native-components
Tworzy komponenty React Native jako komponenty funkcyjne i kompozycje, także przy refaktoryzacji istniejących.
- Autor
- HoangNguyen0403 ↗
- Repozytorium
- agent-skills-standard ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 22.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 22.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Tworzy komponenty React Native jako komponenty funkcyjne i kompozycje, także przy refaktoryzacji istniejących.
Oryginalny opis (EN)
Build modern React Native components using function components and composition. Use when building or refactoring React Native function components and composable UI.
Jak działa
- Priority: P0 (CRITICAL)
- Implementation Guidelines
- Anti-Patterns
- References
- Canonical response anchors
Podgląd SKILL.md
---
name: react-native-components
description: Build modern React Native components using function components and composition. Use when building or refactoring React Native function components and composable UI.
metadata:
triggers:
files:
- '**/*.tsx'
- '**/*.jsx'
keywords:
- component
- props
- children
- composition
- presentational
- container
---
# React Native Components
## **Priority: P0 (CRITICAL)**
## Implementation Guidelines
- **Function Components Only**: Use hooks. No class components.
- **Container/Presentational**: Separate logic (hooks, data fetching) from UI (JSX, styling).
- **Composition**: Use `children` prop. Prefer composition over prop drilling.
- **Props**: TypeScript interfaces. Destructure in params.
- **File Size**: Keep components < 250 lines. Split if larger.
- **One Component Per File**: Named exports for components.
- **Naming**: `PascalCase` for components. `use*` for hooks.
- **Imports**: Group - React → External → Internal → Styles.
- **Platform Components**: Use built-in (`View`, `Text`, `TouchableOpacity`). Avoid DOM (`div`, `span`).
## Anti-Patterns
- **No Classes**: Use hooks instead.
- **No Nested Components**: Define at top level.
- **No Inline Styles**: Use `StyleSheet.create`.
- **No Index Keys**: Use stable IDs.
- **No Deep Nesting**: Max 3 levels.
## References
See [references/patterns.md](references/patterns.md) for Container/Presentational split, HOCs, Render Props, Compound Components, and Slot patterns.
## Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- data fetching
- Additional task-grounded exact anchors: nested component; top level.
Pliki w paczce (3)
- SKILL.md 2 KB
- evals/evals.json 2 KB
- references/patterns.md 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · HoangNguyen0403/agent-skills-standard | 100 | MIT |
| TheBushidoCollective/han | 95 | Apache-2.0 |
Migawka bazy z 13.11.2026 · wersja paczki 04fd36975118 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100react-native-testing
Testuje komponenty React Native z Jest i React Native Testing Library. - 90react-native
Pomaga budować natywne aplikacje mobilne w React Native: komponenty, gesty, animacje i API platformy. - 100react-component-generator
Generuje komponenty React z TypeScript, właściwymi propsami, hookami i dostępnością, także przy refaktoryzacji istniejących komponentów. - 90react-native-core
Opisuje podstawowe komponenty React Native, układ, stylowanie, listy i API platformy przy budowie interfejsów mobilnych. - 100react-native-web-core
Obejmuje podstawy React Native Web: koncepcje, komponenty i wzorce wieloplatformowe przy budowie aplikacji webowych. - 100react-patterns
Podpowiada dobre praktyki React: komponenty funkcyjne, hooki, zarządzanie stanem, wydajność i dostępność przy pisaniu lub przeglądzie kodu.