johnku2011/boilerplates-with-ai-skills/react-native-development

Claude Code and agent skill by johnku2011/boilerplates-with-ai-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building screens, navigation, styling, or platform behavior in this Expo React Native app, to follow mobile-first conventions and keep logic testable.

Install

npx vskill@latest install johnku2011/boilerplates-with-ai-skills/react-native-development

SKILL.md

The same SKILL.md was published earlier as johnku2011/boilerplates-with-ai-skills/react-native-development.

React Native Development (Expo)

Overview

Build mobile UI with Expo and React Native. Keep screens in components; extract testable logic into pure functions under src/.

Process

  1. Prefer React Native core components and StyleSheet.create before adding UI

libraries.

  1. Keep App.tsx (or future screens) focused on layout and wiring; move

non-trivial logic to pure helpers you can test with npm test.

  1. Handle platform differences explicitly (Platform.OS, platform-specific

files) instead of guessing runtime behavior.

  1. Respect safe areas and accessibility: meaningful labels, tappable targets,

sufficient contrast.

  1. Verify with npm run typecheck and npm test before claiming completion.

Structure

  • Screens under app/ or src/screens/ (follow existing project layout).
  • Shared UI in small components; no mega-files.
  • Navigation: use Expo Router conventions if added later; document stack changes.

Testing Strategy

  • Unit tests for pure functions (formatting, validation, reducers) — required.
  • Component tests when logic is intertwined with rendering — optional in this

starter; prefer extracting logic first.

  • Device/simulator for layout, gestures, and platform-specific UI — manual

smoke test before release.

Guidelines

  • Do not block the JS thread with heavy sync work; defer or chunk large tasks.
  • Read secrets from environment at build time via Expo config — never hardcode

API keys in source.

  • Adding native modules may require an Expo config plugin and a dev client build;

document that before adding dependencies.

  • Test on at least one target (iOS simulator, Android emulator, or web) for UI

changes; logic-only changes can rely on npm test.

  • Use project-security checks for auth tokens, deep links, and WebViews.

Anti-patterns

  • Copy-pasting web React patterns that assume DOM APIs.
  • Storing refresh tokens in AsyncStorage without encryption requirements documented.
  • Skipping tests because "it's just UI" while logic lives in the component.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
240
Repository forks
24
7-day trend score
27

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/johnku2011/boilerplates-with-ai-skills/react-native-development/badge)](https://verified-skill.com/skills/johnku2011/boilerplates-with-ai-skills/react-native-development)

Something wrong with this skill or its page? Tell us.