react-native-platform-integration
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
React Native and Expo native/platform integration guidance for FE Dev. Use when a task touches Expo config, native iOS/Android files, permissions, deep links, push notifications, secure storage, app lifecycle, native modules, build settings, or platform-specific behavior.
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- secrets-config-auditSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 12 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 14
Use this for React Native/Expo work that crosses the JS/native boundary: native modules, permissions, platform files, app config, deep …
- Distinctive: line 27
Check authorization before changing platform capabilities:
- Distinctive: line 29
if the requirement is absent, halt with an OQ instead of silently adding capability.
- Distinctive: line 31
use SRS §3.4.6 keys and existing config loaders.
- Very specific: line 32
keep dev/staging/prod endpoints out of source literals.
- Distinctive: line 34
Keep permission UX complete:
- Distinctive: line 35
update iOS usage descriptions and Android permission declarations.
- Very specific: line 39
use .ios.tsx / .android.tsx, platform adapters, or config modules for real divergence.
- Distinctive: line 40
keep shared UI unaware of native file details.
- Distinctive: line 42
run at least one affected platform build/check when native files or permissions change.
- Very specific: line 43
test deep links, push/open flows, storage migration, or lifecycle paths on the relevant simulator/emulator/device.
- Distinctive: line 48
Do not add native capabilities or permissions without SRS/architecture coverage.
- Distinctive: line 49
Do not store tokens or secrets in plain async storage.
- Distinctive: line 50
Do not edit generated native files in Expo managed/prebuild projects unless that is the established project workflow.
- Distinctive: line 51
Do not let iOS and Android selector IDs diverge unless the instrumentation contract explicitly declares platform-specific IDs.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Native Platform Integration
When to use
Use this for React Native/Expo work that crosses the JS/native boundary: native modules, permissions, platform files, app config, deep links, push notifications, background tasks, secure storage, lifecycle hooks, or iOS/Android-specific behavior. Load it alongside react-native-implementation.
Inputs and outputs
- Inputs: SRS/architecture permission and platform requirements, API contracts, env configuration, existing Expo/bare RN setup, iOS/Android project files, current native module inventory.
- Outputs: platform changes that are approved by architecture, configured per environment, covered by smoke/build checks, and documented in task notes or deploy reports when QA/DevOps needs them.
Procedure
- Classify the runtime:
- Expo managed: prefer config plugins and Expo APIs already present;
- Expo prebuild: understand generated native files and project rules before editing;
- bare RN: edit native iOS/Android files directly only when the task requires it.
- Check authorization before changing platform capabilities:
- new permissions, native modules, background modes, push notifications, app groups, associated domains, and platform services require architecture/dependency approval;
- if the requirement is absent, halt with an OQ instead of silently adding capability.
- Implement environment-safe config:
- use SRS §3.4.6 keys and existing config loaders;
- keep dev/staging/prod endpoints out of source literals;
- expose only non-secret values to JS bundles.
- Keep permission UX complete:
- update iOS usage descriptions and Android permission declarations;
- provide user-facing rationale/copy where required by the feature;
- handle denied, restricted, unavailable, and recoverable states in UI.
- Isolate platform differences:
- use
.ios.tsx/.android.tsx, platform adapters, or config modules for real divergence; - keep shared UI unaware of native file details.
- use
- Verify platform behavior:
- run at least one affected platform build/check when native files or permissions change;
- test deep links, push/open flows, storage migration, or lifecycle paths on the relevant simulator/emulator/device;
- record any platform that could not be checked.
Hard rules
- Do not add native capabilities or permissions without SRS/architecture coverage.
- Do not store tokens or secrets in plain async storage.
- Do not edit generated native files in Expo managed/prebuild projects unless that is the established project workflow.
- Do not let iOS and Android selector IDs diverge unless the instrumentation contract explicitly declares platform-specific IDs.
References
../react-native-implementation/SKILL.md- baseline RN implementation discipline.../react-native-performance/SKILL.md- performance review for native bridge or platform-heavy changes.../third-party-dependency-evaluation/SKILL.md- dependency approval for native modules.../local-deployment/SKILL.md- deploy/env evidence consumed by QA.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

