ryanthedev/react-native-foundations.skill · Archived

coding

React Native coding guidance — consults official docs before writing code and suggests verification after.

First seen Mar 11, 2026

Installation

$ npx skills add ryanthedev/react-native-foundations.skill --skill coding

Summary

  • React Native coding guidance — consults official docs before writing code and suggests verification after.
  • Use when writing components, implementing features, building screens, fixing queries, or adding views.
  • Triggers on "write a component", "implement this feature", "build this screen", "add a view", "React Native code", "fix this query", "use best practices".

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

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 ryanthedev/react-native-foundations.skill.

npx skills add ryanthedev/react-native-foundations.skill

Browse all from ryanthedev/react-native-foundations.skill

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 9
Default branch main
Open issues 0
Status Archived

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob, Skill

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,583 B
  • docs SUMMARY.md 380 B

History

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

SKILL.md

Skill: coding

On load: Read ../../.claude-plugin/plugin.json from this skill's base directory. Display coding v{version} before proceeding.

React Native coding guidance that ensures docs are consulted before writing code and verification is suggested after.


Step 1: Load Docs

Load the docs skill immediately:

Skill(react-native-foundations:docs)

Step 2: Search Docs First

Before writing any code:

  1. Identify which RN APIs and components the task involves
  2. Grep ${CLAUDESKILLDIR}/../../refs/react-native-docs/ for those APIs
  3. Read relevant doc files (max 3 most relevant)
  4. Note platform differences, deprecation warnings, or required props

Step 3: Write Code

  1. Follow patterns from the docs, not from memory or guessing
  2. Use correct prop types and required props
  3. Note platform-specific behavior inline with Platform.OS checks where needed
  4. Follow New Architecture patterns if the project uses new arch (check for Fabric/Turbo Module config)

Step 4: Verify

After implementation, suggest verification:

  • "/react-native-foundations:layout-check to verify visual layout"
  • "/react-native-foundations:a11y-audit to check accessibility"
  • "/react-native-foundations:debug to check for console errors"
  • If errors: "/react-native-foundations:diagnose to diagnose"

Common Gotchas

  • FlatList requires keyExtractor or key prop on items
  • ScrollView inside FlatList causes performance issues
  • Absolute positioning works differently than web CSS
  • StatusBar behavior differs iOS vs Android
  • SafeAreaView only works on iOS (use react-native-safe-area-context for cross-platform)
  • Dimensions API returns points not pixels on iOS (3x on Retina)
  • TextInput onChangeText gives string, onChange gives event object
  • Prefer Pressable over TouchableOpacity (newer, more flexible)
  • flex: 1 in RN is flexGrow: 1, flexShrink: 1, flexBasis: 0 — not the same as CSS
  • overflow defaults to hidden on Android, visible on iOS
  • fetch(fileUri).blob() produces 0-byte blobs on RN — use FormData with { uri, type, name } for file uploads