react-native-implementation
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
React Native and Expo implementation guidance for FE Dev. Use after fe-framework-coding-standard selects React Native, when building or reviewing screens, components, navigation, state, styling, accessibility, selectors, and ordinary tests without changing native modules.
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-performanceSkill
- react-native-platform-integrationSkill
- 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
19 rules. About 0 are common, 11 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use this after fe-framework-coding-standard selects React Native for the task surface.
- Distinctive: line 30
Keep screen boundaries thin:
- Distinctive: line 38
Use project-native state and data patterns:
- Distinctive: line 39
do not add a store/query library for one task.
- Distinctive: line 41
keep optimistic updates reversible and user-visible on failure.
- Very specific: line 45
use Pressable or project button components for interactions.
- Very specific: line 46
use FlatList / SectionList for dynamic or large lists with stable keys and empty/refresh states.
- Distinctive: line 47
Add accessibility and instrumentation:
- Very specific: line 48
use accessibilityRole, accessibilityLabel, and accessibilityHint when visible content is insufficient.
- Very specific: line 49
add testID values only from docs/instrumentation-contract.md.
- Distinctive: line 50
keep a minimum 44 x 44 logical pixel touch target unless the project standard is stricter.
- Distinctive: line 52
update Jest / React Native Testing Library tests for rendering, validation, and state transitions.
- Very specific: line 53
update Detox/Maestro only when the task changes a critical flow, following ui-test-execution.
- Distinctive: line 54
run the project's lint, typecheck, Jest, and relevant platform build/test command when touched files require it.
- Very specific: line 58
Do not mix routing approaches or introduce a new state/styling/test framework without an approved ADR.
- Distinctive: line 59
Do not hardcode API URLs, environment names, platform domains, secrets, or selector IDs.
- Very specific: line 60
Do not scatter Platform.OS branches through UI trees when a platform adapter or .ios.tsx / .android.tsx file is clearer.
- Distinctive: line 61
Do not use DOM APIs, browser-only globals, or CSS assumptions in shared React Native code.
- Distinctive: line 62
Do not close the task while any required manifest row is missing from source or tests.
≈ “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 Implementation
When to use
Use this after fe-framework-coding-standard selects React Native for the task surface. This is the default React Native implementation skill for UI, state, navigation, styling, accessibility, instrumentation, and normal component/unit test work.
For native modules, permissions, deep links, app config, or platform files, also load react-native-platform-integration. For large lists, image-heavy screens, animations, slow interactions, startup, or memory issues, also load react-native-performance.
Inputs and outputs
- Inputs: task file, SRS
Frontend-Framework:and §3.4.5 source layout, §3.4.6 frontend env keys, design handoff, Design Element Manifest, visual spec, instrumentation contract, API contracts, current RN/Expo source tree. - Outputs: React Native/Expo code that fits the existing app architecture, implements every manifest row, uses declared runtime config, exposes stable selectors, preserves accessibility, and updates relevant unit/component tests.
Procedure
- Identify the app shape before editing:
- Expo managed / Expo prebuild / bare React Native;
- routing: Expo Router, React Navigation, or project wrapper;
- state: project server-state and client-state libraries;
- styling: design system, tokens, StyleSheet, NativeWind, Tamagui, Dripsy, Restyle, or local convention.
- Keep screen boundaries thin:
- screens own route params, navigation, permissions, data loading, and orchestration;
- feature components render manifest sections and emit typed events;
- hooks/services own reusable data access and side effects.
- Implement from the Design Element Manifest:
- render every field, label, placeholder, action, state copy, list/card item, and modal/toast row;
- preserve Figma order unless product behavior requires a documented deviation;
- include loading, empty, validation error, recoverable error, disabled, permission-denied, and optimistic rollback states where applicable.
- Use project-native state and data patterns:
- do not add a store/query library for one task;
- guard stale async results when route params change or screens unmount;
- keep optimistic updates reversible and user-visible on failure;
- store only durable preferences in async storage and secrets only in approved secure storage.
- Build mobile-safe UI:
- handle safe areas, status bars, keyboard overlap, home indicators, scroll insets, orientation, and text scaling;
- use
Pressableor project button components for interactions; - use
FlatList/SectionListfor dynamic or large lists with stable keys and empty/refresh states.
- Add accessibility and instrumentation:
- use
accessibilityRole,accessibilityLabel, andaccessibilityHintwhen visible content is insufficient; - add
testIDvalues only fromdocs/instrumentation-contract.md; - keep a minimum 44 x 44 logical pixel touch target unless the project standard is stricter.
- use
- Test and verify:
- update Jest / React Native Testing Library tests for rendering, validation, and state transitions;
- update Detox/Maestro only when the task changes a critical flow, following
ui-test-execution; - run the project's lint, typecheck, Jest, and relevant platform build/test command when touched files require it.
Hard rules
- Do not mix routing approaches or introduce a new state/styling/test framework without an approved ADR.
- Do not hardcode API URLs, environment names, platform domains, secrets, or selector IDs.
- Do not scatter
Platform.OSbranches through UI trees when a platform adapter or.ios.tsx/.android.tsxfile is clearer. - Do not use DOM APIs, browser-only globals, or CSS assumptions in shared React Native code.
- Do not close the task while any required manifest row is missing from source or tests.
References
../fe-framework-coding-standard/SKILL.md- framework router and universal FE rules.../react-native-performance/SKILL.md- React Native render, list, image, animation, and startup performance.../react-native-platform-integration/SKILL.md- native modules, permissions, deep links, app config, storage, and platform files.../ui-test-execution/SKILL.md- Detox/Maestro selector, fixture, determinism, and reporting rules.
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.

