Skip to content
Skills Library
Programming · Planning

react-native-architecture

/react-native-architecture

Structure React Native projects with feature-first organization and separation of concerns. Use when structuring a React Native project or applying clean architecture patterns.

Licence
MIT
Last repository change
22.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 22.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Structure React Native projects with feature-first organization and separation of concerns. Use when structuring a React Native project or applying clean architecture patterns.

Original author description

Structure React Native projects with feature-first organization and separation of concerns. Use when structuring a React Native project or applying clean architecture patterns.

How it works

  1. Priority: P0 (CRITICAL)
  2. Organize by Feature
  3. Anti-Patterns
  4. Navigation Strategy
  5. Verification Checklist (Mandatory)
  6. References
Original SKILL.md headings · 40 lines, 220 words
SKILL.md preview
---
name: react-native-architecture
description: Structure React Native projects with feature-first organization and separation of concerns. Use when structuring a React Native project or applying clean architecture patterns.
metadata:
  triggers:
    files:
    - 'src/**/*.tsx'
    - 'src/**/*.ts'
    - 'app.json'
    - 'StyleSheet.create'
    keywords:
    - feature
    - module
    - directory structure
    - separation of concerns
    - Expo
    - React Navigation
    - react-native
    - mobile architecture
---
# React Native Architecture

## **Priority: P0 (CRITICAL)**


## Organize by Feature

- **Feature-First**: Organize by feature/module, not by type.
- **Colocation**: Keep related files together (screens, components, hooks within feature).
- **Separation**: UI (screens/components) separate from logic (hooks/services).

See [folder structure reference](references/folder-structure.md) for full directory tree and path alias configuration.

- **Atomic Components**: Reusable components in `/components`. Feature-specific in feature folder.
- **Absolute Imports**: Configure tsconfig.json paths for clean imports.
- **Single Responsibility**: Each file one clear purpose.
- **Expo vs CLI**: Structure works for both. Expo uses `app.json`, CLI uses `index.js`.

## Anti-Patterns

- **No Type-Based Folders**: Avoid `/containers`, `/screens` at root. Use features.
- **No Logic in Screens**: Extract to hooks or services.
- **No Circular Deps**: Features should not import from each other directly.
- **No Deep Nesting**: Max 3 levels deep.

## Navigation Strategy

- **Expo Router**: Use for new projects, web-parity, and file-based routing.
- **React Navigation**: Use for complex deep-linking, legacy apps, or high-customization needs.

## Verification Checklist (Mandatory)

- [ ] **Feature-First**: file inside feature directory?
- [ ] **Colocation**: hooks/services colocated with screens?
- [ ] **Logic-Free Screens**: there any business logic in screen component?
- [ ] **Navigation Choice**: project use navigation strategy defined above?

## References

See [references/folder-structure.md](references/folder-structure.md) for full directory tree, path alias config, and service layer patterns.
Files in this package (3)
  • SKILL.md 2 KB
  • evals/evals.json 3 KB
  • references/folder-structure.md 6 KB

Versions

RepositoryScoreLicence
This page · HoangNguyen0403/agent-skills-standard90MIT
rootcastleco/rei-skills100MIT
j4flmao/agent-skills100MIT
wshobson/agents100MIT
Vinay7766/omni-orchestrator100Apache-2.0
wesleyegberto/software-engineering-skills95MIT
Amey-Thakur/AI-SKILLS90MIT

Database snapshot: 13.11.2026 · package version eab65ccaec9c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90react-architecture
    Use this skill when the user says 'React structure', 'React architecture', 'React folder', 'React component pattern', 'React hooks architecture', 'React clean arch', 'feature-based React', 'React project layout', or when structuring a React application. This skill enforces:…
  • 100react-native-testing
    Test React Native components with Jest and React Native Testing Library. Use when writing Jest or React Native Testing Library tests for React Native components.
  • 100react-native-web-core
    Use when working with React Native Web projects. Provides core concepts, components, and cross-platform patterns for building web applications with React Native.
  • 86react-native
    React Native开发专家助手。当用户需要进行React Native跨平台移动开发、iOS/Android应用、Expo框架或移动端UI开发时调用。
  • 96react-native-skills
    Use when working with react-native-skills tasks or workflows
  • 100architecture
    Review and structure React Native features for folder layout, navigation, deep links, startup order, and safe area. Use when designing a new feature, reviewing structure, or isolating crashes.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.